AdsApp.AdBuilderSpace
Stay organized with collections
Save and categorize content based on your preferences.
Starting point for creating an ad in an ad group.
Typical usage:
var adOperation = adGroup.newAd().responsiveSearchAdBuilder()
.withHeadlines(["Headline 1", "Headline 2", "Headline 3"])
.withDescriptions(["Description 1", "Description 2"])
.withFinalUrl("http://www.example.com")
.build();
var ad = adOperation.getResult();
Methods:
imageAdBuilder()
Returns a new image ad builder associated with the ad group.
Return values:
responsiveDisplayAdBuilder()
Returns a new responsive Display ad builder associated with the ad group.
Return values:
responsiveSearchAdBuilder()
Returns a new responsive Search 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-04-15 UTC.
[null,null,["Last updated 2026-04-15 UTC."],[],[]]