Google アナリティクスの MCP サーバーを試します。
GitHub からインストールし、詳細については
お知らせをご覧ください。
Method: properties.audiences.get
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
1 つのオーディエンスを検索します。2020 年より前に作成されたオーディエンスはサポートされていない場合があります。デフォルトのオーディエンスにはフィルタの定義は表示されません。
HTTP リクエスト
GET https://analyticsadmin.googleapis.com/v1alpha/{name=properties/*/audiences/*}
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
name |
string
必須。取得するオーディエンスの名前。形式の例: properties/1234/audiences/5678
|
リクエスト本文
リクエストの本文は空にする必要があります。
レスポンスの本文
成功した場合、レスポンスの本文には Audience
のインスタンスが含まれます。
承認スコープ
次の OAuth スコープのいずれかが必要です。
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics.edit
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2025-07-26 UTC。
[null,null,["最終更新日 2025-07-26 UTC。"],[],["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"],null,[]]