Enable restricted data processing

  • The Google Interactive Media Ads SDK helps publishers comply with CCPA by allowing them to use two parameters to enable restricted data processing (RDP).

  • Publishers can set RDP at an ad request level using either Google's RDP signal or the IAB-defined us_privacy parameter.

  • Enabling either RDP parameter restricts how Google uses certain unique identifiers and other data when providing services to publishers.

  • Publishers must decide how RDP supports their compliance plans and when to enable it.

  • This guide explains how to enable RDP on a per-ad-request basis using either the Google RDP signal by appending &rdp=1 or the IAB us_privacy parameter with a compliant string value.

Select platform: HTML5 Android iOS tvOS Roku

To help you comply with US states privacy laws, the Google Interactive Media Ads SDK lets you use the following to parameters to indicate whether Google must enable restricted data processing (RDP). The SDK provides publishers with the ability to set RDP at an ad request level utilizing the following parameters:

When you use one of these parameters to indicate that the user opts-out of data sharing, Google restricts the processing of user identifiers and other data, like demographic targeting. Under RDP, Google serves non-personalized ads only, when provision of services to you.

You must decide how restricted data processing can support your compliance plans. You must also decide when to enable RDP. You can use one or more of these optional parameters at the same time, although Google always applies the most restrictive treatment. For example, if either RDP=1, the GPP string, or the us_privacy string indicates a user opts out, Google ad serving enables RDP.

This guide is intended to help publishers understand the steps required to enable these options on a per-ad-request basis.

RDP signal

To notify Google that RDP should be enabled using Google's signal, append &rdp=1 to your ad tag parameters, as shown in the following example:

function requestLiveStream(assetKey, apiKey) {
  var streamRequest = new google.ima.dai.api.LiveStreamRequest();
  streamRequest.assetKey = assetKey;
  streamRequest.apiKey = apiKey;
  streamRequest.adTagParameters = {"rdp": 1};
  streamManager.requestStream(streamRequest);
}

IAB GPP signals

To notify Google that RDP should be enabled using IAB's signals, use the ad tag parameters gpp={gpp string} and gpp_sid={gpp section id}. For more details about using GPP signals, see Supporting the IAB's Global Privacy Platform. Google triggers RDP when certain criteria specific to the US National, California, Colorado, Connecticut, Florida, and Virginia GPP strings are met. For details on Global Privacy Protocol specifications, see the related section in the previously linked article.

function requestLiveStream(assetKey, apiKey) {
  var streamRequest = new google.ima.dai.api.LiveStreamRequest();
  streamRequest.assetKey = assetKey;
  streamRequest.apiKey = apiKey;
  streamRequest.adTagParameters = {
    "gpp": "gpp_string",
    "gpp_sid": "gpp_section_id"
  };
  streamManager.requestStream(streamRequest);
}