AdsApp.​AccountExtensions

Access to account-level extensions.

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:

MemberTypeDescription
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:

TypeDescription
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:

TypeDescription
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:

TypeDescription
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:

TypeDescription
AdsApp.AccountPriceSelector The selector of all prices added to the account.
Returns the selector of all sitelinks added to the account.

Return values:

TypeDescription
AdsApp.AccountSitelinkSelector The selector of all sitelinks added to the account.

snippets()

Returns the selector of all snippets added to the account.

Return values:

TypeDescription
AdsApp.AccountSnippetSelector The selector of all snippets added to the account.