Method: properties.audiences.get
एक ऑडियंस खोजें. ऐसा हो सकता है कि साल 2020 से पहले बनाई गई ऑडियंस के लिए सहायता उपलब्ध न हो. डिफ़ॉल्ट ऑडियंस में फ़िल्टर की परिभाषाएं नहीं दिखेंगी.
एचटीटीपी अनुरोध
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/audiences/*}
यह यूआरएल gRPC ट्रांसकोडिंग सिंटैक्स का इस्तेमाल करता है.
पाथ के पैरामीटर
पैरामीटर |
name |
string
ज़रूरी है. पाने के लिए ऑडियंस का नाम. फ़ॉर्मैट का उदाहरण: प्रॉपर्टीज़/1234/audiences/5678
|
अनुरोध का मुख्य भाग
अनुरोध का मुख्य हिस्सा खाली होना चाहिए.
जवाब का मुख्य हिस्सा
कामयाब रहने पर, जवाब के मुख्य हिस्से में Audience
का एक इंस्टेंस शामिल किया जाता है.
अनुमति के दायरे
इनमें से किसी एक OAuth दायरों की ज़रूरत होती है:
https://www.googleapis.com/auth/analytics.readonly
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) को अपडेट किया गया."],[[["Retrieve a specific Audience resource using its unique name, formatted as properties/{propertyId}/audiences/{audienceId}."],["Request requires authorization using either `analytics.readonly` or `analytics.edit` scope."],["Only audiences created after 2020 and non-default audiences can be successfully retrieved."],["Response includes the Audience object if found, otherwise an error."]]],["This document outlines how to retrieve a single Audience using a `GET` HTTP request to the Google Analytics Admin API. The request URL requires a path parameter, `name`, specifying the Audience's identifier (e.g., `properties/1234/audiences/5678`). The request body must be empty. Successful responses return an Audience instance. Authorization requires either the `analytics.readonly` or `analytics.edit` OAuth scope. The example uses the gRPC Transcoding syntax. Audiences created before 2020 might not be supported.\n"]]