AdsApp.VideoAdBuilderSpace
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
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:
bumperAdBuilder()
Returns a new bumper ad builder associated with the ad group.
Return values:
inFeedAdBuilder()
Returns a new in-feed video ad builder associated with the ad group.
Return values:
inStreamAdBuilder()
Returns a new In-stream video ad builder associated with the ad group.
Return values:
nonSkippableAdBuilder()
Returns a new non-skippable ad builder associated with the ad group.
Return values:
responsiveVideoAdBuilder()
Returns a new responsive video ad builder associated with the ad group.
Return values:
videoDiscoveryAdBuilder()
Returns a new video discovery ad builder associated with the ad group.
Deprecated. Use VideoAdBuilderSpace.inFeedAdBuilder .
'Video discovery ads' are now known as 'in-feed video ads'. Aside from
the name change, the ad format functions the same as before.
Return values:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-16 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-16 UTC."],[],[]]