upsert 方法会返回用户删除请求资源,并设置 deletionRequestTime 字段。deletionRequestTime 字段会显示 Google Analytics 收到删除请求的时间。
一旦请求删除,则与该用户 ID 关联的数据将在 72 小时内从“个人用户”报告中移除,然后在下一个删除流程中从 Google Analytics 服务器中删除。删除流程安排为每两个月进行一次。如果您已将用户数据导出到 Google Analytics 之外,我们建议您先在 Google Analytics 中将其删除。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["没有我需要的信息","missingTheInformationINeed","thumb-down"],["太复杂/步骤太多","tooComplicatedTooManySteps","thumb-down"],["内容需要更新","outOfDate","thumb-down"],["翻译问题","translationIssue","thumb-down"],["示例/代码问题","samplesCodeIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2024-11-07。"],[],["The Google Analytics User Deletion API allows deletion of user data using the `upsert` method with a `userDeletionRequest`. Specify the user's ID ( `CLIENT_ID`, `USER_ID`, or `APP_INSTANCE_ID`) and its type. Each ID requires a separate request. Data is removed from the Individual User Report within 72 hours and from Analytics servers within two months, but not from aggregated reports or external exports. OAuth 2.0 scope `https://www.googleapis.com/auth/analytics.user.deletion` is necessary.\n"]]