---
title: "POST /v23/customers/{customersId}/searchAds360Campaigns:mutate"
method: POST
path: "/v23/customers/{customersId}/searchAds360Campaigns:mutate"
tags: ["customers"]
---

# POST /v23/customers/{customersId}/searchAds360Campaigns:mutate

`POST /v23/customers/{customersId}/searchAds360Campaigns:mutate`

## Request

- Base URL: `https://searchads360.googleapis.com`
- URL: `https://searchads360.googleapis.com/v23/customers/{customersId}/searchAds360Campaigns:mutate`
- Auth: OAuth 2 and OAuth 2
  - Implicit: `https://accounts.google.com/o/oauth2/auth`
  - Scopes: `https://www.googleapis.com/auth/doubleclicksearch`
  - Authorization code: `https://accounts.google.com/o/oauth2/auth`
  - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/doubleclicksearch`
- TypeScript: <https://skmtc.dev/google/apis/searchads360/docs/v23/customers/:customersId/searchAds360Campaigns:mutate/post.ts> (a function with typed inputs; its response is checked against the schema)

Updates Search Ads 360 campaigns. Operation statuses are returned. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [HeaderError]() [InternalError]() [MutateError]() [QuotaError]() [RequestError]()

## Path parameters

- `customersId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsRequest: Request message for SearchAds360CampaignService.MutateSearchAds360Campaigns.
  - `operations` GoogleAdsSearchads360V23ServicesSearchAds360CampaignOperation[]: Required. The list of operations to perform on individual Search Ads 360 campaigns.
    - `update` GoogleAdsSearchads360V23ResourcesSearchAds360Campaign: A Search Ads 360 campaign.
      - `productAttributionFilterType` 'UNSPECIFIED' | 'UNKNOWN' | 'INHERIT' | 'MANUAL' | 'AUTO_BRAND': The type of product attribution filtering to apply to this campaign.
      - `resourceName` string: Immutable. The resource name of the Search Ads 360 campaign. Search Ads 360 campaign resource names have the form: `customers/{customer_id}/searchAds360Campaigns/{campaign_id}`
    - `updateMask` string, google-fieldmask: FieldMask that determines which resource fields are modified in an update.
  - `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.
  - `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

- GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignsResponse: Response message for Search Ads 360 campaign mutate.
  - `results` GoogleAdsSearchads360V23ServicesMutateSearchAds360CampaignResult[]: All results for the mutate.
    - `resourceName` string: Returned for successful operations.
    - `searchAds360Campaign` GoogleAdsSearchads360V23ResourcesSearchAds360Campaign: A Search Ads 360 campaign.
      - `productAttributionFilterType` 'UNSPECIFIED' | 'UNKNOWN' | 'INHERIT' | 'MANUAL' | 'AUTO_BRAND': The type of product attribution filtering to apply to this campaign.
      - `resourceName` string: Immutable. The resource name of the Search Ads 360 campaign. Search Ads 360 campaign resource names have the form: `customers/{customer_id}/searchAds360Campaigns/{campaign_id}`

---

[API](https://skmtc.dev/google/apis/searchads360.md) - [All operations](https://skmtc.dev/google/apis/searchads360/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/searchads360/revisions/4a4511f84b18?raw)
