Builder for
VideoYouTubeVideo
objects.
Example usage:
var videoYouTubeVideoBuilder = videoAdGroup
.videoTargeting()
.newYouTubeVideoBuilder();
var videoYouTubeVideoOperation = videoYouTubeVideoBuilder
.withVideoId('_YUugB4IUl4') // required
.build(); // create the YouTube video
Methods:
build()
Builds the video YouTube video. Returns a
VideoYouTubeVideoOperation that corresponds to the creation of the
VideoYouTubeVideo.
Return values:
exclude()
Builds the excluded video YouTube video. Returns an
ExcludedVideoYouTubeVideoOperation that corresponds to the creation of the
ExcludedVideoYouTubeVideo.
Return values:
withVideoId(videoId)
Sets the YouTube video ID. This field is required.
Arguments:
Name | Type | Description |
videoId |
String |
The YouTube video ID. |
Return values: