AdsApp.Extensions
Stay organized with collections
Save and categorize content based on your preferences.
Access to ad extensions that have been added to this account: Callout
, MobileApp
, PhoneNumber
, Sitelink
, Snippet
, and Price
. Methods:
callouts()
Returns the selector of all callouts in the account. Return values:
mobileApps()
Returns the selector of all mobile apps in the account. Return values:
newCalloutBuilder()
Returns a new callout builder for this account. Once builder.build()
is called, the callout will be created in this
account. Return values:
newMobileAppBuilder()
Returns a new mobile app builder for this account. Once builder.build()
or builder.create()
is called,
the mobile app will be created in this account. Return values:
newPhoneNumberBuilder()
Returns a new phone number builder for this account. Once builder.build()
or builder.create()
is called,
the phone number will be created in this account. Return values:
newPriceBuilder()
Returns a new price builder for this account. Once builder.build()
is called, the price will be created in this
account. Return values:
newPriceItemBuilder()
Returns a new price item builder for this account. Once builder.build()
or builder.create()
is called,
the price item will NOT be created in this account. In order to attach the
price item to the price extension, you must call price.addPriceItem()
. Return values:
newSitelinkBuilder()
Returns a new sitelink builder for this account. Once builder.build()
or builder.create()
is called,
the sitelink will be created in this account. Return values:
newSnippetBuilder()
Returns a new snippet builder for this account. Once builder.build()
or builder.create()
is called,
the snippet will be created in this account. Return values:
phoneNumbers()
Returns the selector of all phone numbers in the account. Return values:
prices()
Returns the selector of all prices in the account. Return values:
sitelinks()
Returns the selector of all sitelinks in the account. Return values:
snippets()
Returns the selector of all snippets in 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-09-03 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003eThis page provides access to and management of various ad extensions within your Google Ads account, such as callouts, mobile apps, phone numbers, sitelinks, snippets, and prices.\u003c/p\u003e\n"],["\u003cp\u003eYou can retrieve existing extensions using selectors like \u003ccode\u003ecallouts()\u003c/code\u003e, \u003ccode\u003emobileApps()\u003c/code\u003e, \u003ccode\u003ephoneNumbers()\u003c/code\u003e, \u003ccode\u003esitelinks()\u003c/code\u003e, \u003ccode\u003esnippets()\u003c/code\u003e, and \u003ccode\u003eprices()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eNew ad extensions can be created using builders like \u003ccode\u003enewCalloutBuilder()\u003c/code\u003e, \u003ccode\u003enewMobileAppBuilder()\u003c/code\u003e, \u003ccode\u003enewPhoneNumberBuilder()\u003c/code\u003e, \u003ccode\u003enewSitelinkBuilder()\u003c/code\u003e, \u003ccode\u003enewSnippetBuilder()\u003c/code\u003e, and \u003ccode\u003enewPriceBuilder()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThese builders provide methods to configure and ultimately create new instances of the respective extension types in your account, enhancing your ads with additional information and calls to action.\u003c/p\u003e\n"],["\u003cp\u003eNote that while \u003ccode\u003enewPriceItemBuilder()\u003c/code\u003e creates price items, they need to be explicitly attached to price extensions using \u003ccode\u003eprice.addPriceItem()\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]