Aby omawiać nasze usługi i przekazywać opinie na ich temat, dołącz do oficjalnego kanału AdMob na Discordzie na serwerze społeczności Google Ads i pomiarów.
Musisz zdecydować, w jaki sposób ograniczone przetwarzanie danych może wspierać Twoje plany dotyczące zgodności z przepisami i kiedy je włączyć. Zdecyduj, czy chcesz używać parametru RDP bezpośrednio, czy też sygnalizować zgodę i wybory dotyczące prywatności za pomocą specyfikacji GPP.
Z tego przewodnika dowiesz się, jak włączać RDP w przypadku poszczególnych żądań reklam i korzystać z sygnału GPP.
Włącz sygnał RDP
Aby powiadomić Google, że ograniczone przetwarzanie danych musi być włączone za pomocą sygnału RDP Google, wstaw klucz rdp jako dodatkowy parametr o wartości 1.
Jeśli zbierasz decyzje użytkowników dotyczące zgody za pomocą platformy do zarządzania zgodą lub własnych niestandardowych wiadomości, pakiet SDK do reklam mobilnych Google uwzględnia sygnały GPP zapisane w pamięci lokalnej. Pakiet SDK User Messaging Platform (UMP) obsługuje zapisywanie sygnału GPP. Aby uzyskać zgodę użytkowników z amerykańskich stanów, zapoznaj się z informacjami na stronie US IAB Support (Pomoc dotycząca amerykańskiego IAB).
[null,null,["Ostatnia aktualizacja: 2025-09-02 UTC."],[[["\u003cp\u003eGoogle Mobile Ads SDK enables Restricted Data Processing (RDP) using Google's signal or the IAB-defined \u003ccode\u003eIABUSPrivacy_String\u003c/code\u003e, allowing publishers to comply with U.S. state privacy laws.\u003c/p\u003e\n"],["\u003cp\u003eEnabling RDP signals restricts Google's use of certain data, resulting in the display of non-personalized ads and overriding RDP UI settings.\u003c/p\u003e\n"],["\u003cp\u003ePublishers can implement RDP on a per-ad request basis using extra parameters, \u003ccode\u003erdp\u003c/code\u003e for Google's signal and \u003ccode\u003eIABUSPrivacy_String\u003c/code\u003e for IAB's signal.\u003c/p\u003e\n"],["\u003cp\u003eWhen using mediation, publishers should configure CPRA settings in AdMob, potentially store the IAB signal using \u003ccode\u003eUserDefaults\u003c/code\u003e, and consult each ad network partner's documentation for compliance options.\u003c/p\u003e\n"]]],["Publishers can enable restricted data processing (RDP) for ad requests to comply with U.S. privacy laws. This is done by adding parameters to ad requests, either using Google's `rdp` signal (value: `1`) or IAB's `IABUSPrivacy_String` signal. Both signals trigger non-personalized ads and override UI settings. For mediation, add partners to the CPRA list, consider using `UserDefaults` for the IAB signal, and check each partner's documentation for compliance options. Ensure you have necessary account permissions.\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 that RDP must be enabled using Google's RDP signal, insert\nthe key `rdp` as an extra parameter with a value of `1`. \n\n AdRequest request = new AdRequest();\n request.Extras.Add(\"rdp\", \"1\");\n\n\u003cbr /\u003e\n\n| **Tip:** You can use 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/unity/privacy/us-iab-support)."]]