AdsApp.​ExcludedVideoGender

Represents a Google Ads excluded Gender criterion in a Video Campaign.

Methods:

MemberTypeDescription
getEntityType String Returns the type of this entity as a String, in this case, "ExcludedVideoGender".
getGenderType String Returns the gender type.
getId String Returns the ID of the excluded video gender.
getResourceName String Returns the resource name of the excluded video gender.
getVideoAdGroup AdsApp.VideoAdGroup Returns the ad group to which this excluded video gender belongs, or null if the excluded video gender is excluded at the campaign level.
getVideoCampaign AdsApp.VideoCampaign Returns the campaign to which this excluded video gender belongs.
include void Enable this excluded video gender in the ad group.

getEntityType()

Returns the type of this entity as a String, in this case, "ExcludedVideoGender".

Return values:

TypeDescription
String Type of this entity: "ExcludedVideoGender".

getGenderType()

Returns the gender type. Possible return values:

GENDER_FEMALE, GENDER_MALE, GENDER_UNDETERMINED More details can be found on our Genders page.

Return values:

TypeDescription
String The gender type.

getId()

Returns the ID of the excluded video gender.

Return values:

TypeDescription
String The ID of the excluded video gender.

getResourceName()

Returns the resource name of the excluded video gender.

Return values:

TypeDescription
String The resource name of the excluded video gender.

getVideoAdGroup()

Returns the ad group to which this excluded video gender belongs, or null if the excluded video gender is excluded at the campaign level.

Return values:

TypeDescription
AdsApp.VideoAdGroup The ad group to which this excluded video gender belongs or null.

getVideoCampaign()

Returns the campaign to which this excluded video gender belongs.

Return values:

TypeDescription
AdsApp.VideoCampaign The campaign to which this excluded video gender belongs.

include()

Enable this excluded video gender in the ad group.

Returns nothing.