Method: properties.conversionEvents.create
अब काम नहीं करता: इसके बजाय, CreateKeyEvent
का इस्तेमाल करें. तय किए गए एट्रिब्यूट के साथ कन्वर्ज़न इवेंट बनाता है.
एचटीटीपी अनुरोध
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/conversionEvents
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. उस पैरंट प्रॉपर्टी के संसाधन का नाम जहां यह कन्वर्ज़न इवेंट बनाया जाएगा. फ़ॉर्मैट: property/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 एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-08-01 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-08-01 (UTC) को अपडेट किया गया."],[[["This document details how to create a conversion event with the specified attributes using an HTTP request."],["Creating a conversion event requires `parent` as a path parameter which specifies the parent property."],["The request body should contain an instance of `ConversionEvent` and a successful response will return a newly created instance of `ConversionEvent`."],["This functionality requires `https://www.googleapis.com/auth/analytics.edit` authorization scope."],["**Deprecated:** Use `CreateKeyEvent` instead."]]],["This document details the process for creating a conversion event using a `POST` request to the specified URL. The required path parameter `parent` identifies the property. The request body must contain a `ConversionEvent` instance. Successful execution returns a newly created `ConversionEvent` in the response body. The API endpoint utilizes gRPC Transcoding and the request needs `https://www.googleapis.com/auth/analytics.edit` authorization scope. This method is deprecated, `CreateKeyEvent` is recommended instead.\n"]]