For example, to access all callouts added to the account:
var accountCalloutIterator = AdsApp.currentAccount().extensions().callouts().get(); while (accountCalloutIterator.hasNext()) { var accountCallout = accountCalloutIterator.next(); }
Methods:
| Member | Type | Description |
|---|---|---|
| callouts() | AdsApp.AccountCalloutSelector |
Returns the selector of all callouts added to the account. |
| mobileApps() | AdsApp.AccountMobileAppSelector |
Returns the selector of all mobile apps added to the account. |
| phoneNumbers() | AdsApp.AccountPhoneNumberSelector |
Returns the selector of all phone numbers added to the account. |
| prices() | AdsApp.AccountPriceSelector |
Returns the selector of all prices added to the account. |
| sitelinks() | AdsApp.AccountSitelinkSelector |
Returns the selector of all sitelinks added to the account. |
| snippets() | AdsApp.AccountSnippetSelector |
Returns the selector of all snippets added to the account. |
callouts()
Returns the selector of all callouts added to the account. Return values:
| Type | Description |
|---|---|
AdsApp.AccountCalloutSelector |
The selector of all callouts added to the account. |
mobileApps()
Returns the selector of all mobile apps added to the account. Return values:
| Type | Description |
|---|---|
AdsApp.AccountMobileAppSelector |
The selector of all mobile apps added to the account. |
phoneNumbers()
Returns the selector of all phone numbers added to the account. Return values:
| Type | Description |
|---|---|
AdsApp.AccountPhoneNumberSelector |
The selector of all phone numbers added to the account. |
prices()
Returns the selector of all prices added to the account. Return values:
| Type | Description |
|---|---|
AdsApp.AccountPriceSelector |
The selector of all prices added to the account. |
sitelinks()
Returns the selector of all sitelinks added to the account. Return values:
| Type | Description |
|---|---|
AdsApp.AccountSitelinkSelector |
The selector of all sitelinks added to the account. |
snippets()
Returns the selector of all snippets added to the account. Return values:
| Type | Description |
|---|---|
AdsApp.AccountSnippetSelector |
The selector of all snippets added to the account. |