Method: properties.reportTasks.create
レポートタスクの作成を開始します。このメソッドは、すぐにレポートタスクを返し、長時間実行される非同期リクエストを開始して、Google アナリティクスのイベントデータのカスタム レポートを作成します。
レポートタスクは作成後 72 時間は保持され、クエリに利用できます。
あるユーザーが作成したレポートタスクは、そのプロパティにアクセスできるすべてのユーザーが一覧表示してクエリできます。
HTTP リクエスト
POST https://analyticsdata.googleapis.com/v1alpha/{parent=properties/*}/reportTasks
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
parent |
string
必須。このレポートタスクが作成される親リソース。形式: properties/{propertyId}
|
リクエスト本文
リクエストの本文には ReportTask
のインスタンスが含まれています。
レスポンスの本文
成功した場合、レスポンスの本文には、新しく作成された Operation
のインスタンスが含まれます。
認可スコープ
次の OAuth スコープのいずれかが必要です。
https://www.googleapis.com/auth/analytics.readonly
https://www.googleapis.com/auth/analytics
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-05-14 UTC。
[null,null,["最終更新日 2024-05-14 UTC。"],[[["Initiates a long-running asynchronous request to create a customized report of Google Analytics event data."],["Created report tasks are retained and available for querying for 72 hours."],["Report tasks are accessible to all users with property access."],["Requires authorization with either `https://www.googleapis.com/auth/analytics.readonly` or `https://www.googleapis.com/auth/analytics` scope."]]],["This describes the process to create a report task for Google Analytics event data. A `POST` request is sent to `https://analyticsdata.googleapis.com/v1alpha/{parent=properties/*}/reportTasks`, where `parent` specifies the property. The request body must include a `ReportTask` instance. Upon success, it will respond with an `Operation` instance. Authorization requires either the `analytics.readonly` or `analytics` scope. Created tasks are retained for 72 hours and accessible to all property users.\n"]]