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.
Next Gen 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.
Next Gen 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-09-09 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-09-09 UTC."],[[["\u003cp\u003eThe Privacy Sandbox on Android enhances user privacy while enabling personalized advertising in mobile apps, using technologies like the Topics and Attribution Reporting APIs.\u003c/p\u003e\n"],["\u003cp\u003ePrivacy-Preserving APIs within the Privacy Sandbox require an Ad Services permission for core ad functionalities, replacing cross-app identifiers.\u003c/p\u003e\n"],["\u003cp\u003eThe Topics API infers user interests based on app usage, providing coarse-grained signals for interest-based advertising without individual user tracking.\u003c/p\u003e\n"],["\u003cp\u003eThe Attribution Reporting API improves privacy by removing reliance on cross-party identifiers, supporting attribution and conversion measurement in apps.\u003c/p\u003e\n"],["\u003cp\u003eGoogle Mobile Ads SDK automatically includes necessary permissions for the Topics and Attribution Reporting APIs, offering options to opt-out of Ad Manager testing.\u003c/p\u003e\n"]]],["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"],null,["The [Privacy Sandbox on\nAndroid](//developer.android.com/design-for-safety/privacy-sandbox/introduction)\nintroduces new technologies to improve user privacy and enable effective,\npersonalized advertising experiences for mobile apps. The Privacy Sandbox\nincludes [Privacy-Preserving\nAPIs](//developer.android.com/design-for-safety/privacy-sandbox/introduction#privacy-preserving-apis),\neach of which requires an Ad Services `normal` permission in order to support\ncore advertising use cases without reliance on cross-app identifiers.\n\nLearn more about [Android's Privacy Sandbox initiative and\nAd Manager](https://support.google.com/admanager/answer/12270545).\n\nTopics API\n\nThe [Topics\nAPI](//developer.android.com/design-for-safety/privacy-sandbox/topics)\nis part of the Privacy Sandbox designed to infer coarse-grained interest signals\non-device based on a user's app usage. These signals or \"topics\" are\nrecognizable categories that are inferred based on the apps they used.\n\nApps and advertising platforms can use topics to decide what ads are relevant.\nTopics support interest-based advertising (IBA) use cases without requiring\ntracking of individual users across mobile apps.\n\nNext Gen Mobile Ads SDK\naccesses the Topics API and declares\nthe following permission by default: \n\n \u003c!-- Topics API permission. --\u003e\n \u003cuses-permission android:name=\"android.permission.ACCESS_ADSERVICES_TOPICS\" /\u003e\n\nIf you want to opt out of Ad Manager testing of Android's Topics API,\nsee how to prevent the merging of permissions in\n[Android's instructions](//developer.android.com/design-for-safety/privacy-sandbox/setup-api-access#declare-adservices).\n\nAttribution Reporting API (with debug reports)\n\nThe [Attribution Reporting\nAPI](//developer.android.com/design-for-safety/privacy-sandbox/attribution)\nis part of the Privacy Sandbox and is designed to provide improved user privacy\nby removing reliance on cross-party user identifiers and to support key use\ncases for attribution and conversion measurement across mobile apps.\n\nNext Gen Mobile Ads SDK 22.4.0 accesses the Attribution Reporting API with\n[debugging reports](//developer.android.com/design-for-safety/privacy-sandbox/attribution#extended-debugging-reports) and declares the\nfollowing permissions by default: \n\n \u003c!-- Attribution Reporting API (with debug reports) permissions. --\u003e\n \u003cuses-permission android:name=\"android.permission.ACCESS_ADSERVICES_ATTRIBUTION\" /\u003e\n \u003cuses-permission android:name=\"android.permission.ACCESS_ADSERVICES_AD_ID\" /\u003e\n\nIf you want to opt out of Ad Manager testing of Android's Attribution\nReporting API, see how to prevent the merging of permissions in\n[Android's instructions](//developer.android.com/design-for-safety/privacy-sandbox/setup-api-access#declare-adservices)."]]