AdsApp.​ExcludedVideoParentalStatus

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

Methods:

MemberTypeDescription
getEntityTypeStringReturns the type of this entity as a String, in this case, "ExcludedVideoParentalStatus".
getIdStringReturns the ID of the excluded video parental status.
getParentTypeStringReturns the parental status type.
getResourceNameStringReturns the resource name of the excluded video parental status.
getVideoAdGroupAdsApp.VideoAdGroupReturns 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.
getVideoCampaignAdsApp.VideoCampaignReturns the campaign to which this excluded video parental status belongs.
includevoidEnable 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
StringType of this entity: "ExcludedVideoParentalStatus".

getId()

Returns the ID of the excluded video parental status.

Return values:

TypeDescription
StringThe 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
StringThe parental status type.

getResourceName()

Returns the resource name of the excluded video parental status.

Return values:

TypeDescription
StringThe 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.VideoAdGroupThe 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.VideoCampaignThe campaign to which this excluded video parental status belongs.

include()

Enable this excluded video parental status in the ad group.

Returns nothing.