कस्टम कन्वर्ज़न वैरिएबल
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
कस्टम कन्वर्ज़न वैरिएबल की मदद से, टैग के तौर पर अतिरिक्त जानकारी को उस कन्वर्ज़न से जोड़ा जा सकता है जिसे Google Ads API का इस्तेमाल करके इंपोर्ट किया जाता है. जैसे, क्लिक या कॉल कन्वर्ज़न. इस जानकारी की मदद से, सेगमेंट वाली रिपोर्ट बनाई जा सकती हैं. इनसे आपको अपने कन्वर्ज़न के बारे में ज़्यादा जानकारी मिलती है.
उदाहरण के लिए, नीले रंग की नई टोपी की खरीदारी के लिए कन्वर्ज़न इंपोर्ट करते समय, आपके पास उससे जुड़े दो टैग भी इंपोर्ट करने का विकल्प होता है: color
और status
. इनकी वैल्यू क्रमशः blue
और new
हो सकती है. इसका तरीका यहां बताया गया है:
ज़रूरत के हिसाब से जितने चाहें उतने कस्टम कन्वर्ज़न वैरिएबल बनाएं. हर वैरिएबल, एक टैग से जुड़ा होता है. इसलिए, अगर आपको दो टैग (color
और
status
) चाहिए, तो आपको दो कस्टम वैरिएबल बनाने होंगे. ConversionCustomVariable
के लिए ज़रूरी फ़ील्ड ये हैं:
name
: वैरिएबल की पहचान करता है. नाम यूनीक होना चाहिए.
tag
: हमारे उदाहरण में, टैग color
और status
हैं. जब आपकी वेबसाइट से Google Ads को कोई कन्वर्ज़न भेजा जाता है, तो इवेंट स्निपेट में टैग का इस्तेमाल किया जाता है. अगर Google Ads API का इस्तेमाल किया जाता है, तो कन्वर्ज़न इंपोर्ट करते समय आपको कस्टम वैरिएबल के रिसॉर्स का नाम बताना होगा. इस बारे में अगले चरण में बताया गया है.
किसी कन्वर्ज़न को इंपोर्ट करते समय, जैसे कि ClickConversion
, custom_variables
को पिछले चरण में बनाए गए सभी कस्टम वैरिएबल की सूची पर सेट करें. आपको हर कस्टम वैरिएबल के सभी फ़ील्ड सेट करने होंगे:
conversion_custom_variable
:
पिछले चरण में बनाए गए कस्टम वैरिएबल का नाम.
value
: उस टैग की वैल्यू जिसे आपको कन्वर्ज़न से जोड़ना है. उदाहरण के लिए: blue
और new
.
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-08-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-08-26 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eCustom conversion variables allow associating additional information, like tags, to conversions uploaded via the Google Ads API.\u003c/p\u003e\n"],["\u003cp\u003eTo use custom variables, first create them, defining a unique name and tag for each desired piece of information.\u003c/p\u003e\n"],["\u003cp\u003eWhen uploading a conversion, include the custom variables, specifying their resource name and the corresponding value for the tag.\u003c/p\u003e\n"],["\u003cp\u003eThis process lets you add details like 'color' or 'status' to conversions, enabling richer data analysis and reporting.\u003c/p\u003e\n"]]],[],null,["# Custom Conversion Variables\n\n[Custom conversion variables](//support.google.com/google-ads/answer/9964350)\nlet you associate additional information, in the form of tags, to a conversion\nthat you import using the Google Ads API, such as click or call conversions. With this\ninformation, you can create segmented reports that provide richer data about\nyour conversions.\n\nFor example, when importing a conversion for the purchase of a new blue hat,\nyou could also import two associated tags: `color` and `status` with the values\n`blue` and `new`, respectively. Here are the steps:\n\n1. Create as many custom conversion variables as you need. Each variable\n corresponds to one tag. Therefore, if you want two tags (`color` and\n `status`), you need to create two custom variables. The required fields for\n [`ConversionCustomVariable`](/google-ads/api/reference/rpc/v21/ConversionCustomVariable) are as\n follows:\n\n | **Note:** See [`ConversionCustomVariable`](/google-ads/api/reference/rpc/v21/ConversionCustomVariable) for limitations on its fields.\n - [`name`](/google-ads/api/reference/rpc/v21/ConversionCustomVariable#name): Identifies the variable. The name must be unique.\n - [`tag`](/google-ads/api/reference/rpc/v21/ConversionCustomVariable#tag): For our example, the tags are `color` and `status`. Tags are used in the [event\n snippet](//support.google.com/google-ads/answer/9962082#Add&zippy=%2Cconversion-tracking-using-tags-on-your-website) when a conversion is sent to Google Ads by your website. If you use the Google Ads API, you would need to specify the resource name of the custom variables when importing conversions, as detailed in the next step.\n2. When importing a conversion, such as\n [`ClickConversion`](/google-ads/api/reference/rpc/v21/ClickConversion), set\n [`custom_variables`](/google-ads/api/reference/rpc/v21/ClickConversion#custom_variables%5B%5D) to\n the list of all custom variables you created in the previous step. You need\n to set all the fields of each custom variable:\n\n - [`conversion_custom_variable`](/google-ads/api/reference/rpc/v21/CustomVariable#conversion_custom_variable): The resource name of the custom variable you created in the previous step.\n - [`value`](/google-ads/api/reference/rpc/v21/CustomVariable#conversion_custom_variable): The value for the tag you want to associate with the conversion. For our example: `blue` and `new`."]]