ध्यान दें कि Search Ads 360 Conversion API में, get और getByCustomerId तरीके साल 2025 की तीसरी तिमाही में बंद कर दिए जाएंगे. कन्वर्ज़न डेटा को ऐक्सेस करना जारी रखने के लिए, आपको Search Ads 360 के नए वर्शन के Reporting API का इस्तेमाल करके, कन्वर्ज़न रिसॉर्स का इस्तेमाल करके रिपोर्ट बनानी होगी. ज़्यादा जानकारी के लिए यहां जाएं.
अनुरोध के मुख्य हिस्से में, इन प्रॉपर्टी के साथ कन्वर्ज़न का संसाधन उपलब्ध कराएं:
प्रॉपर्टी का नाम
मान
ब्यौरा
नोट
वैकल्पिक प्रॉपर्टी
conversion[].currencyCode
string
कन्वर्ज़न से मिलने वाले रेवेन्यू के लिए मुद्रा कोड. ISO 4217 अक्षर (3-वर्ण) फ़ॉर्मैट में होना चाहिए.
लिखा जा सकता है
conversion[].quantityMillis
long
इस कन्वर्ज़न की संख्या, मिलीसेकंड में.
लिखा जा सकता है
conversion[].revenueMicros
long
इस TRANSACTION कन्वर्ज़न से हुई आय की रकम (माइक्रो में) (वैल्यू को 1000000 से गुणा किया गया है. इसमें कोई दशमलव नहीं है). उदाहरण के लिए, रेवेन्यू की वैल्यू "10" तय करने के लिए "10,00,000" डालें (एक करोड़).
लिखा जा सकता है
conversion[].state
string
कन्वर्ज़न की स्थिति, यानी कि ACTIVE या REMOVED. ध्यान दें: 'मिटाया गया' स्थिति का इस्तेमाल नहीं किया जा सकता.
ये वैल्यू स्वीकार की जाती हैं:
"ACTIVE"
"DELETED": (अब काम नहीं करता)
"REMOVED"
लिखा जा सकता है
जवाब
अगर इस तरीके से पुष्टि हो जाती है, तो जवाब के मुख्य हिस्से में यह कन्वर्ज़न संसाधन दिखाता है.
इसे आज़माएं!
लाइव डेटा पर इस तरीके को कॉल करने और जवाब देखने के लिए, नीचे दिए गए एपीआई एक्सप्लोरर का इस्तेमाल करें.
वैकल्पिक रूप से, यह आज़माएं
स्टैंडअलोन
एक्सप्लोरर.
[null,null,["आखिरी बार 2024-08-20 (UTC) को अपडेट किया गया."],[[["\u003cp\u003eUpdates a batch of conversions in DoubleClick Search using the \u003ccode\u003ePUT\u003c/code\u003e method.\u003c/p\u003e\n"],["\u003cp\u003eRequires authorization with the \u003ccode\u003ehttps://www.googleapis.com/auth/doubleclicksearch\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eThe request body should contain a Conversion resource with properties like \u003ccode\u003ecurrencyCode\u003c/code\u003e, \u003ccode\u003equantityMillis\u003c/code\u003e, \u003ccode\u003erevenueMicros\u003c/code\u003e, and \u003ccode\u003estate\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eSuccessful requests return a Conversion resource in the response body.\u003c/p\u003e\n"]]],["This outlines how to update conversions in DoubleClick Search via a PUT request to `https://www.googleapis.com/doubleclicksearch/v2/conversion`, requiring `https://www.googleapis.com/auth/doubleclicksearch` authorization. The request body should include a Conversion resource with optional properties like `currencyCode`, `quantityMillis`, `revenueMicros`, and `state` (either `ACTIVE` or `REMOVED`). Successful requests return a Conversion resource.\n"],null,["# Conversion: update\n\n| **Note:** Requires [authorization](#auth).\n\nUpdates a batch of conversions in DoubleClick Search.\n[Try it now](#try-it).\n\nRequest\n-------\n\n### HTTP request\n\n```\nPUT https://www.googleapis.com/doubleclicksearch/v2/conversion\n```\n\n### Authorization\n\nThis request requires authorization with the following scope:\n\n| Scope |\n|-----------------------------------------------------|\n| `https://www.googleapis.com/auth/doubleclicksearch` |\n\nFor more information, see the [authentication and authorization](/search-ads/v2/authorizing) page.\n\n### Request body\n\nIn the request body, supply a [Conversion resource](/search-ads/v2/reference/conversion#resource) with the following properties:\n\n| Property name | Value | Description | Notes |\n|-------------------------------|----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|----------|\n| **Optional Properties** ||||\n| conversion[].`currencyCode` | `string` | The currency code for the conversion's revenue. Should be in ISO 4217 alphabetic (3-char) format. | writable |\n| conversion[].`quantityMillis` | `long` | The quantity of this conversion, in millis. | writable |\n| conversion[].`revenueMicros` | `long` | The revenue amount of this `TRANSACTION` conversion, in micros (value multiplied by 1000000, no decimal). For example, to specify a revenue value of \"10\" enter \"10000000\" (10 million) in your request. | writable |\n| conversion[].`state` | `string` | The state of the conversion, that is, either `ACTIVE` or `REMOVED`. Note: state DELETED is deprecated. \u003cbr /\u003e Acceptable values are: - \"`ACTIVE`\" - \"`DELETED`\": (Deprecated) - \"`REMOVED`\" | writable |\n\nResponse\n--------\n\nIf successful, this method returns a [Conversion resource](/search-ads/v2/reference/conversion#resource) in the response body.\n\nTry it!\n-------\n\n\nUse the APIs Explorer below to call this method on live data and see the response.\nAlternatively, try the\n[standalone\nExplorer](https://developers.google.com/apis-explorer/#p/doubleclicksearch/v2/doubleclicksearch.conversion.update)."]]