Interested in sharing your feedback about the Google Ads API?
Sign up to be invited to participate in user research!
ConversionCustomVariable
Stay organized with collections
Save and categorize content based on your preferences.
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.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-10-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-12 UTC."],[[["Conversion custom variables allow you to tailor conversion tracking by associating specific data points with conversion events, such as purchase values or product categories."],["These variables are defined with a unique resource name, ID, descriptive name, and a tag used for tracking purposes within event snippets and conversion pings."],["You must ensure the tag is unique, limited to 100 bytes, and adheres to the allowed character set of lowercase letters, numbers, and underscores, without any leading or trailing spaces."],["The status of the conversion custom variable indicates its operational state for conversion event accrual."],["The variable is associated with an owner customer, which can be accessed through its resource name."]]],[]]