向用户投放受限广告
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
自 2021 年 1 月 14 日起,如果用户不同意使用 Cookie、拒绝使用 Cookie,或者在 IAB TCFv2 集成宽限期结束后,IMA 在 GDPR 和 ePrivacy 地区未收到有效的 TC 字符串,IMA iOS SDK 将允许投放受限广告。
对于客户端 SDK,您必须使用
ltd
参数来触发受限广告请求。
如需了解详情,请参阅这篇
受限广告指南。
您还可以通过与意见征求管理平台 (CMP) 集成来自动启用受限广告。iOS SDK 3.11.1 版及更高版本支持此功能。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-09-05。
[null,null,["最后更新时间 (UTC):2025-09-05。"],[[["\u003cp\u003eAs of January 14, 2021, the IMA iOS 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, the \u003ccode\u003eltd\u003c/code\u003e parameter must be used with client-side SDKs.\u003c/p\u003e\n"],["\u003cp\u003eStarting with version 3.11.1, the iOS SDK supports automatic enabling of limited ads through integration with a Consent Management Platform (CMP).\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 iOS 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.11.1 of the iOS SDK and all later versions."]]