AdsApp.​VideoAdBuilderSpace

  • The VideoAdBuilderSpace is the starting point for creating a video ad within a video ad group.

  • You can use specific builder methods like inStreamAdBuilder() to create different types of video ads.

  • The documentation provides details on various ad builder methods and their return types.

  • The videoDiscoveryAdBuilder() is deprecated and should be replaced with inFeedAdBuilder() .

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:

Member Type Description
AdsApp.BumperAdBuilder Returns a new bumper ad builder associated with the ad group.
AdsApp.InFeedAdBuilder Returns a new in-feed video ad builder associated with the ad group.
AdsApp.InStreamAdBuilder Returns a new In-stream video ad builder associated with the ad group.
AdsApp.NonSkippableAdBuilder Returns a new non-skippable ad builder associated with the ad group.
AdsApp.ResponsiveVideoAdBuilder Returns a new responsive video ad builder associated with the ad group.
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:

Type Description
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:

Type Description
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:

Type Description
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:

Type Description
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:

Type Description
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:

Type Description
AdsApp.InFeedAdBuilder A new video discovery ad builder associated with the ad group.
Design a Mobile Site
View Site in Mobile | Classic
Share by: