[<button style="margin-top:15px">Help me build a query</button>](https://developers.google.com/google-ads/api/fields/v26/smart_campaign_setting_query_builder) [<button style="margin-top:15px">Proto definition ![GitHub](https://developers.google.com/site-assets/logo-github.svg)</button>](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v26/resources/smart_campaign_setting.proto)

Settings for configuring Smart campaigns.

| Attributed resources |
|---|
| [campaign](https://developers.google.com/google-ads/api/fields/v26/campaign) |
| [customer](https://developers.google.com/google-ads/api/fields/v26/customer) |

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.

## 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.
Category`ATTRIBUTE` Data Type`BOOLEAN` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[smart_campaign_setting](https://developers.google.com/google-ads/api/fields/v26/smart_campaign_setting)

## smart_campaign_setting.advertising_language_code

Field descriptionThe language code to advertise in from the set of
[supported language codes](https://developers.google.com/google-ads/api/reference/data/codes-formats#languages).
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[smart_campaign_setting](https://developers.google.com/google-ads/api/fields/v26/smart_campaign_setting)

## smart_campaign_setting.business_name

Field descriptionThe name of the business.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[smart_campaign_setting](https://developers.google.com/google-ads/api/fields/v26/smart_campaign_setting)

## 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 the [Business Profile API](https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations)
for additional details.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[smart_campaign_setting](https://developers.google.com/google-ads/api/fields/v26/smart_campaign_setting)

## smart_campaign_setting.campaign

Field descriptionOutput only. The campaign to which these settings apply.
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[smart_campaign_setting](https://developers.google.com/google-ads/api/fields/v26/smart_campaign_setting)

## smart_campaign_setting.final_url

Field descriptionThe user-provided landing page URL for this Campaign.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[smart_campaign_setting](https://developers.google.com/google-ads/api/fields/v26/smart_campaign_setting)

## smart_campaign_setting.phone_number.country_code

Field descriptionUpper-case, two-letter country code as defined by ISO-3166.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[smart_campaign_setting](https://developers.google.com/google-ads/api/fields/v26/smart_campaign_setting)

## smart_campaign_setting.phone_number.phone_number

Field descriptionPhone number of the smart campaign.
Category`ATTRIBUTE` Data Type`STRING` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[smart_campaign_setting](https://developers.google.com/google-ads/api/fields/v26/smart_campaign_setting)

## 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}`
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableFalse RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[smart_campaign_setting](https://developers.google.com/google-ads/api/fields/v26/smart_campaign_setting)