AdsApp.​AccountExtensions

  • You can access account-level extensions like callouts, mobile apps, phone numbers, prices, sitelinks, and snippets.

  • The documentation includes methods for accessing selectors for different types of account-level extensions.

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:

Member Type Description
AdsApp.AccountCalloutSelector Returns the selector of all callouts added to the account.
AdsApp.AccountMobileAppSelector Returns the selector of all mobile apps added to the account.
AdsApp.AccountPhoneNumberSelector Returns the selector of all phone numbers added to the account.
AdsApp.AccountPriceSelector Returns the selector of all prices added to the account.
AdsApp.AccountSitelinkSelector Returns the selector of all sitelinks added to the account.
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.
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.
Design a Mobile Site
View Site in Mobile | Classic
Share by: