Method: properties.customDimensions.create
एचटीटीपी अनुरोध
POST https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/customDimensions
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. फ़ॉर्मैट का उदाहरण: प्रॉपर्टीज़/1234
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में CustomDimension
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब होने पर, जवाब के मुख्य हिस्से में CustomDimension
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए OAuth के लिंक की ज़रूरत हाेती है:
https://www.googleapis.com/auth/analytics.edit
जब तक कुछ अलग से न बताया जाए, तब तक इस पेज की सामग्री को Creative Commons Attribution 4.0 License के तहत और कोड के नमूनों को Apache 2.0 License के तहत लाइसेंस मिला है. ज़्यादा जानकारी के लिए, Google Developers साइट नीतियां देखें. Oracle और/या इससे जुड़ी हुई कंपनियों का, Java एक रजिस्टर किया हुआ ट्रेडमार्क है.
आखिरी बार 2024-05-06 (UTC) को अपडेट किया गया.
[null,null,["आखिरी बार 2024-05-06 (UTC) को अपडेट किया गया."],[[["Creates a new CustomDimension within a specified Google Analytics 4 property."],["Requires `analytics.edit` OAuth scope for authorization."],["Utilizes an HTTP POST request to the provided URL with property ID as a path parameter."],["Request body should contain a CustomDimension object, as detailed in the provided documentation link."],["Successful response returns the newly created CustomDimension object."]]],["A `CustomDimension` is created via a POST request to `https://analyticsadmin.googleapis.com/v1beta/{parent=properties/*}/customDimensions`, using gRPC Transcoding syntax. The `parent` path parameter (e.g., `properties/1234`) is required. The request body must include a `CustomDimension` instance. A successful response contains the newly created `CustomDimension`. Authorization requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope.\n"]]