AdsApp.AccountExtensions
Stay organized with collections
Save and categorize content based on your preferences.
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:
callouts()
Returns the selector of all callouts added to the account.
Return values:
mobileApps()
Returns the selector of all mobile apps added to the account.
Return values:
phoneNumbers()
Returns the selector of all phone numbers added to the account.
Return values:
prices()
Returns the selector of all prices added to the account.
Return values:
sitelinks()
Returns the selector of all sitelinks added to the account.
Return values:
snippets()
Returns the selector of all snippets added to the account.
Return values:
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-25 UTC.
[null,null,["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThis page focuses on providing access to account-level extensions within Google Ads scripts.\u003c/p\u003e\n"],["\u003cp\u003eIt outlines methods to retrieve selectors for various extension types, including callouts, mobile apps, phone numbers, prices, sitelinks, and snippets.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can use these selectors to access and manage account-level extensions programmatically.\u003c/p\u003e\n"],["\u003cp\u003eThe provided code example demonstrates how to iterate through all callouts associated with an account.\u003c/p\u003e\n"]]],[],null,["# AdsApp.AccountExtensions\n\nAccess to account-level extensions.\n\nFor example, to access all callouts added to the account:\n\n```gdscript\nvar accountCalloutIterator =\n AdsApp.currentAccount().extensions().callouts().get();\nwhile (accountCalloutIterator.hasNext()) {\n var accountCallout = accountCalloutIterator.next();\n}\n```\n\n### Methods:\n\n| Member | Type | Description |\n|---------------------------------|------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------|\n| [callouts()](#callouts) | [AdsApp.AccountCalloutSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_accountcalloutselector) | Returns the selector of all callouts added to the account. |\n| [mobileApps()](#mobileApps) | [AdsApp.AccountMobileAppSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_accountmobileappselector) | Returns the selector of all mobile apps added to the account. |\n| [phoneNumbers()](#phoneNumbers) | [AdsApp.AccountPhoneNumberSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_accountphonenumberselector) | Returns the selector of all phone numbers added to the account. |\n| [prices()](#prices) | [AdsApp.AccountPriceSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_accountpriceselector) | Returns the selector of all prices added to the account. |\n| [sitelinks()](#sitelinks) | [AdsApp.AccountSitelinkSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_accountsitelinkselector) | Returns the selector of all sitelinks added to the account. |\n| [snippets()](#snippets) | [AdsApp.AccountSnippetSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_accountsnippetselector) | Returns the selector of all snippets added to the account. |\n\n`callouts()`\n------------\n\nReturns the selector of all callouts added to the account.\n\n### Return values:\n\n| Type | Description |\n|----------------------------------------------------------------------------------------------------------|----------------------------------------------------|\n| [AdsApp.AccountCalloutSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_accountcalloutselector) | The selector of all callouts added to the account. |\n\n`mobileApps()`\n--------------\n\nReturns the selector of all mobile apps added to the account.\n\n### Return values:\n\n| Type | Description |\n|--------------------------------------------------------------------------------------------------------------|-------------------------------------------------------|\n| [AdsApp.AccountMobileAppSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_accountmobileappselector) | The selector of all mobile apps added to the account. |\n\n`phoneNumbers()`\n----------------\n\nReturns the selector of all phone numbers added to the account.\n\n### Return values:\n\n| Type | Description |\n|------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------|\n| [AdsApp.AccountPhoneNumberSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_accountphonenumberselector) | The selector of all phone numbers added to the account. |\n\n`prices()`\n----------\n\nReturns the selector of all prices added to the account.\n\n### Return values:\n\n| Type | Description |\n|------------------------------------------------------------------------------------------------------|--------------------------------------------------|\n| [AdsApp.AccountPriceSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_accountpriceselector) | The selector of all prices added to the account. |\n\n`sitelinks()`\n-------------\n\nReturns the selector of all sitelinks added to the account.\n\n### Return values:\n\n| Type | Description |\n|------------------------------------------------------------------------------------------------------------|-----------------------------------------------------|\n| [AdsApp.AccountSitelinkSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_accountsitelinkselector) | The selector of all sitelinks added to the account. |\n\n`snippets()`\n------------\n\nReturns the selector of all snippets added to the account.\n\n### Return values:\n\n| Type | Description |\n|----------------------------------------------------------------------------------------------------------|----------------------------------------------------|\n| [AdsApp.AccountSnippetSelector](/google-ads/scripts/docs/reference/adsapp/adsapp_accountsnippetselector) | The selector of all snippets added to the account. |"]]