แสดงโฆษณาแบบจํากัดต่อผู้ใช้
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
เลือกแพลตฟอร์ม:
HTML5
Android
iOS
ตั้งแต่วันที่ 14 มกราคม 2021 เป็นต้นมา IMA Android SDK
อนุญาตให้แสดงโฆษณาแบบจำกัด
เมื่อผู้ใช้ไม่ให้ความยินยอมใช้คุกกี้ ผู้ใช้ปฏิเสธความยินยอมใช้
คุกกี้ หรือเมื่อ IMA ไม่ได้รับสตริง TC ที่ถูกต้องใน GDPR และ ePrivacy
หลังจากระยะเวลาผ่อนผันของการผสานรวม TCFv2 ของ IAB
สำหรับ SDK ฝั่งไคลเอ็นต์ คุณต้องใช้พารามิเตอร์
ltd
เพื่อ
ทริกเกอร์คำขอโฆษณาแบบจำกัด
โปรดดูข้อมูลเพิ่มเติมใน
คู่มือโฆษณาแบบจำกัด
นอกจากนี้ คุณยังเปิดใช้โฆษณาแบบจำกัดโดยอัตโนมัติได้ด้วยการผสานรวมกับ
แพลตฟอร์มการจัดการความยินยอม (CMP) ฟีเจอร์นี้รองรับใน Android SDK เวอร์ชัน 3.16.2 และเวอร์ชันที่ใหม่กว่าทั้งหมด
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-09-06 UTC
[null,null,["อัปเดตล่าสุด 2025-09-06 UTC"],[[["\u003cp\u003eAs of January 14, 2021, the IMA Android SDK can serve limited ads when user consent for cookies is not granted or a valid TC string is not received in GDPR and ePrivacy regions.\u003c/p\u003e\n"],["\u003cp\u003eTo request limited ads, client-side SDKs must utilize the \u003ccode\u003eltd\u003c/code\u003e parameter.\u003c/p\u003e\n"],["\u003cp\u003eAutomatic enablement of limited ads is possible through integration with a Consent Management Platform (CMP), supported on Android SDK version 3.16.2 and later.\u003c/p\u003e\n"]]],[],null,["Select platform: [HTML5](/interactive-media-ads/docs/sdks/html5/client-side/limited-ads \"View this page for the HTML5 platform docs.\") [Android](/interactive-media-ads/docs/sdks/android/client-side/limited-ads \"View this page for the Android platform docs.\") [iOS](/interactive-media-ads/docs/sdks/ios/client-side/limited-ads \"View this page for the iOS platform docs.\")\n\n\u003cbr /\u003e\n\nAs of January 14th 2021, the IMA Android SDK\nallows [limited ads](//support.google.com/admanager/answer/9882911) to be served\nwhen the user does not give consent to cookies, the user denies consent to\ncookies, or when IMA does not receive a valid TC string in GDPR and ePrivacy\nregions following the grace period of IAB TCFv2 integration.\nFor client-side SDKs you must use the [`ltd`](//support.google.com/admanager/table/9749596#ltd) parameter to trigger a limited ads request. Please see this [Limited ads guide](//support.google.com/admanager/answer/9882911) for more information.\n\n\u003cbr /\u003e\n\nIt is also possible to enable limited ads automatically through integrating with\na Consent Management Platform (CMP). This is supported on\n\nversion 3.16.2 of the Android SDK and all later versions."]]