试用 Google Analytics 的 MCP 服务器。从
GitHub 安装,并参阅
公告了解详情。
Method: properties.audienceLists.get
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
HTTP 请求
GET https://analyticsdata.googleapis.com/v1alpha/{name=properties/*/audienceLists/*}
网址采用 gRPC 转码语法。
路径参数
参数 |
name |
string
必需。受众群体名单资源名称。格式:properties/{property}/audienceLists/{audienceList}
|
响应正文
如果成功,则响应正文包含一个 AudienceList
实例。
授权范围
需要以下 OAuth 范围之一:
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-07-26。
[null,null,["最后更新时间 (UTC):2025-07-26。"],[[["\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`"]]