Method: properties.acknowledgeUserDataCollection
ยอมรับข้อกําหนดของการเก็บรวบรวมข้อมูลผู้ใช้สําหรับพร็อพเพอร์ตี้ที่ระบุ
การยอมรับนี้ต้องเสร็จสมบูรณ์ (ใน UI ของ Google Analytics หรือผ่าน API นี้) ก่อนจึงจะสร้างแหล่งข้อมูล MeasurementProtocolSecret ได้
คำขอ HTTP
POST https://analyticsadmin.googleapis.com/v1beta/{property=properties/*}:acknowledgeUserDataCollection
URL ใช้ไวยากรณ์การแปลง gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
property |
string
ต้องระบุ พร็อพเพอร์ตี้ที่รับทราบการเก็บรวบรวมข้อมูลผู้ใช้
|
เนื้อหาของคำขอ
เนื้อหาของคำขอมีข้อมูลที่มีโครงสร้างต่อไปนี้
การแสดง JSON |
{
"acknowledgement": string
} |
ช่อง |
acknowledgement |
string
ต้องระบุ การยืนยันว่าผู้เรียกใช้เมธอดนี้เข้าใจข้อกําหนดของการเก็บรวบรวมข้อมูลผู้ใช้ ช่องนี้ต้องมีค่าที่ตรงกันทุกประการว่า "ฉันรับทราบว่าฉันได้รับสิทธิ์และการเปิดเผยข้อมูลความเป็นส่วนตัวที่จำเป็นจากผู้ใช้ปลายทางเพื่อเก็บรวบรวมและประมวลผลข้อมูลผู้ใช้ ซึ่งรวมถึงการเชื่อมโยงข้อมูลดังกล่าวเข้ากับข้อมูลการเข้าชมที่ Google Analytics เก็บรวบรวมจากพร็อพเพอร์ตี้เว็บไซต์และ/หรือแอปของฉันด้วย"
|
เนื้อหาการตอบกลับ
หากดำเนินการสำเร็จ เนื้อหาการตอบกลับจะว่างเปล่า
ขอบเขตการให้สิทธิ์
ต้องใช้ขอบเขต 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"]]