แสดงโฆษณาแบบจํากัดต่อผู้ใช้
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
ตั้งแต่วันที่ 14 มกราคม 2021 เป็นต้นไป IMA Android SDK จะอนุญาตให้แสดงโฆษณาแบบจำกัดเมื่อผู้ใช้ไม่ให้ความยินยอมในการใช้คุกกี้ ผู้ใช้ปฏิเสธความยินยอมในการใช้คุกกี้ หรือเมื่อ IMA ไม่ได้รับสตริง TC ที่ถูกต้องในภูมิภาค GDPR และ ePrivacy หลังจากระยะเวลาผ่อนผันของการผสานรวม IAB TCFv2
สําหรับ DAI SDK คุณต้องตั้งค่าพารามิเตอร์
ltd
โดยใช้
StreamRequest.setAdTagParameters()
โปรดดู
คู่มือโฆษณาแบบจำกัดสำหรับ
ข้อมูลเพิ่มเติม
นอกจากนี้ คุณยังเปิดใช้โฆษณาแบบจํากัดโดยอัตโนมัติผ่านการผสานรวมกับแพลตฟอร์มการจัดการความยินยอม (CMP) ได้ด้วย ฟีเจอร์นี้ใช้ได้ใน Android SDK เวอร์ชัน 3.16.2 และเวอร์ชันที่ใหม่กว่าทั้งหมด
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-08-21 UTC
[null,null,["อัปเดตล่าสุด 2025-08-21 UTC"],[[["\u003cp\u003eAs of January 14, 2021, the IMA Android SDK can serve limited ads when users do not consent to cookies or when a valid TC string is not received in GDPR and ePrivacy regions.\u003c/p\u003e\n"],["\u003cp\u003eFor DAI SDKs, the \u003ccode\u003eltd\u003c/code\u003e parameter must be set using \u003ccode\u003eStreamRequest.setAdTagParameters()\u003c/code\u003e to enable limited ads.\u003c/p\u003e\n"],["\u003cp\u003eLimited ads can also be automatically enabled by integrating with a Consent Management Platform (CMP) on Android SDK version 3.16.2 and later.\u003c/p\u003e\n"],["\u003cp\u003eMore information about limited ads can be found in the Limited ads guide.\u003c/p\u003e\n"]]],[],null,["# Serve users with Limited Ads\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 DAI SDKs you must set the [`ltd`](//support.google.com/admanager/answer/7320899#ltd) parameter using [`StreamRequest.setAdTagParameters()`](/interactive-media-ads/docs/sdks/android/dai/api/reference/com/google/ads/interactivemedia/v3/api/StreamRequest#public-abstract-void-setadtagparameters-mapstring,-string-adtagparameters) . 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."]]