AdsApp.VideoAdBuilderSpace
Stay organized with collections
Save and categorize content based on your preferences.
-
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.
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 2026-06-24 UTC.
[null,null,["Last updated 2026-06-24 UTC."],[],[]]