CCPA Detect Do not track, Google Account Web & App Activity Off

Viewed 550

For the up coming CCPA California Consumer Privacy Act I need to detect the device settings for Do Not Track or Opt out of Ads Personalization.

Is there a way to detect these inside of my app? Does Google provide an API call?

To Find the settings

  1. Go to the Settings app.
  2. Tap on Google settings.
  3. Tap Google Account (Info, security & personalization)
  4. Tap on the Data & personalization tab.
  5. Tap on Web & App Activity.
  6. Toggle Web & App Activity off.
1 Answers

For now, Google didn't add the consent form for CCPA in SDK. However, you can use personalized ads by taking consent from a user by a custom consent form. Before requesting an ad you need to pass a parameter in AdRequest, this is the same way we are passing a parameter for GDPR compliance.

Bundle networkExtrasBundle = new Bundle();
networkExtrasBundle.putInt("rdp", 1);
AdRequest request = new AdRequest.Builder()
.addNetworkExtrasBundle(AdMobAdapter.class, networkExtrasBundle)
.build();

You can get some more details from here https://developers.google.com/admob/android/ccpa

Related