AI-generated Key Takeaways
-
Limited ads are served by the IMA HTML5 SDK when user consent for cookies is not given or is denied, or when a valid TC string is not received in GDPR and ePrivacy regions after the IAB TCFv2 grace period.
-
To enable limited ads for DAI SDKs, you must set the
ltd
parameter usingStreamRequest.adTagParameters
. -
Publishers using Google Publisher Tag (GPT) need to also set
PrivacySettingsConfig.limitedAds
to disable GPT-related cookies. -
Publishers are responsible for playback and must configure the player to request the manifest with
withCredentials=false
as the manifest URL points to a cookied domain. -
Limited ads can be automatically enabled by integrating with a Consent Management Platform (CMP), supported by the latest HTML5 SDK version.
As of January 14th 2021, the IMA HTML5 SDK allows limited ads to be served when the user does not give consent to cookies, the user denies consent to cookies, or when IMA does not receive a valid TC string in GDPR and ePrivacy regions following the grace period of IAB TCFv2 integration.
For DAI SDKs you must set theltd
parameter using
StreamRequest.adTagParameters
.
Please see this
Limited ads guide for
more information.
Publishers using Google Publisher Tag (GPT) will need to also set
PrivacySettingsConfig.limitedAds
to disable GPT-related cookies. The following code snippet shows how to do this
based on
IMA's companion ads guide:
... <!-- Register your companion slots --> <script type='text/javascript'> googletag.cmd.push(function() { googletag.pubads().setPrivacySettings({ limitedAds: true, }); // Supply YOUR_NETWORK and YOUR_UNIT_PATH. googletag.defineSlot('/YOUR_NETWORK/YOUR_UNIT_PATH', [728, 90], 'companionDiv') .addService(googletag.companionAds()) .addService(googletag.pubads()); googletag.companionAds().setRefreshUnfilledSlots(true); googletag.pubads().enableVideoAds(); googletag.enableServices(); }); </script> ...
withCredentials=false
.
Please see the following links to set this for your specific player:
- hls.js
- JW Player
(scroll for
withCredentials
property) - Shaka Player
It is also possible to enable limited ads automatically through integrating with
a Consent Management Platform (CMP). This is supported on
the latest version of the HTML5 SDK as of January 14th 2021.