向用户投放受限广告
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
自 2021 年 1 月 14 日起,IMA Android SDK
允许系统投放受限广告
如果用户不同意使用 Cookie,则用户拒绝
Cookie,或者 IMA 在 GDPR 和《电子隐私指令》中未收到有效的 TC 字符串时
在 IAB TCFv2 集成宽限期过后进入新区域。
对于 DAI SDK,您必须使用
StreamRequest.setAdTagParameters()
设置
ltd
参数。
如需了解详情,请参阅
“广告投放量受限”指南。
您还可以通过与意见征求管理平台 (CMP) 集成来自动启用受限广告。以下系统支持此功能:
3.16.2 版及所有更高版本。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-21。
[null,null,["最后更新时间 (UTC):2025-08-21。"],[[["\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."]]