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

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

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

Creates or updates conversion custom variables. Operation statuses are returned. List of thrown errors: [AuthenticationError]() [AuthorizationError]() [ConversionCustomVariableError]() [DatabaseError]() [HeaderError]() [InternalError]() [QuotaError]() [RequestError]()

## Path parameters

- `customerId` string, required

## Request body

- GoogleAdsSearchads360V23ServicesMutateConversionCustomVariablesRequest — Request message for ConversionCustomVariableService.MutateConversionCustomVariables.
  - `validateOnly` boolean — If true, the request is validated but not executed. Only errors are returned, not results.
  - `operations` GoogleAdsSearchads360V23ServicesConversionCustomVariableOperation[] — Required. The list of operations to perform on individual conversion custom variables.
    - `updateMask` string, google-fieldmask — FieldMask that determines which resource fields are modified in an update.
    - `create` GoogleAdsSearchads360V23ResourcesConversionCustomVariable — A conversion custom variable. See "About custom Floodlight metrics and dimensions in the new Search Ads 360" at https://support.google.com/sa360/answer/13567857
      - `tag` string — Required. Immutable. The tag of the conversion custom variable. Tag should be unique and consist of a "u" character directly followed with a number less than ormequal to 100. For example: "u4".
      - `id` string, int64 — Output only. The ID of the conversion custom variable.
      - `ownerCustomer` string — Output only. The resource name of the customer that owns the conversion custom variable.
      - `resourceName` string — Immutable. The resource name of the conversion custom variable. Conversion custom variable resource names have the form: `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}`
      - `cardinality` 'UNSPECIFIED' | 'UNKNOWN' | 'BELOW_ALL_LIMITS' | 'EXCEEDS_SEGMENTATION_LIMIT_BUT_NOT_STATS_LIMIT' | 'APPROACHES_STATS_LIMIT' | 'EXCEEDS_STATS_LIMIT' — Output only. Cardinality of the conversion custom variable.
      - `floodlightConversionCustomVariableInfo` GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo — Information for Search Ads 360 Floodlight Conversion Custom Variables.
        - `floodlightVariableType` 'UNSPECIFIED' | 'UNKNOWN' | 'DIMENSION' | 'METRIC' | 'UNSET' — Output only. Floodlight variable type defined in Search Ads 360.
        - `floodlightVariableDataType` 'UNSPECIFIED' | 'UNKNOWN' | 'NUMBER' | 'STRING' — Output only. Floodlight variable data type defined in Search Ads 360.
      - `customColumnIds` string[] — Output only. The IDs of custom columns that use this conversion custom variable.
      - `status` 'UNSPECIFIED' | 'UNKNOWN' | 'ACTIVATION_NEEDED' | 'ENABLED' | 'PAUSED' — The status of the conversion custom variable for conversion event accrual.
      - `family` 'UNSPECIFIED' | 'UNKNOWN' | 'STANDARD' | 'FLOODLIGHT' — Output only. Family of the conversion custom variable.
      - `name` string — Required. The name of the conversion custom variable. Name should be unique. The maximum length of name is 100 characters. There should not be any extra spaces before and after.
    - `update` GoogleAdsSearchads360V23ResourcesConversionCustomVariable — A conversion custom variable. See "About custom Floodlight metrics and dimensions in the new Search Ads 360" at https://support.google.com/sa360/answer/13567857
      - `tag` string — Required. Immutable. The tag of the conversion custom variable. Tag should be unique and consist of a "u" character directly followed with a number less than ormequal to 100. For example: "u4".
      - `id` string, int64 — Output only. The ID of the conversion custom variable.
      - `ownerCustomer` string — Output only. The resource name of the customer that owns the conversion custom variable.
      - `resourceName` string — Immutable. The resource name of the conversion custom variable. Conversion custom variable resource names have the form: `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}`
      - `cardinality` 'UNSPECIFIED' | 'UNKNOWN' | 'BELOW_ALL_LIMITS' | 'EXCEEDS_SEGMENTATION_LIMIT_BUT_NOT_STATS_LIMIT' | 'APPROACHES_STATS_LIMIT' | 'EXCEEDS_STATS_LIMIT' — Output only. Cardinality of the conversion custom variable.
      - `floodlightConversionCustomVariableInfo` GoogleAdsSearchads360V23ResourcesConversionCustomVariableFloodlightConversionCustomVariableInfo — Information for Search Ads 360 Floodlight Conversion Custom Variables.
        - `floodlightVariableType` 'UNSPECIFIED' | 'UNKNOWN' | 'DIMENSION' | 'METRIC' | 'UNSET' — Output only. Floodlight variable type defined in Search Ads 360.
        - `floodlightVariableDataType` 'UNSPECIFIED' | 'UNKNOWN' | 'NUMBER' | 'STRING' — Output only. Floodlight variable data type defined in Search Ads 360.
      - `customColumnIds` string[] — Output only. The IDs of custom columns that use this conversion custom variable.
      - `status` 'UNSPECIFIED' | 'UNKNOWN' | 'ACTIVATION_NEEDED' | 'ENABLED' | 'PAUSED' — The status of the conversion custom variable for conversion event accrual.
      - `family` 'UNSPECIFIED' | 'UNKNOWN' | 'STANDARD' | 'FLOODLIGHT' — Output only. Family of the conversion custom variable.
      - `name` string — Required. The name of the conversion custom variable. Name should be unique. The maximum length of name is 100 characters. There should not be any extra spaces before and after.
  - `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.
  - `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.

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