Page Summary
-
The provided content explains the starting point for creating an ad within an ad group.
-
It includes typical usage code demonstrating how to build an expanded text ad.
-
The page details methods for creating different ad types: expanded text, image, responsive display, and responsive search ads.
-
Each method returns a specific ad builder associated with the 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:
| Member | Type | Description |
|---|---|---|
AdsApp.ImageAdBuilder
|
Returns a new image ad builder associated with the ad group. | |
AdsApp.ResponsiveDisplayAdBuilder
|
Returns a new responsive Display ad builder associated with the ad group. | |
AdsApp.ResponsiveSearchAdBuilder
|
Returns a new responsive Search ad builder associated with the ad group. |
imageAdBuilder()
Returns a new image ad builder associated with the ad group. Return values:
| Type | Description |
|---|---|
AdsApp.ImageAdBuilder
|
A new image ad builder associated with the ad group. |
responsiveDisplayAdBuilder()
Returns a new responsive Display ad builder associated with the ad group. Return values:
| Type | Description |
|---|---|
AdsApp.ResponsiveDisplayAdBuilder
|
A new responsive Display ad builder associated with the ad group. |
responsiveSearchAdBuilder()
Returns a new responsive Search ad builder associated with the ad group. Return values:
| Type | Description |
|---|---|
AdsApp.ResponsiveSearchAdBuilder
|
A new responsive Search ad builder associated with the ad group. |

