AdWordsApp.​YouTubeVideoBuilder

Builder for YouTubeVideo objects.

Example usage:

 var youTubeVideoBuilder = adGroup.display().newYouTubeVideoBuilder();
 var youTubeVideoOperation = youTubeVideoBuilder
   .withVideoId('_YUugB4IUl4')      // required
   .build();                        // create the YouTube video

Methods:

MemberTypeDescription
build void
exclude void
withCpc AdWordsApp.YouTubeVideoBuilder Sets the max CPC bid of the new YouTube video to the specified value.
withCpm AdWordsApp.YouTubeVideoBuilder Sets the CPM bid of the new YouTube video to the specified value.
withVideoId AdWordsApp.YouTubeVideoBuilder Sets the YouTube video ID.

build()

Returns nothing.

exclude()

Returns nothing.

withCpc(cpc)

Sets the max CPC bid of the new YouTube video to the specified value.

Arguments:

NameTypeDescription
cpc double The max CPC bid of the YouTube video.

Return values:

TypeDescription
AdWordsApp.YouTubeVideoBuilder The YouTube video builder with the specified max CPC.

withCpm(cpm)

Sets the CPM bid of the new YouTube video to the specified value.

See Cost-per-thousand impressions (CPM) for more information.

Arguments:

NameTypeDescription
cpm double The CPM bid of the YouTube video.

Return values:

TypeDescription
AdWordsApp.YouTubeVideoBuilder The YouTube video builder with the specified CPM.

withVideoId(videoId)

Sets the YouTube video ID. This field is required.

Arguments:

NameTypeDescription
videoId String The YouTube video ID.

Return values:

TypeDescription
AdWordsApp.YouTubeVideoBuilder A YouTubeVideoBuilder with the specified video ID.

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

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