向用户投放受限广告
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
自 2021 年 1 月 14 日起,如果用户不同意使用 Cookie、拒绝使用 Cookie,或者在 IAB TCFv2 集成宽限期结束后,IMA 在 GDPR 和 ePrivacy 地区未收到有效的 TC 字符串,IMA iOS SDK 将允许投放受限广告。
对于 DAI SDK,您必须使用
IMAStreamRequest.adTagParameters()
设置
ltd
参数。
如需了解详情,请参阅这篇
受限广告指南。
您还可以通过与意见征求管理平台 (CMP) 集成来自动启用受限广告。iOS SDK 3.11.1 版及更高版本支持此功能。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-10-06。
[null,null,["最后更新时间 (UTC):2025-10-06。"],[],["The IMA iOS SDK, as of January 14, 2021, supports serving limited ads when user cookie consent is denied or unavailable in GDPR and ePrivacy regions. For DAI SDKs, the `ltd` parameter must be set using `IMAStreamRequest.adTagParameters()`. Limited ads can also be enabled automatically via a Consent Management Platform (CMP) integration, supported in SDK version 3.11.1 and later. This is applicable to the user not giving consent or when there is no valid TC string.\n"]]