Method: properties.conversionEvents.create
बंद कर दिया गया है: इसके बजाय, CreateKeyEvent
का इस्तेमाल करें. तय किए गए एट्रिब्यूट के साथ कन्वर्ज़न इवेंट बनाता है.
एचटीटीपी अनुरोध
POST https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/conversionEvents
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. उस पैरंट प्रॉपर्टी का रिसॉर्स नाम जहां यह कन्वर्ज़न इवेंट बनाया जाएगा. फ़ॉर्मैट: properties/123
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में 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-01-14 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2025-01-14 (UTC) को अपडेट किया गया."],[[["This deprecated feature creates conversion events with specified attributes using an HTTP POST request."],["Users must provide the parent property's resource name as a path parameter."],["The request body should contain a ConversionEvent object, as detailed in the provided documentation."],["A successful response will return a newly created ConversionEvent object."],["Authorization requires the `https://www.googleapis.com/auth/analytics.edit` scope."]]],["This document details the process for creating a conversion event using a `POST` request to the Google Analytics Admin API. The request URL requires a `parent` path parameter specifying the property. The request body must contain a `ConversionEvent` instance. A successful request returns a newly created `ConversionEvent` instance in the response body. Authorization requires the `analytics.edit` OAuth scope. It also states this method is deprecated and that `CreateKeyEvent` should be used instead.\n"]]