AdsApp.VideoParentalStatusBuilder
Stay organized with collections
Save and categorize content based on your preferences.
Builder for
VideoParentalStatus
objects.
Example usage:
var videoParentalStatusBuilder = videoAdGroup
.videoTargeting()
.newParentalStatusBuilder();
var videoParentalStatusOperation = videoParentalStatusBuilder
.withParentType('PARENT_PARENT') // required
.build(); // create the parental status
Methods:
build()
Builds the video parental status. Returns a
VideoParentalStatusOperation that corresponds to the creation of the
VideoParentalStatus.
Return values:
exclude()
Builds the excluded video parental status. Returns an
ExcludedVideoParentalStatusOperation that corresponds to the creation of the
ExcludedVideoParentalStatus.
Return values:
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:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[[["The `VideoParentalStatusBuilder` is used to create or exclude video parental status targeting for video ad groups."],["It provides methods like `build()` to create a `VideoParentalStatus` and `exclude()` to create an `ExcludedVideoParentalStatus`."],["The `withParentType()` method allows specifying the target parental status type (e.g., 'PARENT_PARENT', 'PARENT_NOT_A_PARENT')."]]],[]]