برای کمک به پیروی از قوانین حریم خصوصی ایالت های ایالات متحده ، Google Mobile Ads SDK به شما امکان می دهد از پارامتر پردازش داده محدود (RDP) Google برای فعال کردن RDP استفاده کنید. Google همچنین از پلتفرم جهانی حریم خصوصی (GPP) برای ایالت های قابل اجرا در ایالات متحده پشتیبانی می کند. وقتی Google Mobile Ads SDK از هر یک از سیگنالها استفاده میکند، SDK شناسههای منحصربهفرد خاصی را محدود میکند و سایر دادهها در ارائه خدمات به شما پردازش میشوند.
شما باید تصمیم بگیرید که چگونه پردازش داده های محدود می تواند از برنامه های انطباق شما پشتیبانی کند و چه زمانی فعال شود. تعیین کنید که آیا از پارامتر RDP به طور مستقیم استفاده کنید یا از انتخاب های رضایت و حریم خصوصی سیگنالینگ با مشخصات GPP استفاده کنید.
این راهنما به شما کمک می کند RDP را بر اساس درخواست هر آگهی فعال کنید و از سیگنال GPP استفاده کنید.
سیگنال RDP را فعال کنید
برای اطلاع دادن به Google برای فعال کردن سیگنال RDP، کلید gad_rdp با مقدار true to UserDefaults storage بنویسید:
اگر تصمیمات رضایت را با یک پلت فرم مدیریت رضایت یا پیامهای سفارشی خود جمعآوری میکنید، کیت توسعه نرمافزار تبلیغات موبایل Google به سیگنالهای GPP نوشته شده در فضای ذخیرهسازی محلی احترام میگذارد. SDK بستر پیامرسانی کاربر (UMP) از نوشتن سیگنال GPP پشتیبانی میکند. برای جلب رضایت ایالت ایالات متحده، به پشتیبانی IAB ایالات متحده مراجعه کنید.
تاریخ آخرین بهروزرسانی 2025-09-02 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-09-02 بهوقت ساعت هماهنگ جهانی."],[[["\u003cp\u003eThe Google Mobile Ads SDK helps publishers comply with U.S. state privacy laws by offering two parameters to enable restricted data processing (RDP): Google's RDP signal and the IAB-defined \u003ccode\u003eIABUSPrivacy_String\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eEnabling RDP restricts Google's use of certain user data, resulting in the display of non-personalized ads.\u003c/p\u003e\n"],["\u003cp\u003ePublishers can enable RDP on a per-ad request basis using either Google's RDP signal (\u003ccode\u003egad_rdp\u003c/code\u003e key in \u003ccode\u003eUserDefaults\u003c/code\u003e) or the IAB signal (\u003ccode\u003eIABUSPrivacy_String\u003c/code\u003e key in \u003ccode\u003eUserDefaults\u003c/code\u003e).\u003c/p\u003e\n"],["\u003cp\u003eWhen using mediation, publishers should add their mediation partners to the CPRA ad partners list in AdMob, utilize the IAB signal, and consult each partner's documentation for CPRA compliance options.\u003c/p\u003e\n"]]],["Publishers can enable restricted data processing (RDP) for U.S. state privacy laws compliance via the Google Mobile Ads SDK. This is achieved by setting either the `gad_rdp` key to `true` or providing a compliant `IABUSPrivacy_String` using `UserDefaults`. Utilizing either signal restricts Google's data processing and serves only non-personalized ads. For mediation, partners should be added to the CPRA ad partners list in the AdMob UI, and consider using the IAB signal via `UserDefaults`. Verify account permissions before configuring.\n"],null,["Select platform: [Android](/admob/android/privacy/us-states \"View this page for the Android platform docs.\") [iOS](/admob/ios/privacy/us-states \"View this page for the iOS platform docs.\") [Unity](/admob/unity/privacy/us-states \"View this page for the Unity platform docs.\") [Flutter](/admob/flutter/privacy/us-states \"View this page for the Flutter platform docs.\")\n\n\u003cbr /\u003e\n\n| **Important:** Verify that you have **Account Management** permission to complete the configuration for EU Consent and GDPR, US State regulations, and User Messaging Platform. See [Manage user access to your\n| account](//support.google.com/admob/answer/2784628) for details.\n\nTo help you comply with\n\n[U.S. states privacy laws](//support.google.com/admob/answer/9561022),\n\nthe Google Mobile Ads SDK lets you use Google\n[restricted data processing](//business.safety.google/rdp/) (RDP) parameter to\nindicate whether to enable RDP. Google also supports the\n\n[Global Privacy Platform](//support.google.com/admob/answer/14126918)\n\n(GPP) for applicable US states. When the Google Mobile Ads SDK uses either\nsignal, the SDK restricts certain unique identifiers and other data is processed\nin the provision of services to you.\n\nYou must decide how restricted data processing can support your compliance plans\nand when to enable. Determine whether to use the RDP parameter\ndirectly or signaling consent and privacy choices with the\n[GPP Specification](//github.com/InteractiveAdvertisingBureau/Global-Privacy-Platform).\n\nThis guide helps you enable RDP on a per-ad request basis and use the GPP\nsignal.\n\nEnable the RDP signal\n\nTo notify Google to enable the RDP signal, write the key `gad_rdp` with a value\nof `true` to `UserDefaults` storage: \n\nSwift \n\n UserDefaults.standard.set(true, forKey: \"gad_rdp\")\n\nObjective-C \n\n [NSUserDefaults.standardUserDefaults setBool:YES forKey:@\"gad_rdp\"];\n\n\u003cbr /\u003e\n\n| **Tip:** You can use [network tracing](/admob/ios/network-tracing) or a proxy tool such as [Charles](//www.charlesproxy.com/) to capture your app's HTTPS traffic and inspect the ad requests for a `&rdp=` parameter.\n\nUse the IAB GPP Signal\n\nIf you collect consent decisions with a consent management platform or your own\ncustom messaging, the Google Mobile Ads SDK respects GPP signals written to\nlocal storage. The User Messaging Platform (UMP) SDK supports writing the GPP\nsignal. To gather US state consent, see\n[US IAB Support](/admob/ios/privacy/us-iab-support)."]]