Thay đổi gần đây về Các chính sách dành cho nhà xuất bản của Google đã đặt ra yêu cầu mới về việc thông báo và lấy sự đồng ý cho những nhà xuất bản chuyển dữ liệu vị trí chính xác của người dùng đến Google cho các mục đích liên quan đến quảng cáo.
Nếu bạn phải tuân thủ chính sách này, thì đoạn mã sau đây là một cách để bạn có thể thông báo cho người dùng biết về hoạt động chia sẻ dữ liệu này:
[null,null,["Cập nhật lần gần đây nhất: 2025-03-01 UTC."],[[["Google Publisher Policies now require publishers to obtain user consent before passing precise location data for ads-related purposes."],["Publishers need to clearly inform users about how their precise location data is being used and shared with third parties, such as for personalized advertising, analytics, and attribution."],["The provided code snippets offer examples of how to present a consent overlay to users, but they need to be customized to accurately reflect each publisher's specific data sharing practices."],["Publishers should replace the placeholder comments in the code snippets with their own logic for handling user acknowledgement of the data sharing disclosure."]]],["Google's updated Publisher Policies require publishers to notify users about sharing precise location data for ads. Publishers must obtain user consent for this data sharing. Example code snippets in Kotlin and Java are provided to show how to inform users via a consent overlay. The code displays a message stating that the app may use and share user location for personalized advertising, analytics, and attribution, and directs users to the privacy policy for further information. Customization of the provided code is needed.\n"]]