AdsApp.​VideoAdBuilderSpace

Starting point for creating a video ad in a video ad group.

Typical usage:

var videoAdOperation = videoAdGroup.newVideoAd().inStreamAdBuilder()
   .withVideo(video)
   .withAdName("Ad name")
   .withDisplayUrl("example.com")
   .withFinalUrl("http://www.example.com")
   .build();
var videoAd = videoAdOperation.getResult();

Methods:

MemberTypeDescription
bumperAdBuilder AdsApp.BumperAdBuilder Returns a new bumper ad builder associated with the ad group.
inFeedAdBuilder AdsApp.InFeedAdBuilder Returns a new in-feed video ad builder associated with the ad group.
inStreamAdBuilder AdsApp.InStreamAdBuilder Returns a new In-stream video ad builder associated with the ad group.
nonSkippableAdBuilder AdsApp.NonSkippableAdBuilder Returns a new non-skippable ad builder associated with the ad group.
responsiveVideoAdBuilder AdsApp.ResponsiveVideoAdBuilder Returns a new responsive video ad builder associated with the ad group.
videoDiscoveryAdBuilder AdsApp.InFeedAdBuilder Returns a new video discovery ad builder associated with the ad group.

bumperAdBuilder()

Returns a new bumper ad builder associated with the ad group.

Return values:

TypeDescription
AdsApp.BumperAdBuilder A new bumper ad builder associated with the ad group.

inFeedAdBuilder()

Returns a new in-feed video ad builder associated with the ad group.

Return values:

TypeDescription
AdsApp.InFeedAdBuilder A new in-feed video ad builder associated with the ad group.

inStreamAdBuilder()

Returns a new In-stream video ad builder associated with the ad group.

Return values:

TypeDescription
AdsApp.InStreamAdBuilder A new In-stream video ad builder associated with the ad group.

nonSkippableAdBuilder()

Returns a new non-skippable ad builder associated with the ad group.

Return values:

TypeDescription
AdsApp.NonSkippableAdBuilder A new non-skippable ad builder associated with the ad group.

responsiveVideoAdBuilder()

Returns a new responsive video ad builder associated with the ad group.

Return values:

TypeDescription
AdsApp.ResponsiveVideoAdBuilder A new responsive video ad builder associated with the ad group.

videoDiscoveryAdBuilder()

Returns a new video discovery ad builder associated with the ad group.

Return values:

TypeDescription
AdsApp.InFeedAdBuilder A new video discovery ad builder associated with the ad group.