Xác nhận các điều khoản về việc thu thập dữ liệu người dùng cho tài sản đã chỉ định.
Bạn phải hoàn tất quy trình xác nhận này (trong giao diện người dùng Google Analytics hoặc thông qua API này) trước khi có thể tạo các tài nguyên Measurement ProtocolSecret.
Yêu cầu HTTP
POST https://analyticsadmin.googleapis.com/v1alpha/{property=properties/*}:acknowledgeUserDataCollection
Bắt buộc. Tài sản cần xác nhận việc thu thập dữ liệu người dùng.
Nội dung yêu cầu
Nội dung yêu cầu chứa dữ liệu có cấu trúc sau:
Biểu diễn dưới dạng JSON
{"acknowledgement": string}
Trường
acknowledgement
string
Bắt buộc. Thông báo xác nhận rằng phương thức gọi của phương thức này hiểu các điều khoản về việc thu thập dữ liệu người dùng.
Trường này phải chứa giá trị chính xác: "Tôi xác nhận rằng tôi có thông tin công bố cần thiết về quyền riêng tư và các quyền từ người dùng cuối đối với việc thu thập và xử lý dữ liệu của họ, bao gồm cả mối liên kết của dữ liệu đó với thông tin về những lượt truy cập mà Google Analytics thu thập từ trang web và/hoặc thuộc tính ứng dụng của tôi".
[[["Dễ hiểu","easyToUnderstand","thumb-up"],["Giúp tôi giải quyết được vấn đề","solvedMyProblem","thumb-up"],["Khác","otherUp","thumb-up"]],[["Thiếu thông tin tôi cần","missingTheInformationINeed","thumb-down"],["Quá phức tạp/quá nhiều bước","tooComplicatedTooManySteps","thumb-down"],["Đã lỗi thời","outOfDate","thumb-down"],["Vấn đề về bản dịch","translationIssue","thumb-down"],["Vấn đề về mẫu/mã","samplesCodeIssue","thumb-down"],["Khác","otherDown","thumb-down"]],["Cập nhật lần gần đây nhất: 2024-09-08 UTC."],[[["This API endpoint is used to acknowledge the terms of user data collection for a specified Google Analytics property."],["Acknowledgement is required before creating MeasurementProtocolSecret resources and involves confirming understanding of data collection and user privacy."],["The request must include a specific acknowledgement phrase stating the user understands the implications of data collection and has necessary user consent."],["The API uses a POST request to a specific endpoint and includes the property ID in the path."],["Upon successful acknowledgement, the response body will be empty."]]],["The core content outlines the process for acknowledging user data collection terms via an API. A `POST` HTTP request to a specific URL is required, including the `property` path parameter. The request body must contain a JSON with the exact `acknowledgement` string confirming understanding of data collection terms. A successful request results in an empty response, requiring `analytics.edit` authorization scope. The acknowledgment must happen to allow resource creation.\n"]]