Typical usage:
var adOperation = adGroup.newAd().expandedTextAdBuilder() .withHeadlinePart1("First headline of ad") .withHeadlinePart2("Second headline of ad") .withDescription("Ad description") .withPath1("path1") .withPath2("path2") .withFinalUrl("http://www.example.com") .build(); var ad = adOperation.getResult();
Methods:
Member | Type | Description |
---|---|---|
expandedTextAdBuilder | AdsApp.ExpandedTextAdBuilder |
Returns a new expanded text ad builder associated with the ad group. |
imageAdBuilder | AdsApp.ImageAdBuilder |
Returns a new image ad builder associated with the ad group. |
responsiveDisplayAdBuilder | AdsApp.ResponsiveDisplayAdBuilder |
Returns a new responsive Display ad builder associated with the ad group. |
responsiveSearchAdBuilder | AdsApp.ResponsiveSearchAdBuilder |
Returns a new responsive Search ad builder associated with the ad group. |
expandedTextAdBuilder()
Returns a new expanded text ad builder associated with the ad group. Return values:
Type | Description |
---|---|
AdsApp.ExpandedTextAdBuilder |
A new expanded text 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. |