Join us live onDiscord on the Google Advertising and Measurement Community server and onYouTube on February 26th at 10:00 AM EST! We will discuss the new features added in v23.1 of the Google Ads API.

smart_campaign_setting

  • Smart campaign settings allow you to configure various aspects of your Smart campaigns.

  • You can select fields from the campaign and customer resources along with the smart campaign setting resource.

  • The smart_campaign_setting resource includes fields for enabling lead forms on your business profile, specifying the advertising language, providing the business name and location, setting the landing page URL, and defining the phone number for the campaign.

Settings for configuring Smart campaigns.

Attributed resources
campaign
customer

Fields from the above resources may be selected along with this resource in your SELECT and WHERE clauses. These fieldswill not segment metrics in yourSELECT clause.

smart_campaign_setting.ad_optimized_business_profile_setting.include_lead_form

Field descriptionEnabling a lead form on your business profile enables prospective customers to contact your business by filling out a simple form, and you'll receive their information through email.
CategoryATTRIBUTE
Data TypeBOOLEAN
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

smart_campaign_setting.advertising_language_code

Field descriptionThe language code to advertise in from the set ofsupported language codes.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

smart_campaign_setting.business_name

Field descriptionThe name of the business.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

smart_campaign_setting.business_profile_location

Field descriptionThe resource name of a Business Profile location. Business Profile location resource names can be fetched through the Business Profile API and adhere to the following format:locations/{locationId}. See theBusiness Profile API for additional details.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

smart_campaign_setting.campaign

Field descriptionOutput only. The campaign to which these settings apply.
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

smart_campaign_setting.final_url

Field descriptionThe user-provided landing page URL for this Campaign.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

smart_campaign_setting.phone_number.country_code

Field descriptionUpper-case, two-letter country code as defined by ISO-3166.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

smart_campaign_setting.phone_number.phone_number

Field descriptionPhone number of the smart campaign.
CategoryATTRIBUTE
Data TypeSTRING
Type URLN/A
FilterableTrue
SelectableTrue
SortableTrue
RepeatedFalse

smart_campaign_setting.resource_name

Field descriptionImmutable. The resource name of the Smart campaign setting. Smart campaign setting resource names have the form:customers/{customer_id}/smartCampaignSettings/{campaign_id}
CategoryATTRIBUTE
Data TypeRESOURCE_NAME
Type URLN/A
FilterableTrue
SelectableTrue
SortableFalse
RepeatedFalse

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-29 UTC.