Google Analytics के लिए, एमसीपी सर्वर आज़माएं. इसे
GitHub से इंस्टॉल करें. साथ ही, ज़्यादा जानकारी के लिए
सूचना देखें.
Method: properties.keyEvents.patch
संग्रह की मदद से व्यवस्थित रहें
अपनी प्राथमिकताओं के आधार पर, कॉन्टेंट को सेव करें और कैटगरी में बांटें.
किसी मुख्य इवेंट को अपडेट करता है.
एचटीटीपी अनुरोध
PATCH https://analyticsadmin.googleapis.com/v1beta/{keyEvent.name=properties/*/keyEvents/*}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
keyEvent.name |
string
सिर्फ़ आउटपुट के लिए. इस मुख्य इवेंट के संसाधन का नाम. फ़ॉर्मैट: प्रॉपर्टीज़/{property}/keyEvents/{keyEvent}
|
क्वेरी पैरामीटर
पैरामीटर |
updateMask |
string (FieldMask format)
ज़रूरी है. अपडेट किए जाने वाले फ़ील्ड की सूची. फ़ील्ड के नाम, स्नेक केस में होने चाहिए (उदाहरण के लिए, "field_to_update"). हटाए गए फ़ील्ड अपडेट नहीं किए जाएंगे. पूरी इकाई को बदलने के लिए, स्ट्रिंग "*" वाले एक पाथ का इस्तेमाल करें, ताकि सभी फ़ील्ड का मिलान किया जा सके. यह फ़ील्ड के पूरी तरह क्वालिफ़ाइड नामों की कॉमा-सेपरेटेड लिस्ट है. उदाहरण: "user.displayName,photo" .
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में KeyEvent
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में KeyEvent
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए 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) को अपडेट किया गया."],[[["Updates a Key Event via a `PATCH` request to the specified URL with required path and query parameters."],["The request body should contain an instance of `KeyEvent` for specifying the desired modifications."],["A successful update operation results in a response containing the updated `KeyEvent` instance."],["Users need to be authorized with the `https://www.googleapis.com/auth/analytics.edit` scope to perform this action."]]],["This document details updating a Key Event via a PATCH request to a specific URL structure: `https://analyticsadmin.googleapis.com/v1beta/{keyEvent.name=properties/*/keyEvents/*}`. The `keyEvent.name` parameter in the URL path is required and the request includes query parameters, one of them being `updateMask` for specifying fields to update. The request and successful response bodies contain a `KeyEvent` instance, and updating it requires OAuth scope: `https://www.googleapis.com/auth/analytics.edit`.\n"]]