U.S. states privacy laws compliance

  • The Google Mobile Ads SDK helps publishers comply with U.S. state privacy laws by offering two parameters to enable restricted data processing (RDP): Google's RDP signal and the IAB-defined IABUSPrivacy_String.

  • Enabling RDP restricts Google's use of certain user data, resulting in the display of non-personalized ads.

  • Publishers can enable RDP on a per-ad request basis using either Google's RDP signal (gad_rdp key in UserDefaults) or the IAB signal (IABUSPrivacy_String key in UserDefaults).

  • When using mediation, publishers should add their mediation partners to the CPRA ad partners list in AdMob, utilize the IAB signal, and consult each partner's documentation for CPRA compliance options.

Select platform: Android iOS Unity Flutter

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 true to UserDefaults storage:

Swift

UserDefaults.standard.set(true, forKey: "gad_rdp")

Objective-C

[NSUserDefaults.standardUserDefaults setBool:YES forKey:@"gad_rdp"];

Use the IAB GPP Signal

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.