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.
messages AdsApp.AccountMessageSelector Returns the selector of all messages 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.
reviews AdsApp.AccountReviewSelector Returns the selector of all reviews 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.

messages()

Returns the selector of all messages added to the account

Return values:

TypeDescription
AdsApp.AccountMessageSelector The selector of all messages 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.

reviews()

Returns the selector of all reviews added to the account.

Return values:

TypeDescription
AdsApp.AccountReviewSelector The selector of all reviews 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.

Оставить отзыв о...

Текущей странице
Google Ads scripts
Google Ads scripts
Нужна помощь? Обратитесь в службу поддержки.