> [!CAUTION]
> **Caution:** This documentation is for Google Ads API **v23** . The latest active version is [**v26**](https://developers.google.com/google-ads/api/fields/latest/conversion_custom_variable).

[<button style="margin-top:15px">Help me build a query</button>](https://developers.google.com/google-ads/api/fields/v23/conversion_custom_variable_query_builder.md.txt) [<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/v23/resources/conversion_custom_variable.proto)

A conversion custom variable
See "About custom variables for conversions" at
<https://support.google.com/google-ads/answer/9964350>

| Attributed resources |
|---|
| [customer](https://developers.google.com/google-ads/api/fields/v23/customer.md.txt) |

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.

## conversion_custom_variable.id

Field descriptionOutput only. The ID of the conversion custom variable.
Category`ATTRIBUTE` Data Type`INT64` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[conversion_custom_variable](https://developers.google.com/google-ads/api/fields/v23/conversion_custom_variable.md.txt)

## conversion_custom_variable.name

Field descriptionRequired. 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.
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:
[conversion_custom_variable](https://developers.google.com/google-ads/api/fields/v23/conversion_custom_variable.md.txt)

## conversion_custom_variable.owner_customer

Field descriptionOutput only. The resource name of the customer that owns the conversion
custom variable.
Category`ATTRIBUTE` Data Type`RESOURCE_NAME` Type URL`N/A` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[conversion_custom_variable](https://developers.google.com/google-ads/api/fields/v23/conversion_custom_variable.md.txt)

## conversion_custom_variable.resource_name

Field descriptionImmutable. The resource name of the conversion custom variable.
Conversion custom variable resource names have the form:

`customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_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:
[conversion_custom_variable](https://developers.google.com/google-ads/api/fields/v23/conversion_custom_variable.md.txt)

## conversion_custom_variable.status

Field descriptionThe status of the conversion custom variable for conversion event accrual.
Category`ATTRIBUTE` Data Type `ENUM`
`ACTIVATION_NEEDED``ENABLED``PAUSED``UNKNOWN``UNSPECIFIED` Type URL`google.ads.googleads.v23.enums.ConversionCustomVariableStatusEnum.ConversionCustomVariableStatus` FilterableTrue SelectableTrue SortableTrue RepeatedFalse Selectable with The following fields/resources can be selected with this field:
[conversion_custom_variable](https://developers.google.com/google-ads/api/fields/v23/conversion_custom_variable.md.txt)

## conversion_custom_variable.tag

Field descriptionRequired. Immutable. The tag of the conversion custom variable. It is used
in the event snippet and sent to Google Ads along with conversion pings.
For conversion uploads in Google Ads API, the resource name of the
conversion custom variable is used. Tag should be unique. The maximum size
of tag is 100 bytes. There should not be any extra spaces before and after.
Currently only lowercase letters, numbers and underscores are allowed in
the tag.
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:
[conversion_custom_variable](https://developers.google.com/google-ads/api/fields/v23/conversion_custom_variable.md.txt)