---
title: "POST /v23/customers/{+customerId}/smartCampaignSettings:mutate"
method: POST
path: "/v23/customers/{+customerId}/smartCampaignSettings:mutate"
tags: ["customers"]
---

# POST /v23/customers/{+customerId}/smartCampaignSettings:mutate

`POST /v23/customers/{+customerId}/smartCampaignSettings:mutate`

Updates Smart campaign settings for campaigns.

## Path parameters

- `customerId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesMutateSmartCampaignSettingsRequest — Request message for SmartCampaignSettingService.MutateSmartCampaignSettings.
  - `partialFailure` boolean — If true, successful operations will be carried out and invalid operations will return errors. If false, all operations will be carried out in one transaction if and only if they are all valid. Default is false.
  - `operations` GoogleAdsSearchads360V23ServicesSmartCampaignSettingOperation[] — Required. The list of operations to perform on individual Smart campaign settings.
    - `updateMask` string, google-fieldmask — FieldMask that determines which resource fields are modified in an update.
    - `update` GoogleAdsSearchads360V23ResourcesSmartCampaignSetting — Settings for configuring Smart campaigns.
      - `campaign` string — Output only. The campaign to which these settings apply.
      - `businessName` string — The name of the business.
      - `finalUrl` string — The user-provided landing page URL for this Campaign.
      - `businessProfileLocation` string — 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] (https://developers.google.com/my-business/reference/businessinformation/rest/v1/accounts.locations) for additional details.
      - `resourceName` string — Immutable. The resource name of the Smart campaign setting. Smart campaign setting resource names have the form: `customers/{customer_id}/smartCampaignSettings/{campaign_id}`
      - `phoneNumber` GoogleAdsSearchads360V23ResourcesSmartCampaignSettingPhoneNumber — Phone number and country code in smart campaign settings.
        - `phoneNumber` string — Phone number of the smart campaign.
        - `countryCode` string — Upper-case, two-letter country code as defined by ISO-3166.
      - `advertisingLanguageCode` string — The language code to advertise in from the set of [supported language codes] (https://developers.google.com/google-ads/api/reference/data/codes-formats#languages).
      - `adOptimizedBusinessProfileSetting` GoogleAdsSearchads360V23ResourcesSmartCampaignSettingAdOptimizedBusinessProfileSetting — Settings for configuring a business profile optimized for ads as this campaign's landing page.
        - `includeLeadForm` boolean — 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.
  - `responseContentType` 'UNSPECIFIED' | 'RESOURCE_NAME_ONLY' | 'MUTABLE_RESOURCE' — The response content type setting. Determines whether the mutable resource or just the resource name should be returned post mutation.
  - `validateOnly` boolean — If true, the request is validated but not executed. Only errors are returned, not results.

## Response `200`

Successful response

---

[API](https://skmtc.net/google/apis/searchads360.md) · [All operations](https://skmtc.net/google/apis/searchads360/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/google/searchads360/versions/40d087435afd/schema)
