Privacy Sandbox on Android
Stay organized with collections
Save and categorize content based on your preferences.
The Privacy Sandbox on
Android
introduces new technologies to improve user privacy and enable effective,
personalized advertising experiences for mobile apps. The Privacy Sandbox
includes Privacy-Preserving
APIs,
each of which requires an Ad Services normal
permission in order to support
core advertising use cases without reliance on cross-app identifiers.
Learn more about Android's Privacy Sandbox initiative and
Ad Manager.
Topics API
The Topics
API
is part of the Privacy Sandbox designed to infer coarse-grained interest signals
on-device based on a user's app usage. These signals or "topics" are
recognizable categories that are inferred based on the apps they used.
Apps and advertising platforms can use topics to decide what ads are relevant.
Topics support interest-based advertising (IBA) use cases without requiring
tracking of individual users across mobile apps.
Google Mobile Ads SDK
accesses the Topics API and declares
the following permission by default:
<!-- Topics API permission. -->
<uses-permission android:name="android.permission.ACCESS_ADSERVICES_TOPICS" />
If you want to opt out of Ad Manager testing of Android's Topics API,
see how to prevent the merging of permissions in
Android's instructions.
Attribution Reporting API (with debug reports)
The Attribution Reporting
API
is part of the Privacy Sandbox and is designed to provide improved user privacy
by removing reliance on cross-party user identifiers and to support key use
cases for attribution and conversion measurement across mobile apps.
Google Mobile Ads SDK 22.4.0 accesses the Attribution Reporting API with
debugging reports and declares the
following permissions by default:
<!-- Attribution Reporting API (with debug reports) permissions. -->
<uses-permission android:name="android.permission.ACCESS_ADSERVICES_ATTRIBUTION" />
<uses-permission android:name="android.permission.ACCESS_ADSERVICES_AD_ID" />
If you want to opt out of Ad Manager testing of Android's Attribution
Reporting API, see how to prevent the merging of permissions in
Android's instructions.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-06-12 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-06-12 UTC."],[[["The Privacy Sandbox on Android enhances user privacy while enabling personalized advertising in mobile apps, using technologies like the Topics and Attribution Reporting APIs."],["Privacy-Preserving APIs within the Privacy Sandbox require an Ad Services permission for core ad functionalities, replacing cross-app identifiers."],["The Topics API infers user interests based on app usage, providing coarse-grained signals for interest-based advertising without individual user tracking."],["The Attribution Reporting API improves privacy by removing reliance on cross-party identifiers, supporting attribution and conversion measurement in apps."],["Google Mobile Ads SDK automatically includes necessary permissions for the Topics and Attribution Reporting APIs, offering options to opt-out of Ad Manager testing."]]],["The Privacy Sandbox on Android introduces new technologies to enhance user privacy in mobile advertising. It includes Privacy-Preserving APIs, such as the Topics API and the Attribution Reporting API. The Topics API infers user interests based on app usage without cross-app tracking, enabling interest-based advertising. The Attribution Reporting API supports conversion measurement without relying on user identifiers, it also provides debugging reports. Both API access require `normal` Ad Services permissions, which are declared by default by Google Mobile Ads SDK, but can be opted out of.\n"]]