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
bumperAdBuilderAdsApp.BumperAdBuilderReturns a new bumper ad builder associated with the ad group.
inFeedAdBuilderAdsApp.InFeedAdBuilderReturns a new in-feed video ad builder associated with the ad group.
inStreamAdBuilderAdsApp.InStreamAdBuilderReturns a new In-stream video ad builder associated with the ad group.
nonSkippableAdBuilderAdsApp.NonSkippableAdBuilderReturns a new non-skippable ad builder associated with the ad group.
responsiveVideoAdBuilderAdsApp.ResponsiveVideoAdBuilderReturns a new responsive video ad builder associated with the ad group.
videoDiscoveryAdBuilderAdsApp.InFeedAdBuilderReturns 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.BumperAdBuilderA 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.InFeedAdBuilderA 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.InStreamAdBuilderA 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.NonSkippableAdBuilderA 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.ResponsiveVideoAdBuilderA 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.InFeedAdBuilderA new video discovery ad builder associated with the ad group.