Để thảo luận và đưa ra ý kiến phản hồi về các sản phẩm của chúng tôi, hãy tham gia kênh Discord chính thức của AdMob trong máy chủ Cộng đồng quảng cáo và đo lường của Google.
Để giúp bạn tuân thủ luật về quyền riêng tư của các tiểu bang ở Hoa Kỳ, SDK quảng cáo trên thiết bị di động của Google cho phép bạn sử dụng thông số xử lý dữ liệu bị hạn chế (RDP) của Google để cho biết có nên bật RDP hay không. Google cũng hỗ trợ Nền tảng quyền riêng tư trên toàn cầu (GPP) cho những tiểu bang ở Hoa Kỳ chịu sự điều chỉnh của luật hiện hành về quyền riêng tư. Khi SDK quảng cáo trên thiết bị di động của Google sử dụng một trong hai tín hiệu này, SDK sẽ hạn chế một số giá trị nhận dạng duy nhất và dữ liệu khác được xử lý trong quá trình cung cấp dịch vụ cho bạn.
Bạn phải quyết định cách chế độ xử lý dữ liệu bị hạn chế có thể hỗ trợ kế hoạch tuân thủ của bạn và thời điểm bật chế độ này. Xác định xem có nên sử dụng trực tiếp tham số RDP hay báo hiệu sự đồng ý và lựa chọn về quyền riêng tư bằng Quy cách GPP.
Hướng dẫn này giúp bạn bật RDP trên cơ sở mỗi yêu cầu quảng cáo và sử dụng tín hiệu GPP.
Bật tín hiệu RDP
Để thông báo cho Google biết phải bật tín hiệu RDP, hãy ghi khoá gad_rdp có giá trị 1 vào bộ nhớ SharedPreferences. SDK Quảng cáo của Google trên thiết bị di động sẽ đọc khoá gad_rdp trong khi tải quảng cáo:
Nếu bạn thu thập quyết định đồng ý bằng một nền tảng quản lý sự đồng ý hoặc thông báo tuỳ chỉnh của riêng mình, thì SDK quảng cáo trên thiết bị di động của Google sẽ tuân thủ các tín hiệu GPP được ghi vào bộ nhớ cục bộ. SDK Nền tảng thông báo cho người dùng (UMP) hỗ trợ việc ghi tín hiệu GPP. Để thu thập sự đồng ý của người dùng ở các tiểu bang tại Hoa Kỳ, hãy xem phần Hỗ trợ của IAB tại Hoa Kỳ.
[null,null,["Cập nhật lần gần đây nhất: 2025-08-31 UTC."],[[["\u003cp\u003eThis guide explains how to enable restricted data processing (RDP) in Google Mobile Ads SDK to comply with U.S. state privacy laws.\u003c/p\u003e\n"],["\u003cp\u003ePublishers can signal RDP using either Google's RDP signal or the IAB-defined \u003ccode\u003eIABUSPrivacy_String\u003c/code\u003e, both resulting in non-personalized ads.\u003c/p\u003e\n"],["\u003cp\u003eTwo methods are available for each signal: adding an extras parameter to the ad request or utilizing shared preferences.\u003c/p\u003e\n"],["\u003cp\u003eFor mediation, add your partners to the CPRA ad partners list in AdMob, use shared preferences for the IAB signal, and consult partners' documentation for compliance options.\u003c/p\u003e\n"]]],[],null,["# U.S. states privacy laws compliance\n\nSelect 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\n\nGoogle Mobile Ads SDK\n\nlets 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\n\nGoogle Mobile Ads SDK\n\nuses 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---------------------\n\nTo notify Google to enable the RDP signal, write the key `gad_rdp` with a value\nof `1` to\n[`SharedPreferences`](//developer.android.com/reference/android/content/SharedPreferences)\nstorage.\n\nGoogle Mobile Ads SDK\n\nreads the `gad_rdp` key during ad loading: \n\n### Java\n\n SharedPreferences sharedPref = PreferenceManager.getDefaultSharedPreferences(context);\n sharedPref.edit().putInt(\"gad_rdp\", 1).apply();\n\n### Kotlin\n\n val sharedPref = PreferenceManager.getDefaultSharedPreferences(context)\n sharedPref.edit().putInt(\"gad_rdp\", 1).apply()\n\n\u003cbr /\u003e\n\n| **Tip:** You can use [network tracing](/admob/android/network-tracing) or a proxy tool such as [Charles](/admob/android/charles) to capture your app's HTTPS traffic and inspect the ad requests for a `&rdp=` parameter.\n\nUse the IAB GPP Signal\n----------------------\n\nIf you collect consent decisions with a consent management platform or your own\ncustom messaging, the\n\nGoogle Mobile Ads SDK\n\nrespects 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/android/privacy/us-iab-support)."]]