AdsApp.​ExcludedVideoParentalStatus

Represents a Google Ads excluded Parental Status criterion in a Video Campaign.

Methods:

MemberTypeDescription
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:

TypeDescription
String Type of this entity: "ExcludedVideoParentalStatus".

getId()

Returns the ID of the excluded video parental status.

Return values:

TypeDescription
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:

TypeDescription
String The parental status type.

getResourceName()

Returns the resource name of the excluded video parental status.

Return values:

TypeDescription
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:

TypeDescription
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:

TypeDescription
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.