为了帮助发布商遵守 《加州消费者隐私法案》(CCPA),Google 互动式媒体广告 SDK 允许发布商使用两种不同的参数来指明 Google 是否应启用受限的数据处理 (RDP)。借助该 SDK,发布商可以利用以下参数在广告请求级别设置 RDP:
- Google 的 RDP
-
IAB 定义的
us_privacy
无论使用哪种参数,Google 都会对某些唯一标识符的使用方式进行限制,并会在向发布商提供服务的过程中对处理的数据进行限制。
发布商应自行决定受限的数据处理如何为其合规性计划提供支持以及应在何时启用。这两种可选参数可同时使用,尽管它们对 Google 的广告投放效果相同。
本指南旨在帮助发布商了解针对每个广告请求启用这些选项所需的操作步骤。
RDP 信号
要使用 Google 的信号通知 Google 应启用 RDP,请将 &rdp=1
附加到广告代码参数,如以下示例所示:
Sub loadStream() ... request = sdk.CreateStreamRequest() if m.top.streamData.type = "live" request.assetKey = m.top.streamData.assetKey else request.contentSourceId = m.top.streamData.contentSourceId request.videoId = m.top.streamData.videoId end if request.apiKey = m.top.streamData.apiKey request.player = m.player request.adTagParameters = "rdp=1"; requestResult = sdk.requestStream(request) ... End Sub
IAB 信号
要使用 IAB 的信号通知 Google 应启用 RDP,请使用广告代码参数 us_privacy
。请务必使用符合
IAB 规范的字符串值。
以下代码段演示了如何使用 IAB 参数 "1YNN"
创建广告请求:
Sub loadStream() ... request = sdk.CreateStreamRequest() if m.top.streamData.type = "live" request.assetKey = m.top.streamData.assetKey else request.contentSourceId = m.top.streamData.contentSourceId request.videoId = m.top.streamData.videoId end if request.apiKey = m.top.streamData.apiKey request.player = m.player request.adTagParameters = "us_privacy=1YNN"; requestResult = sdk.requestStream(request) ... End Sub