[null,null,["最后更新时间 (UTC):2025-08-21。"],[[["\u003cp\u003eGoogle's Interactive Media Ads SDK offers two parameters, Google's RDP and IAB's \u003ccode\u003eus_privacy\u003c/code\u003e, for publishers to enable restricted data processing (RDP) for CCPA compliance.\u003c/p\u003e\n"],["\u003cp\u003ePublishers can signal RDP to Google by appending \u003ccode\u003e&rdp=1\u003c/code\u003e to ad tag parameters or by using the \u003ccode\u003eus_privacy\u003c/code\u003e ad tag parameter with an IAB-compliant value, such as \u003ccode\u003e"1YNN"\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eUsing either parameter restricts how Google utilizes specific identifiers and data when providing services, aiding in CCPA compliance.\u003c/p\u003e\n"],["\u003cp\u003eWhile both parameters achieve the same outcome, publishers can utilize both simultaneously, and should determine their usage based on their compliance strategies.\u003c/p\u003e\n"],["\u003cp\u003eThis guide details the steps for publishers to implement these options on an ad-request basis, supporting CCPA compliance within Google's advertising platforms.\u003c/p\u003e\n"]]],[],null,["# Enable restricted data processing\n\nTo help publishers toward compliance with the [California Consumer Privacy Act (CCPA)](//support.google.com/admob/answer/9561022), the Google Interactive Media Ads SDK allows publishers\nto use two different parameters to indicate whether Google should enable\n[restricted data processing](//privacy.google.com/businesses/rdp/) (RDP). The SDK\nprovides publishers with the ability to set RDP at an ad request level utilizing the following\nparameters:\n\n- Google's RDP\n- [IAB-defined](//github.com/InteractiveAdvertisingBureau/USPrivacy/blob/master/CCPA/US%20Privacy%20String.md) `us_privacy`\n\n| **Note:** The RDP and `us_privacy` ad tag parameters are supported for ad tags originating from Ad Manager, AdSense, and AdMob. If you use a third-party ad provider, contact the provider about supporting restricted data processing.\n\n\nWhen either parameter is used, Google restricts how it uses certain unique identifiers and other\ndata processed in the provision of services to publishers.\n\n\nPublishers should decide for themselves how restricted data processing can support their\ncompliance plans and when it should be enabled. It is possible to use both optional parameters at\nthe same time, although they have the same effect on Google's ad serving.\n\n\nThis guide is intended to help publishers understand the steps required to enable these options on\na per-ad-request basis.\n\nRDP signal\n----------\n\n\nTo notify Google that RDP should be enabled using Google's signal, append `&rdp=1` to\nyour ad tag parameters, as shown in the following example: \n\n### Objective-C\n\n```objective-c\n- (void)requestStream {\n ...\n IMALiveStreamRequest *request =\n [[IMALiveStreamRequest alloc] initWithAssetKey:kAssetKey\n adDisplayContainer:adDisplayContainer\n videoDisplay:imaVideoDisplay];\n request.adTagParameters = @{ @\"rdp\" : @1};\n [self.adsLoader requestStreamWithRequest:request];\n}\n```\n\n### Swift\n\n```swift\nfunc requestStream() {\n ...\n let request = IMALiveStreamRequest(assetKey: ViewController.kAssetKey,\n adDisplayContainer: adDisplayContainer,\n videoDisplay: imaVideoDisplay);\n request?.adTagParameters = [\"rdp\" : 1];\n adsLoader.requestStream(with: request)\n}\n```\n\nIAB signal\n----------\n\n\nTo notify Google that RDP should be enabled using IAB's signal, use the ad tag parameter\n`us_privacy`. Make sure that the string value you use is compliant with the\n[IAB specification](//github.com/InteractiveAdvertisingBureau/USPrivacy/blob/master/CCPA/US%20Privacy%20String.md).\n\n\nThe snippet below demonstrates how to create an ad request with the IAB parameter\n`\"1YNN\"`: \n\n### Objective-C\n\n```objective-c\n- (void)requestStream {\n ...\n IMALiveStreamRequest *request =\n [[IMALiveStreamRequest alloc] initWithAssetKey:kAssetKey\n adDisplayContainer:adDisplayContainer\n videoDisplay:imaVideoDisplay];\n request.adTagParameters = @{ @\"us_privacy\" : @\"1YNN\"};\n [self.adsLoader requestStreamWithRequest:request];\n}\n```\n\n### Swift\n\n```swift\nfunc requestStream() {\n ...\n let request = IMALiveStreamRequest(assetKey: ViewController.kAssetKey,\n adDisplayContainer: adDisplayContainer,\n videoDisplay: imaVideoDisplay);\n request?.adTagParameters = [\"us_privacy\" : \"1YNN\"];\n adsLoader.requestStream(with: request)\n}\n```"]]