ตีความค่าโหมดความยินยอม
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เลือกแพลตฟอร์ม:
Android
iOS
Flutter
UMP SDK สามารถตีความตัวเลือกความยินยอมตาม GDPR สำหรับ Google
โหมดความยินยอม
UMP SDK จะตีความวัตถุประสงค์ต่อไปนี้
- พื้นที่เก็บข้อมูลโฆษณา
- การปรับโฆษณาตามโปรไฟล์ของผู้ใช้
- ข้อมูลผู้ใช้สำหรับโฆษณา
- พื้นที่เก็บข้อมูล Analytics
การตีความค่าโหมดความยินยอมมีประโยชน์สำหรับแอปที่ได้รับความยินยอมให้ใช้ผลิตภัณฑ์ของคุณ
ก่อนเริ่มต้น
เริ่มต้นใช้งาน
เปิดโหมดความยินยอมใน UI ของ AdMob ดูรายละเอียดเพิ่มเติมได้ที่
จัดการการตั้งค่าโหมดความยินยอม
ใช้ UMP SDK เวอร์ชัน 3.2.0 ขึ้นไป
เริ่มต้น Firebase ก่อนเริ่ม UMP SDK ดูรายละเอียดเพิ่มเติมได้ที่
เพิ่ม SDK ของ Analytics ลงในแอป
ตั้งค่าสถานะความยินยอมเริ่มต้น
UMP SDK จะอัปเดตสถานะความยินยอมเมื่อกฎระเบียบของสหภาพยุโรป (EU)
มีผลกับผู้ใช้
ตั้งค่าสถานะความยินยอมเริ่มต้น
เมื่อกฎระเบียบของ EU ไม่มีผลกับผู้ใช้
ใช้โหมดพื้นฐาน
หากต้องการใช้โหมดพื้นฐาน โปรดดูการรองรับโหมดความยินยอมพื้นฐาน
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-31 UTC
[null,null,["อัปเดตล่าสุด 2025-08-31 UTC"],[],[],null,["# Interpret consent mode values\n\nSelect platform: [Android](/ad-manager/mobile-ads-sdk/android/privacy/consent-mode \"View this page for the Android platform docs.\") [iOS](/ad-manager/mobile-ads-sdk/ios/privacy/consent-mode \"View this page for the iOS platform docs.\") [Flutter](/ad-manager/mobile-ads-sdk/flutter/privacy/consent-mode \"View this page for the Flutter platform docs.\")\n\n\u003cbr /\u003e\n\nThe UMP SDK can interpret GDPR consent choices for Google\n\n[Consent Mode](//support.google.com/admanager/answer/10076805#consentmode).\n\nThe UMP SDK interprets the following purposes:\n\n- ad storage\n- ad personalization\n- ad user data\n- analytics storage\n\nInterpreting consent mode values is useful for apps that get consent for the use\nof your products.\n\nBefore you begin\n----------------\n\n- Make sure you are using the [Google Analytics for Firebase SDK](//firebase.google.com/docs/analytics) in your app.\n- Choose [Basic versus advanced consent mode](//developers.google.com/tag-platform/security/concepts/consent-mode#basic-vs-advanced). Google supports advanced mode by default, while basic mode has additional steps.\n\nGet started\n-----------\n\n1. Turn on consent mode in the AdMob UI. For more details, see\n\n [Manage consent mode settings](//support.google.com/admanager/answer/16053245).\n\n2. Use UMP SDK version 3.2.0 or higher.\n\n3. Initialize Firebase before starting the UMP SDK. For more details, see\n\n [Add the Analytics SDK to your app](//firebase.google.com/docs/analytics/get-started?platform=android#add-sdk).\n\nSet default consent state\n-------------------------\n\nThe UMP SDK updates the consent state when European Union (EU) regulations\napply to the user.\n\n[Set the default consent state](//developers.google.com/tag-platform/security/guides/app-consent?consentmode=basic&platform=android#default-consent)\n\nwhen EU regulations don't apply to the user.\n\nUse basic mode\n--------------\n\nTo use basic mode, see [Consent mode basic mode support](//developers.google.com/funding-choices/fc-sdks#consent_mode_basic_mode_support)."]]