向使用者放送受限制的廣告
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
自 2021 年 1 月 14 日起,IMA iOS SDK
允許放送受限制的廣告
如果使用者不同意使用 Cookie,使用者拒絕同意
Cookie,或者 IMA 沒有收到 GDPR 和電子隱私權中的有效資訊公開和同意聲明 (TC) 字串
區域,在 IAB 資訊公開和同意聲明架構第 2 版整合作業的寬限期間。
對於 DAI SDK
使用以下參數的
ltd
參數:
IMAStreamRequest.adTagParameters()
,直接在 Google Cloud 控制台實際操作。
詳情請參閱
廣告數量受限指南。
您也可以整合同意聲明管理平台 (CMP),自動啟用受限制的廣告。iOS SDK 3.11.1 以上版本皆支援這項功能。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-08-21 (世界標準時間)。
[null,null,["上次更新時間:2025-08-21 (世界標準時間)。"],[[["\u003cp\u003eAs of January 14, 2021, the IMA iOS SDK can serve limited ads when users don't consent to cookies or a valid Transparency and Consent String (TC string) isn't received in GDPR and ePrivacy regions.\u003c/p\u003e\n"],["\u003cp\u003eFor Dynamic Ad Insertion (DAI) SDKs, publishers need to set the \u003ccode\u003eltd\u003c/code\u003e parameter using \u003ccode\u003eIMAStreamRequest.adTagParameters()\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eLimited ads can also be automatically enabled by integrating with a Consent Management Platform (CMP) starting with iOS SDK version 3.11.1 and later.\u003c/p\u003e\n"]]],["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"],null,["# Serve users with Limited Ads\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 DAI SDKs you must set the [`ltd`](//support.google.com/admanager/answer/7320899#ltd) parameter using [`IMAStreamRequest.adTagParameters()`](/interactive-media-ads/docs/sdks/ios/client-side/reference/Classes/IMAStreamRequest#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.11.1 of the iOS SDK and all later versions."]]