Page Summary
-
This is a builder for creating
VideoGenderobjects. -
The
build()method creates aVideoGenderOperation. -
The
exclude()method creates anExcludedVideoGenderOperationto exclude a gender. -
The
withGenderType()method sets the gender type for the builder.
Example usage:
var videoGenderBuilder = videoAdGroup . videoTargeting () . newGenderBuilder (); var videoGenderOperation = videoGenderBuilder . withGenderType ( 'GENDER_FEMALE' ) // required . build (); // create the gender
Methods:
| Member | Type | Description |
|---|---|---|
AdsApp.VideoGenderOperation
|
Builds the video gender. | |
AdsApp.ExcludedVideoGenderOperation
|
Builds the excluded video gender. | |
AdsApp.VideoGenderBuilder
|
Sets the gender type. |
build()
Builds the video gender. Returns a VideoGenderOperation
that corresponds to the creation of the VideoGender
. Return values:
| Type | Description |
|---|---|
AdsApp.VideoGenderOperation
|
The VideoGenderOperation. |
exclude()
Builds the excluded video gender. Returns an ExcludedVideoGenderOperation
that corresponds to the creation of the ExcludedVideoGender
. Return values:
| Type | Description |
|---|---|
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:
| Name | Type | Description |
|---|---|---|
|
genderType
|
String
|
The gender type. |
Return values:
| Type | Description |
|---|---|
AdsApp.VideoGenderBuilder
|
A VideoGenderBuilder with the specified gender type. |

