Send feedback
smart_campaign_setting
Stay organized with collections
Save and categorize content based on your preferences.
outlined_flag
Smart campaign settings configure Smart campaigns and can be queried using the provided tool.
Attributed resources include campaign and customer, whose fields can be selected but will not segment metrics.
You can enable a lead form on your business profile to receive customer information via email.
You can specify the advertising language code, business name, and a Business Profile location for your Smart campaign.
Key fields for Smart campaign settings include the campaign resource name, final URL, and phone number details.
Help me build a query
Proto definition
Settings for configuring Smart campaigns.
Fields from the above resources may be selected along with this
resource in your SELECT and WHERE clauses. These fields will not segment
metrics in your SELECT clause.
Field description Enabling 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.
Category ATTRIBUTE
Data Type BOOLEAN
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
smart_campaign_setting.advertising_language_code
Field description The language code to advertise in from the set of
supported language codes .
Category ATTRIBUTE
Data Type STRING
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
smart_campaign_setting.business_name
Field description The name of the business.
Category ATTRIBUTE
Data Type STRING
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
smart_campaign_setting.business_profile_location
Field description The 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 the Business Profile API
for additional details.
Category ATTRIBUTE
Data Type STRING
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
smart_campaign_setting.campaign
Field description Output only. The campaign to which these settings apply.
Category ATTRIBUTE
Data Type RESOURCE_NAME
Type URL N/A
Filterable True
Selectable True
Sortable False
Repeated False
smart_campaign_setting.final_url
Field description The user-provided landing page URL for this Campaign.
Category ATTRIBUTE
Data Type STRING
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
smart_campaign_setting.phone_number.country_code
Field description Upper-case, two-letter country code as defined by ISO-3166.
Category ATTRIBUTE
Data Type STRING
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
smart_campaign_setting.phone_number.phone_number
Field description Phone number of the smart campaign.
Category ATTRIBUTE
Data Type STRING
Type URL N/A
Filterable True
Selectable True
Sortable True
Repeated False
smart_campaign_setting.resource_name
Field description Immutable. The resource name of the Smart campaign setting.
Smart campaign setting resource names have the form:
customers/{customer_id}/smartCampaignSettings/{campaign_id}
Category ATTRIBUTE
Data Type RESOURCE_NAME
Type URL N/A
Filterable True
Selectable True
Sortable False
Repeated False
Send feedback
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 2026-05-28 UTC.
Need to tell us more?
[[["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 2026-05-28 UTC."],[],[]]