For example, to access all sitelinks belonging to an ad group:
var adGroupSitelinkIterator = adGroup.extensions().sitelinks().get(); while (adGroupSitelinkIterator.hasNext()) { var adGroupSitelink = adGroupSitelinkIterator.next(); }
Methods:
Member | Type | Description |
---|---|---|
callouts | AdsApp. |
Returns the selector of all callouts in the ad group. |
mobileApps | AdsApp. |
Returns the selector of all mobile apps in the ad group. |
phoneNumbers | AdsApp. |
Returns the selector of all phone numbers in the ad group. |
prices | AdsApp. |
Returns the selector of all prices in the ad group. |
sitelinks | AdsApp. |
Returns the selector of all sitelinks in the ad group. |
snippets | AdsApp. |
Returns the selector of all snippets in the ad group. |
callouts()
Returns the selector of all callouts in the ad group. Return values:
Type | Description |
---|---|
AdsApp. |
The selector of all callouts in the ad group. |
mobileApps()
Returns the selector of all mobile apps in the ad group. Return values:
Type | Description |
---|---|
AdsApp. |
The selector of all mobile apps in the ad group. |
phoneNumbers()
Returns the selector of all phone numbers in the ad group. Return values:
Type | Description |
---|---|
AdsApp.AdGroupPhoneNumberSelector |
The selector of all phone numbers in the ad group. |
prices()
Returns the selector of all prices in the ad group. Return values:
Type | Description |
---|---|
AdsApp.AdGroupPriceSelector |
The selector of all prices in the ad group. |
sitelinks()
Returns the selector of all sitelinks in the ad group. Return values:
Type | Description |
---|---|
AdsApp.AdGroupSitelinkSelector |
The selector of all sitelinks in the ad group. |
snippets()
Returns the selector of all snippets in the ad group. Return values:
Type | Description |
---|---|
AdsApp.AdGroupSnippetSelector |
The selector of all snippets in the ad group. |