Method: properties.create
तय की गई जगह और एट्रिब्यूट के साथ Google Analytics प्रॉपर्टी बनाता है.
एचटीटीपी अनुरोध
POST https://analyticsadmin.googleapis.com/v1beta/properties
यूआरएल में gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल किया गया है.
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में Property
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब रहने पर, जवाब के मुख्य हिस्से में Property
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए 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) को अपडेट किया गया."],[[["Creates a new \"GA4\" property with your specified location and attributes."],["Sends an HTTP POST request to `https://analyticsadmin.googleapis.com/v1beta/properties`."],["Requires `https://www.googleapis.com/auth/analytics.edit` authorization scope for property creation."],["Includes request and response bodies with details defined by the `Property` object."]]],["This document details how to create a Google Analytics property. It utilizes a `POST` HTTP request to `https://analyticsadmin.googleapis.com/v1beta/properties`, employing gRPC Transcoding syntax. The request body needs an instance of a `Property`. A successful request returns a new `Property` instance in the response body. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope. The document further contains a `try-it` action and the information on the request/response body and the authorization scope.\n"]]