ConversionCustomVariable

  • Conversion custom variables are used to provide additional details about a conversion event.

  • Each conversion custom variable has a unique resource name, ID, and tag.

  • The name and tag fields are required and have specific formatting requirements.

  • The status field indicates whether the conversion custom variable is active for conversion event accrual.

  • The owner customer field indicates the customer who owns the conversion custom variable.

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

Fields

resource_name

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}

id

int64

Output only. The ID 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.

tag

string

Required. 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.

status

ConversionCustomVariableStatus

The status of the conversion custom variable for conversion event accrual.

owner_customer

string

Output only. The resource name of the customer that owns the conversion custom variable.