To help you comply with
U.S. states privacy laws,
the
Google Mobile Ads SDK
lets you use Google
restricted data processing (RDP) parameter to
indicate whether to enable RDP. Google also supports the
Global Privacy Platform
(GPP) for applicable US states. When the
Google Mobile Ads SDK
uses either
signal, the SDK restricts certain unique identifiers and other data is processed
in the provision of services to you.
You must decide how restricted data processing can support your compliance plans
and when to enable. Determine whether to use the RDP parameter
directly or signaling consent and privacy choices with the
GPP Specification.
This guide helps you enable RDP on a per-ad request basis and use the GPP
signal.
Enable the RDP signal
To notify Google to enable the RDP signal, write the key gad_rdp with a value
of 1 to
SharedPreferences
storage.
Google Mobile Ads SDK
reads the gad_rdp key during ad loading:
If you collect consent decisions with a consent management platform or your own
custom messaging, the
Google Mobile Ads SDK
respects GPP signals written to
local storage. The User Messaging Platform (UMP) SDK supports writing the GPP
signal. To gather US state consent, see
US IAB Support.
[[["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-08-22 UTC."],[[["\u003cp\u003eThis guide explains how to enable restricted data processing (RDP) in the Google Mobile Ads SDK for compliance with U.S. state privacy laws.\u003c/p\u003e\n"],["\u003cp\u003ePublishers can signal RDP using either Google's RDP signal or the IAB-defined \u003ccode\u003eIABUSPrivacy_String\u003c/code\u003e, both leading to non-personalized ads.\u003c/p\u003e\n"],["\u003cp\u003eEach signal can be passed via ad request extras or shared preferences; publishers should refer to code examples and documentation for implementation.\u003c/p\u003e\n"],["\u003cp\u003eFor mediation, publishers need to manage ad partners in Ad Manager, consider using the IAB signal for partner SDK compliance, and consult partner documentation for CPRA options.\u003c/p\u003e\n"]]],[],null,["| **Important:** Verify that you have **Account Management** permission to complete the configuration for EU Consent and GDPR, US State regulations, and User Messaging Platform. See [Manage user access to your\n| account](//support.google.com/admob/answer/2784628) for details.\n\nTo help you comply with\n\n[U.S. states privacy laws](//support.google.com/admanager/answer/9561023),\n\nthe Google Mobile Ads SDK lets you use Google\n[restricted data processing](//business.safety.google/rdp/) (RDP) parameter to\nindicate whether to enable RDP. Google also supports the\n\n[Global Privacy Platform](//support.google.com/admanager/answer/14117049)\n\n(GPP) for applicable US states. When the Google Mobile Ads SDK uses either\nsignal, the SDK restricts certain unique identifiers and other data is processed\nin the provision of services to you.\n\nYou must decide how restricted data processing can support your compliance plans\nand when to enable. Determine whether to use the RDP parameter\ndirectly or signaling consent and privacy choices with the\n[GPP Specification](//github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform).\n\nThis guide helps you enable RDP on a per-ad request basis and use the GPP\nsignal.\n\nEnable the RDP signal\n\nTo notify Google to enable the RDP signal, write the key `gad_rdp` with a value\nof `1` to\n[`SharedPreferences`](//developer.android.com/reference/android/content/SharedPreferences)\nstorage. The Google Mobile Ads SDK reads the `gad_rdp` key during ad loading: \n\nJava \n\n SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(context);\n sharedPref.edit().putInt(\"gad_rdp\", 1).apply();\n\nKotlin \n\n val sharedPref = PreferenceManager.getDefaultSharedPreferences(context)\n sharedPref.edit().putInt(\"gad_rdp\", 1).apply()\n\n\u003cbr /\u003e\n\n| **Tip:** You can use [network tracing](/ad-manager/mobile-ads-sdk/android/network-tracing) or a proxy tool such as [Charles](/ad-manager/mobile-ads-sdk/android/charles) to capture your app's HTTPS traffic and inspect the ad requests for a `&rdp=` parameter.\n\nUse the IAB GPP Signal\n\nIf you collect consent decisions with a consent management platform or your own\ncustom messaging, the Google Mobile Ads SDK respects GPP signals written to\nlocal storage. The User Messaging Platform (UMP) SDK supports writing the GPP\nsignal. To gather US state consent, see\n[US IAB Support](/ad-manager/mobile-ads-sdk/android/privacy/us-iab-support)."]]