AdWordsApp.​VideoYouTubeVideoBuilder

Builder for VideoYouTubeVideo objects.

Example usage:

 var videoYouTubeVideoBuilder = videoAdGroup.videoTargeting().newYouTubeVideoBuilder();
 var videoYouTubeVideoOperation = videoYouTubeVideoBuilder
   .withVideoId('_YUugB4IUl4')      // required
   .build();                        // create the YouTube video

Methods:

MemberTypeDescription
build AdWordsApp.VideoYouTubeVideoOperation Builds the video YouTube video.
exclude AdWordsApp.ExcludedVideoYouTubeVideoOperation Builds the excluded video YouTube video.
withVideoId AdWordsApp.VideoYouTubeVideoBuilder Sets the YouTube video ID.

build()

Builds the video YouTube video. Returns a VideoYouTubeVideoOperation that corresponds to the creation of the VideoYouTubeVideo.

Return values:

TypeDescription
AdWordsApp.VideoYouTubeVideoOperation The VideoYouTubeVideoOperation.

exclude()

Builds the excluded video YouTube video. Returns an VideoYouTubeVideoOperation that corresponds to the creation of the ExcludedVideoYouTubeVideo.

Return values:

TypeDescription
AdWordsApp.ExcludedVideoYouTubeVideoOperation The ExcludedVideoYouTubeVideoOperation.

withVideoId(videoId)

Sets the YouTube video ID. This field is required.

Arguments:

NameTypeDescription
videoId String The YouTube video ID.

Return values:

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

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

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