Method: properties.acknowledgeUserDataCollection
指定したプロパティのユーザーデータ収集の利用規約に同意します。
MeasurementProtocolSecret リソースを作成するには、この確認を(Google アナリティクスの UI またはこの API を使用して)完了する必要があります。
HTTP リクエスト
POST https://analyticsadmin.googleapis.com/v1beta/{property=properties/*}:acknowledgeUserDataCollection
この URL は gRPC Transcoding 構文を使用します。
パスパラメータ
パラメータ |
property |
string
必須。ユーザーデータの収集を承認するプロパティ。
|
リクエスト本文
リクエストの本文には、次の構造のデータが含まれます。
JSON 表現 |
{
"acknowledgement": string
} |
フィールド |
acknowledgement |
string
必須。このメソッドの呼び出し元がユーザーデータの収集条件を理解していることを示す確認応答。 このフィールドには、「私は、エンドユーザーのデータの収集と処理に関して、私のサイトやアプリのプロパティから Google アナリティクスが収集したアクセス情報と対象データの関連付けを行うことを含めて、ユーザーから必要なプライバシー情報の開示と承認を受けたことを確認しました」という値を正確に入力する必要があります。
|
レスポンスの本文
成功すると、レスポンスの本文は空になります。
認可スコープ
次の OAuth スコープが必要です。
https://www.googleapis.com/auth/analytics.edit
特に記載のない限り、このページのコンテンツはクリエイティブ・コモンズの表示 4.0 ライセンスにより使用許諾されます。コードサンプルは Apache 2.0 ライセンスにより使用許諾されます。詳しくは、Google Developers サイトのポリシーをご覧ください。Java は Oracle および関連会社の登録商標です。
最終更新日 2024-11-08 UTC。
[null,null,["最終更新日 2024-11-08 UTC。"],[[["This API endpoint acknowledges user data collection for a specified Google Analytics property."],["It requires a specific acknowledgement phrase confirming the user's understanding of data collection terms."],["Users need the `analytics.edit` OAuth scope for authorization."],["A successful request results in an empty response body."],["The request body includes an `acknowledgement` field containing the required phrase."]]],["This API endpoint `acknowledgeUserDataCollection` requires a POST HTTP request to acknowledge user data collection for a specified property. The request URL includes a required `property` path parameter. The request body needs a JSON object with an `acknowledgement` field. This field must contain a specific string confirming understanding of data collection terms. Successful requests return an empty response. Authorization requires the `analytics.edit` scope. The action of acknowledgment is required before creating MeasurementProtocolSecret resources.\n"]]