برای کمک به ناشران در راستای پیروی از قانون حفظ حریم خصوصی مصرفکننده کالیفرنیا (CCPA) ، کیت توسعه نرمافزار تبلیغاتی رسانه تعاملی Google به ناشران اجازه میدهد از دو پارامتر مختلف استفاده کنند تا مشخص کنند که آیا Google باید پردازش دادههای محدود (RDP) را فعال کند یا خیر. SDK توانایی تنظیم RDP را در سطح درخواست آگهی با استفاده از پارامترهای زیر به ناشران میدهد:
وقتی از هر یک از پارامترها استفاده میشود، Google نحوه استفاده از شناسههای منحصربهفرد و سایر دادههای پردازش شده در ارائه خدمات به ناشران را محدود میکند.
ناشران باید خودشان تصمیم بگیرند که چگونه پردازش داده های محدود می تواند از برنامه های انطباق آنها پشتیبانی کند و چه زمانی باید فعال شود. استفاده از هر دو پارامتر اختیاری به طور همزمان امکان پذیر است، اگرچه آنها تأثیر یکسانی در ارائه تبلیغات گوگل دارند.
این راهنما برای کمک به ناشران در درک مراحل مورد نیاز برای فعال کردن این گزینهها بر اساس درخواست آگهی در نظر گرفته شده است.
سیگنال RDP
برای اطلاع دادن به Google مبنی بر اینکه RDP باید با استفاده از سیگنال Google فعال شود، &rdp=1 به پارامترهای برچسب آگهی خود اضافه کنید، همانطور که در مثال زیر نشان داده شده است:
برای اطلاع دادن به Google مبنی بر اینکه RDP باید با استفاده از سیگنال IAB فعال شود، از پارامتر برچسب آگهی us_privacy استفاده کنید. مطمئن شوید که مقدار رشته ای که استفاده می کنید با مشخصات IAB مطابقت دارد.
قطعه زیر نحوه ایجاد یک درخواست تبلیغ با پارامتر IAB "1YNN" را نشان می دهد:
تاریخ آخرین بهروزرسانی 2025-09-05 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-09-05 بهوقت ساعت هماهنگ جهانی."],[[["\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 for CCPA compliance.\u003c/p\u003e\n"],["\u003cp\u003eWhen either parameter is used, Google limits its use of certain unique identifiers and data processing for ad serving to support CCPA compliance.\u003c/p\u003e\n"],["\u003cp\u003ePublishers can utilize either or both parameters in their ad requests to signal restricted data processing to Google.\u003c/p\u003e\n"],["\u003cp\u003eGoogle's RDP signal is enabled by appending \u003ccode\u003e&rdp=1\u003c/code\u003e to the ad tag parameters.\u003c/p\u003e\n"],["\u003cp\u003eIAB's signal is enabled by using the \u003ccode\u003eus_privacy\u003c/code\u003e ad tag parameter with a compliant string value as defined by the IAB specification.\u003c/p\u003e\n"]]],[],null,["Select platform: [HTML5](/interactive-media-ads/docs/sdks/html5/client-side/ccpa \"View this page for the HTML5 platform docs.\") [Android](/interactive-media-ads/docs/sdks/android/client-side/ccpa \"View this page for the Android platform docs.\") [iOS](/interactive-media-ads/docs/sdks/ios/client-side/ccpa \"View this page for the iOS platform docs.\") [tvOS](/interactive-media-ads/docs/sdks/tvos/client-side/ccpa \"View this page for the tvOS platform docs.\")\n\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\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```scdoc\nhttps://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&output=vast&rdp=1\n```\n\nIAB signal\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```scdoc\nhttps://pubads.g.doubleclick.net/gampad/ads?iu=/21775744923/external/single_ad_samples&output=vast&us_privacy=1YNN\n```"]]