AI-generated Key Takeaways
-
The
VideoParentalStatusBuilderis used to createVideoParentalStatusobjects. -
You can build a video parental status using the
build()method. -
The
exclude()method builds an excluded video parental status. -
The
withParentType()method sets the parental status type, which can bePARENT_PARENT,PARENT_NOT_A_PARENT, orPARENT_UNDETERMINED.
Example usage:
var videoParentalStatusBuilder = videoAdGroup .videoTargeting() .newParentalStatusBuilder(); var videoParentalStatusOperation = videoParentalStatusBuilder .withParentType('PARENT_PARENT') // required .build(); // create the parental status
Methods:
| Member | Type | Description |
|---|---|---|
| build() | AdsApp.VideoParentalStatusOperation |
Builds the video parental status. |
| exclude() | AdsApp.ExcludedVideoParentalStatusOperation |
Builds the excluded video parental status. |
| withParentType(parentalStatus) | AdsApp.VideoParentalStatusBuilder |
Sets the parental status type. |
build()
Builds the video parental status. Returns a
VideoParentalStatusOperation that corresponds to the creation of the VideoParentalStatus. Return values:
| Type | Description |
|---|---|
AdsApp.VideoParentalStatusOperation |
The VideoParentalStatusOperation. |
exclude()
Builds the excluded video parental status. Returns an
ExcludedVideoParentalStatusOperation that corresponds to the creation of the ExcludedVideoParentalStatus. Return values:
| Type | Description |
|---|---|
AdsApp.ExcludedVideoParentalStatusOperation |
The ExcludedVideoParentalStatusOperation. |
withParentType(parentalStatus)
Sets the parental status type. Parental status can be the following values:
PARENT_PARENT, PARENT_NOT_A_PARENT, PARENT_UNDETERMINED.
More details can be found on Parental
status.
Arguments:
| Name | Type | Description |
|---|---|---|
| parentalStatus | String |
The parental status type. |
Return values:
| Type | Description |
|---|---|
AdsApp.VideoParentalStatusBuilder |
A VideoParentalStatusBuilder with the specified parental status. |