سرور MCP را برای Google Analytics امتحان کنید. از
GitHub نصب کنید و برای جزئیات بیشتر به
اطلاعیه مراجعه کنید.
Method: properties.audienceLists.get
با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
درخواست HTTP
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/audienceLists/*}
URL از دستور GRPC Transcoding استفاده می کند.
پارامترهای مسیر
مولفه های |
---|
name | string ضروری. نام منبع فهرست مخاطبان. قالب: properties/{property}/audienceLists/{audienceList} |
درخواست بدن
بدنه درخواست باید خالی باشد.
بدن پاسخگو
در صورت موفقیت آمیز بودن، بدنه پاسخ حاوی نمونه ای از AudienceList
است.
محدوده مجوز
به یکی از حوزه های OAuth زیر نیاز دارد:
-
https://www.googleapis.com/auth/analytics.readonly
-
https://www.googleapis.com/auth/analytics
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-24 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eRetrieves configuration metadata for a specific audience list, allowing users to understand its details after creation.\u003c/p\u003e\n"],["\u003cp\u003eUses the \u003ccode\u003eaudienceExports.get\u003c/code\u003e method to access audience list information, offering beta stability and a feedback form for API improvements.\u003c/p\u003e\n"],["\u003cp\u003eRequires the \u003ccode\u003ename\u003c/code\u003e path parameter, specifying the audience list resource name in the format \u003ccode\u003eproperties/{property}/audienceLists/{audienceList}\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEmploys an empty request body and returns an \u003ccode\u003eAudienceList\u003c/code\u003e instance in the response upon successful execution.\u003c/p\u003e\n"],["\u003cp\u003eNeeds authorization with either \u003ccode\u003ehttps://www.googleapis.com/auth/analytics.readonly\u003c/code\u003e or \u003ccode\u003ehttps://www.googleapis.com/auth/analytics\u003c/code\u003e OAuth scopes.\u003c/p\u003e\n"]]],["This document outlines the process of retrieving configuration metadata for a specific audience list via the `audienceExports.get` method, available in beta. The HTTP request uses a GET method with a URL structure including path parameters, specifically the `name` of the audience list. The request body must be empty, and a successful response returns an `AudienceList` instance. Access requires either `analytics.readonly` or `analytics` OAuth scopes. This function is for understanding audience lists after their creation.\n"],null,["# Method: properties.audienceLists.get\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n- [Authorization scopes](#body.aspect)\n- [Try it!](#try-it)\n\nGets configuration metadata about a specific audience list. This method can be used to understand an audience list after it has been created.\n\nSee [Creating an Audience List](https://developers.google.com/analytics/devguides/reporting/data/v1/audience-list-basics) for an introduction to Audience Lists with examples.\n\nThis method is available at beta stability at [audienceExports.get](https://developers.google.com/analytics/devguides/reporting/data/v1/rest/v1beta/properties.audienceExports/get). To give your feedback on this API, complete the [Google Analytics Audience Export API Feedback](https://forms.gle/EeA5u5LW6PEggtCEA) form.\n\n### HTTP request\n\n`GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/audienceLists/*}`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|--------|------------------------------------------------------------------------------------------------------------------|\n| `name` | `string` Required. The audience list resource name. Format: `properties/{property}/audienceLists/{audienceList}` |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nIf successful, the response body contains an instance of [AudienceList](/analytics/devguides/reporting/data/v1/rest/v1alpha/properties.audienceLists#AudienceList).\n\n### Authorization scopes\n\nRequires one of the following OAuth scopes:\n\n- `https://www.googleapis.com/auth/analytics.readonly`\n- `https://www.googleapis.com/auth/analytics`"]]