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) thì mới có thể tạo tài nguyên MeasurementProtocolSecret.
Yêu cầu HTTP
POST https://analyticsadmin.googleapis.com/v1beta/{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. Xác nhận rằng phương thức gọi của phương thức này hiểu rõ 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ó các thông tin công bố về quyền riêng tư và các quyền cần thiết của 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ả việc liên kết dữ liệu đó với thông tin về lượt truy cập mà Google Analytics thu thập từ tài sản trang web và/hoặc ứ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-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"]]