با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
برای کمک به ناشران در راستای پیروی از قانون حفظ حریم خصوصی مصرفکننده کالیفرنیا (CCPA) ، کیت توسعه نرمافزار تبلیغاتی رسانه تعاملی Google به ناشران اجازه میدهد از دو پارامتر مختلف استفاده کنند تا مشخص کنند که آیا Google باید پردازش دادههای محدود (RDP) را فعال کند یا خیر. SDK توانایی تنظیم RDP را در سطح درخواست آگهی با استفاده از پارامترهای زیر به ناشران میدهد:
وقتی از هر یک از پارامترها استفاده میشود، Google نحوه استفاده از شناسههای منحصربهفرد و سایر دادههای پردازش شده در ارائه خدمات به ناشران را محدود میکند.
ناشران باید خودشان تصمیم بگیرند که چگونه پردازش داده های محدود می تواند از برنامه های انطباق آنها پشتیبانی کند و چه زمانی باید فعال شود. استفاده از هر دو پارامتر اختیاری به طور همزمان امکان پذیر است، اگرچه آنها تأثیر یکسانی در ارائه تبلیغات گوگل دارند.
این راهنما برای کمک به ناشران در درک مراحل مورد نیاز برای فعال کردن این گزینهها بر اساس درخواست آگهی در نظر گرفته شده است.
سیگنال RDP
برای اطلاع دادن به Google مبنی بر اینکه RDP باید با استفاده از سیگنال Google فعال شود، &rdp=1 به پارامترهای برچسب آگهی خود اضافه کنید، همانطور که در مثال زیر نشان داده شده است:
برای اطلاع دادن به Google مبنی بر اینکه RDP باید با استفاده از سیگنال IAB فعال شود، از پارامتر برچسب آگهی us_privacy استفاده کنید. مطمئن شوید که مقدار رشته ای که استفاده می کنید با مشخصات IAB مطابقت دارد.
قطعه زیر نحوه ایجاد یک درخواست تبلیغ با پارامتر IAB "1YNN" را نشان می دهد:
تاریخ آخرین بهروزرسانی 2025-08-21 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 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 for CCPA compliance.\u003c/p\u003e\n"],["\u003cp\u003eBy using either \u003ccode\u003e&rdp=1\u003c/code\u003e or \u003ccode\u003eus_privacy\u003c/code\u003e with a compliant value (e.g., "1YNN") in ad tag parameters, publishers can signal Google to restrict data usage.\u003c/p\u003e\n"],["\u003cp\u003ePublishers are responsible for determining when to enable restricted data processing based on their CCPA compliance strategies.\u003c/p\u003e\n"],["\u003cp\u003eBoth RDP and \u003ccode\u003eus_privacy\u003c/code\u003e parameters achieve the same effect on Google's ad serving and can be used simultaneously, although redundant.\u003c/p\u003e\n"],["\u003cp\u003eThis guide provides instructions for implementing these options on a per-ad-request basis for Ad Manager, AdSense, and AdMob.\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```gdscript\nSub loadStream()\n ...\n request = sdk.CreateStreamRequest()\n if m.top.streamData.type = \"live\"\n request.assetKey = m.top.streamData.assetKey\n else\n request.contentSourceId = m.top.streamData.contentSourceId\n request.videoId = m.top.streamData.videoId\n end if\n request.apiKey = m.top.streamData.apiKey\n request.player = m.player\n request.adTagParameters = \"rdp=1\";\n requestResult = sdk.requestStream(request)\n ...\nEnd Sub\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```gdscript\nSub loadStream()\n ...\n request = sdk.CreateStreamRequest()\n if m.top.streamData.type = \"live\"\n request.assetKey = m.top.streamData.assetKey\n else\n request.contentSourceId = m.top.streamData.contentSourceId\n request.videoId = m.top.streamData.videoId\n end if\n request.apiKey = m.top.streamData.apiKey\n request.player = m.player\n request.adTagParameters = \"us_privacy=1YNN\";\n requestResult = sdk.requestStream(request)\n ...\nEnd Sub\n```"]]