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

[Help me build a query](https://developers.google.com/google-ads/api/fields/v24/conversion_custom_variable_query_builder.md.txt) [Proto definition ![on GitHub](https://developers.google.com/site-assets/logo-github.svg)](https://github.com/googleapis/googleapis/blob/master/google/ads/googleads/v24/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/v24/customer.md.txt) |

Fields from the preceding resources can be selected along with this
resource in your `SELECT` and `WHERE` clauses. These fields do **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` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

**Resources:** [conversion_custom_variable](https://developers.google.com/google-ads/api/fields/v24/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` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [conversion_custom_variable.id](https://developers.google.com/google-ads/api/fields/v24/conversion_custom_variable.md.txt#conversion_custom_variable.id).

## 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` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [conversion_custom_variable.id](https://developers.google.com/google-ads/api/fields/v24/conversion_custom_variable.md.txt#conversion_custom_variable.id).

## 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` CapabilitiesSelectable: True  
Filterable: True  
Sortable: False  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [conversion_custom_variable.id](https://developers.google.com/google-ads/api/fields/v24/conversion_custom_variable.md.txt#conversion_custom_variable.id).

## 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.v24.enums.ConversionCustomVariableStatusEnum.ConversionCustomVariableStatus` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [conversion_custom_variable.id](https://developers.google.com/google-ads/api/fields/v24/conversion_custom_variable.md.txt#conversion_custom_variable.id).

## 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` CapabilitiesSelectable: True  
Filterable: True  
Sortable: True  
Repeated: False Selectable withThe following fields and resources can be selected with this field:

Same as [conversion_custom_variable.id](https://developers.google.com/google-ads/api/fields/v24/conversion_custom_variable.md.txt#conversion_custom_variable.id).