AdsApp.ExcludedVideoParentalStatus
Stay organized with collections
Save and categorize content based on your preferences.
Represents a Google Ads excluded Parental Status criterion in a Video
Campaign.
Methods:
Member | Type | Description |
getEntityType() |
String |
Returns the type of this entity as a String , in this case,
"ExcludedVideoParentalStatus" . |
getId() |
String |
Returns the ID of the excluded video parental status. |
getParentType() |
String |
Returns the parental status type. |
getResourceName() |
String |
Returns the resource name of the excluded video parental status. |
getVideoAdGroup() |
AdsApp.VideoAdGroup |
Returns the ad group to which this excluded video parental status belongs, or
null if the
excluded video parental status is excluded at the campaign level. |
getVideoCampaign() |
AdsApp.VideoCampaign |
Returns the campaign to which this excluded video parental status belongs. |
include() |
void |
Enable this excluded video parental status in the ad group. |
getEntityType()
Returns the type of this entity as a
String
, in this case,
"ExcludedVideoParentalStatus"
.
Return values:
Type | Description |
String |
Type of this entity: "ExcludedVideoParentalStatus" . |
getId()
Returns the ID of the excluded video parental status.
Return values:
Type | Description |
String |
The ID of the excluded video parental status. |
getParentType()
Returns the parental status type. Possible return values:
PARENT_PARENT, PARENT_NOT_A_PARENT, PARENT_UNDETERMINED
.
More details can be found on Parental
status.
Return values:
Type | Description |
String |
The parental status type. |
getResourceName()
Returns the resource name of the excluded video parental status.
Return values:
Type | Description |
String |
The resource name of the excluded video parental status. |
getVideoAdGroup()
Returns the ad group to which this excluded video parental status belongs, or
null
if the
excluded video parental status is excluded at the campaign level.
Return values:
Type | Description |
AdsApp.VideoAdGroup |
The ad group to which this excluded video parental status belongs or
null . |
getVideoCampaign()
Returns the campaign to which this excluded video parental status belongs.
Return values:
Type | Description |
AdsApp.VideoCampaign |
The campaign to which this excluded video parental status belongs. |
include()
Enable this excluded video parental status in the ad group.
Returns nothing.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-25 UTC.
[null,null,["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eRepresents an excluded parental status criterion within Google Ads Video Campaigns, allowing advertisers to refine targeting.\u003c/p\u003e\n"],["\u003cp\u003eProvides methods to identify and manage excluded parental status, including retrieving ID, type, and associated campaign/ad group.\u003c/p\u003e\n"],["\u003cp\u003eAdvertisers can use this to prevent ads from showing to specific parental status audiences, such as parents or non-parents.\u003c/p\u003e\n"],["\u003cp\u003eOffers functionality to re-enable an excluded parental status using the \u003ccode\u003einclude()\u003c/code\u003e method.\u003c/p\u003e\n"]]],[],null,["# AdsApp.ExcludedVideoParentalStatus\n\nRepresents a Google Ads excluded Parental Status criterion in a Video Campaign.\n\n### Methods:\n\n| Member | Type | Description |\n|-----------------------------------------|----------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [getEntityType()](#getEntityType) | `String` | Returns the type of this entity as a `String`, in this case, `\"ExcludedVideoParentalStatus\"`. |\n| [getId()](#getId) | `String` | Returns the ID of the excluded video parental status. |\n| [getParentType()](#getParentType) | `String` | Returns the parental status type. |\n| [getResourceName()](#getResourceName) | `String` | Returns the resource name of the excluded video parental status. |\n| [getVideoAdGroup()](#getVideoAdGroup) | [AdsApp.VideoAdGroup](/google-ads/scripts/docs/reference/adsapp/adsapp_videoadgroup) | Returns the ad group to which this excluded video parental status belongs, or `null` if the excluded video parental status is excluded at the campaign level. |\n| [getVideoCampaign()](#getVideoCampaign) | [AdsApp.VideoCampaign](/google-ads/scripts/docs/reference/adsapp/adsapp_videocampaign) | Returns the campaign to which this excluded video parental status belongs. |\n| [include()](#include) | `void` | Enable this excluded video parental status in the ad group. |\n\n`getEntityType()`\n-----------------\n\nReturns the type of this entity as a `String`, in this case, `\"ExcludedVideoParentalStatus\"`.\n\n### Return values:\n\n| Type | Description |\n|----------|-------------------------------------------------------|\n| `String` | Type of this entity: `\"ExcludedVideoParentalStatus\"`. |\n\n`getId()`\n---------\n\nReturns the ID of the excluded video parental status.\n\n### Return values:\n\n| Type | Description |\n|----------|-----------------------------------------------|\n| `String` | The ID of the excluded video parental status. |\n\n`getParentType()`\n-----------------\n\nReturns the parental status type. Possible return values:\n\n`PARENT_PARENT, PARENT_NOT_A_PARENT, PARENT_UNDETERMINED`.\nMore details can be found on [Parental\nstatus](/google-ads/api/reference/data/codes-formats#parental-status).\n\n### Return values:\n\n| Type | Description |\n|----------|---------------------------|\n| `String` | The parental status type. |\n\n`getResourceName()`\n-------------------\n\nReturns the resource name of the excluded video parental status.\n\n### Return values:\n\n| Type | Description |\n|----------|----------------------------------------------------------|\n| `String` | The resource name of the excluded video parental status. |\n\n`getVideoAdGroup()`\n-------------------\n\nReturns the ad group to which this excluded video parental status belongs, or `null` if the excluded video parental status is excluded at the campaign level.\n\n### Return values:\n\n| Type | Description |\n|--------------------------------------------------------------------------------------|------------------------------------------------------------------------------|\n| [AdsApp.VideoAdGroup](/google-ads/scripts/docs/reference/adsapp/adsapp_videoadgroup) | The ad group to which this excluded video parental status belongs or `null`. |\n\n`getVideoCampaign()`\n--------------------\n\nReturns the campaign to which this excluded video parental status belongs.\n\n### Return values:\n\n| Type | Description |\n|----------------------------------------------------------------------------------------|--------------------------------------------------------------------|\n| [AdsApp.VideoCampaign](/google-ads/scripts/docs/reference/adsapp/adsapp_videocampaign) | The campaign to which this excluded video parental status belongs. |\n\n`include()`\n-----------\n\nEnable this excluded video parental status in the ad group.\n\nReturns nothing."]]