Method: properties.audiences.create
एचटीटीपी अनुरोध
POST https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/audiences
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
parent |
string
ज़रूरी है. फ़ॉर्मैट का उदाहरण: प्रॉपर्टीज़/1234
|
अनुरोध का मुख्य भाग
अनुरोध के मुख्य भाग में Audience
का उदाहरण है.
जवाब का मुख्य भाग
कामयाब होने पर, जवाब के मुख्य हिस्से में Audience
का नया इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
नीचे दिए गए 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 Audience using an HTTP POST request to the specified endpoint."],["Requires providing the parent property ID in the URL path and an `Audience` object in the request body."],["A successful response will return the newly created `Audience` object."],["Requires the `analytics.edit` OAuth scope for authorization."]]],["A POST request is made to `https://analyticsadmin.googleapis.com/v1alpha/{parent=properties/*}/audiences` to create an Audience. The `parent` path parameter, a string in the format `properties/1234`, is required. The request body uses the `Audience` resource, and the successful response returns a new `Audience` instance. This operation requires the `https://www.googleapis.com/auth/analytics.edit` authorization scope. The url uses gRPC Transcoding syntax.\n"]]