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-01-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["Represents an excluded parental status criterion within Google Ads Video Campaigns, allowing advertisers to refine targeting."],["Provides methods to identify and manage excluded parental status, including retrieving ID, type, and associated campaign/ad group."],["Advertisers can use this to prevent ads from showing to specific parental status audiences, such as parents or non-parents."],["Offers functionality to re-enable an excluded parental status using the `include()` method."]]],[]]