AdsApp.​VideoGenderBuilder

Builder for VideoGender objects.

Example usage:

var videoGenderBuilder = videoAdGroup.videoTargeting().newGenderBuilder();
var videoGenderOperation = videoGenderBuilder
  .withGenderType('GENDER_FEMALE')     // required
  .build();                            // create the gender

Methods:

MemberTypeDescription
build AdsApp.VideoGenderOperation Builds the video gender.
exclude AdsApp.ExcludedVideoGenderOperation Builds the excluded video gender.
withGenderType AdsApp.VideoGenderBuilder Sets the gender type.

build()

Builds the video gender. Returns a VideoGenderOperation that corresponds to the creation of the VideoGender.

Return values:

TypeDescription
AdsApp.VideoGenderOperation The VideoGenderOperation.

exclude()

Builds the excluded video gender. Returns an ExcludedVideoGenderOperation that corresponds to the creation of the ExcludedVideoGender.

Return values:

TypeDescription
AdsApp.ExcludedVideoGenderOperation The ExcludedVideoGenderOperation.

withGenderType(genderType)

Sets the gender type. Gender type can be the following values:

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

Arguments:

NameTypeDescription
genderType String The gender type.

Return values:

TypeDescription
AdsApp.VideoGenderBuilder A VideoGenderBuilder with the specified gender type.