Google アナリティクスの MCP サーバーを試します。
GitHub からインストールし、詳細については
お知らせをご覧ください。
Method: accounts.provisionAccountTicket
コレクションでコンテンツを整理
必要に応じて、コンテンツの保存と分類を行います。
HTTP リクエスト
POST https://analyticsadmin.googleapis.com/v1alpha/accounts:provisionAccountTicket
この URL は gRPC Transcoding 構文を使用します。
リクエストの本文
リクエストの本文には、次の構造のデータが含まれます。
JSON 表現 |
{
"account": {
object (Account )
},
"redirectUri": string
} |
フィールド |
account |
object (Account )
作成するアカウント。
|
redirectUri |
string
利用規約に同意した後にユーザーがリダイレクトされる URI。Cloud コンソールでリダイレクト URI として構成する必要があります。
|
レスポンスの本文
accounts.provisionAccountTicket RPC のレスポンス メッセージ。
成功した場合、レスポンスの本文には次の構造のデータが含まれます。
JSON 表現 |
{
"accountTicketId": string
} |
フィールド |
accountTicketId |
string
利用規約のリンクで渡されるパラメータ。
|
認可スコープ
次の OAuth スコープが必要です。
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 explains how to request a ticket for creating a Google Analytics account using the `provisionAccountTicket` method."],["The request body should contain the account details and a redirect URI for user redirection after accepting Terms of Service."],["A successful response will include an `accountTicketId` used for the Terms of Service link."],["This operation requires the `https://www.googleapis.com/auth/analytics.edit` OAuth scope for authorization."]]],["The core action is to request a ticket for account creation via a POST request to a specified URL. The request body must include an `account` object and a `redirectUri`. Successful requests return a response body containing an `accountTicketId`. This process uses gRPC Transcoding syntax, and requires the OAuth scope `https://www.googleapis.com/auth/analytics.edit` for authorization. The redirect URI must be configured in the Cloud Console.\n"]]