Google Analytics के लिए, एमसीपी सर्वर आज़माएं. इसे
GitHub से इंस्टॉल करें. साथ ही, ज़्यादा जानकारी के लिए
सूचना देखें.
Method: properties.conversionEvents.patch
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
इस्तेमाल नहीं किया जा सकता: इसके बजाय, UpdateKeyEvent
का इस्तेमाल करें. यह किसी कन्वर्ज़न इवेंट को बताए गए एट्रिब्यूट के साथ अपडेट करता है.
एचटीटीपी अनुरोध
PATCH https://analyticsadmin.googleapis.com/v1beta/{conversionEvent.name=properties/*/conversionEvents/*}
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
conversionEvent.name |
string
सिर्फ़ आउटपुट के लिए. इस कन्वर्ज़न इवेंट का रिसॉर्स का नाम. फ़ॉर्मैट: properties/{property}/conversionEvents/{conversionEvent}
|
क्वेरी पैरामीटर
पैरामीटर |
updateMask |
string (FieldMask format)
ज़रूरी है. अपडेट किए जाने वाले फ़ील्ड की सूची. फ़ील्ड के नाम स्नेक केस में होने चाहिए (उदाहरण के लिए, "field_to_update"). हटाए गए फ़ील्ड अपडेट नहीं किए जाएंगे. पूरी इकाई को बदलने के लिए, सभी फ़ील्ड से मैच करने के लिए, स्ट्रिंग "*" के साथ एक पाथ का इस्तेमाल करें. यह फ़ील्ड के पूरी तरह से क्वालिफ़ाइड नामों की सूची है. इसमें नामों को कॉमा लगाकर अलग किया गया है. उदाहरण: "user.displayName,photo" .
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में ConversionEvent
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में ConversionEvent
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/analytics.edit
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-07-26 (UTC) को अपडेट किया गया."],[[["This deprecated item updates a conversion event with specified attributes using a PATCH request."],["The request requires specifying the `conversionEvent.name` in the path and uses the `updateMask` query parameter to indicate fields to be updated."],["The request body and successful response body both contain a `ConversionEvent` instance."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document outlines the process for updating a conversion event using a `PATCH` HTTP request to a specified URL. Key actions include defining the `conversionEvent.name` path parameter and utilizing the `updateMask` query parameter to select fields for modification. The request body, containing a `ConversionEvent` instance, provides the updated data, and upon success, the response also returns a `ConversionEvent` instance. Authorization requires the `analytics.edit` OAuth scope. There is also mention that the item is deprecated.\n"]]