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

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

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

## Request

- Base URL: `https://searchads360.googleapis.com`
- URL: `https://searchads360.googleapis.com/v23/customers/{customersId}/customConversionGoals: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/customConversionGoals:mutate/post.ts> (a function with typed inputs; its response is checked against the schema)

Creates, updates or removes custom conversion goals. Operation statuses are returned.

## Path parameters

- `customersId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsRequest: Request message for CustomConversionGoalService.MutateCustomConversionGoals.
  - `operations` GoogleAdsSearchads360V23ServicesCustomConversionGoalOperation[]: Required. The list of operations to perform on individual custom conversion goal.
    - `create` GoogleAdsSearchads360V23ResourcesCustomConversionGoal: Custom conversion goal that can make arbitrary conversion actions biddable.
      - `conversionActions` string[]: Conversion actions that the custom conversion goal makes biddable.
      - `id` string, int64: Immutable. The ID for this custom conversion goal.
      - `name` string: The name for this custom conversion goal.
      - `resourceName` string: Immutable. The resource name of the custom conversion goal. Custom conversion goal resource names have the form: `customers/{customer_id}/customConversionGoals/{goal_id}`
      - `status` 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVED': The status of the custom conversion goal.
    - `remove` string: Remove operation: A resource name for the removed custom conversion goal is expected, in this format: 'customers/{customer_id}/customConversionGoals/{goal_id}'
    - `update` GoogleAdsSearchads360V23ResourcesCustomConversionGoal: Custom conversion goal that can make arbitrary conversion actions biddable.
      - `conversionActions` string[]: Conversion actions that the custom conversion goal makes biddable.
      - `id` string, int64: Immutable. The ID for this custom conversion goal.
      - `name` string: The name for this custom conversion goal.
      - `resourceName` string: Immutable. The resource name of the custom conversion goal. Custom conversion goal resource names have the form: `customers/{customer_id}/customConversionGoals/{goal_id}`
      - `status` 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVED': The status of the custom conversion goal.
    - `updateMask` string, google-fieldmask: FieldMask that determines which resource fields are modified in an update.
  - `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

- GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalsResponse: Response message for a custom conversion goal mutate.
  - `results` GoogleAdsSearchads360V23ServicesMutateCustomConversionGoalResult[]: All results for the mutate.
    - `customConversionGoal` GoogleAdsSearchads360V23ResourcesCustomConversionGoal: Custom conversion goal that can make arbitrary conversion actions biddable.
      - `conversionActions` string[]: Conversion actions that the custom conversion goal makes biddable.
      - `id` string, int64: Immutable. The ID for this custom conversion goal.
      - `name` string: The name for this custom conversion goal.
      - `resourceName` string: Immutable. The resource name of the custom conversion goal. Custom conversion goal resource names have the form: `customers/{customer_id}/customConversionGoals/{goal_id}`
      - `status` 'UNSPECIFIED' | 'UNKNOWN' | 'ENABLED' | 'REMOVED': The status of the custom conversion goal.
    - `resourceName` string: Returned for successful operations.

---

[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)
