AdWordsApp.​VideoParentalStatusBuilder

Builder for VideoParentalStatus objects.

Example usage:

 var videoParentalStatusBuilder = videoAdGroup.videoTargeting().newParentalStatusBuilder();
 var videoParentalStatusOperation = videoParentalStatusBuilder
   .withParentType('PARENT_PARENT')     // required
   .build();                            // create the parental status

Methods:

MemberTypeDescription
build AdWordsApp.VideoParentalStatusOperation Builds the video parental status.
exclude AdWordsApp.ExcludedVideoParentalStatusOperation Builds the excluded video parental status.
withParentType AdWordsApp.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:

TypeDescription
AdWordsApp.VideoParentalStatusOperation The VideoParentalStatusOperation.

exclude()

Builds the excluded video parental status. Returns an VideoParentalStatusOperation that corresponds to the creation of the ExcludedVideoParentalStatus.

Return values:

TypeDescription
AdWordsApp.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 our Parental Status page. page.

Arguments:

NameTypeDescription
parentalStatus String The parental status type.

Return values:

TypeDescription
AdWordsApp.VideoParentalStatusBuilder A VideoParentalStatusBuilder with the specified parental status.

Оставить отзыв о...

Текущей странице
AdWords Scripts
AdWords Scripts
Нужна помощь? Обратитесь в службу поддержки.