JWPlayer Plugin with IMA In-Player Contextual Ad Targeting
Overview: This details how IRIS.TV Adaptive Stream clients can implement the Contextual Video Marketplace in their JW Player with IMA3 in-player ad serving.
If you are not an IRIS.TV Adaptive Stream client but are looking to set up Context Ad Targeting, please refer back to https://iristv.atlassian.net/wiki/spaces/API/pages/731873351 and start with the Content Feed Integration step.
If you are an Adaptive Stream client with JW Player but are either (a) serving the ads from an on-page or (b) not using IMA3, follow the instructions here: https://iristv.atlassian.net/wiki/spaces/API/pages/461012993
Setting Up Contextual Ad Targeting
Contextual Ad Targeting requires the use of the IMA3 ad plugin.
If the player is set-up with autoplay, the first video will not receive context in a pre-roll ad call.
Contextual Ad Targeting can be configured to send context segments in either the "cust_params" or the "categories" parameter on the ad tag. The below documentation will walk through the requirements for both workflows.
To Send Contextual segments through "cust_params":
Add “cust_params” macro to their DFP ad tag
In Player Builder, Advertising settings for the player should have Ad Preloading disabled:
Add the following in the HTML config for your JW Player implementation:
"enable_context_ads" : true,
"carousel_recs" : true |
The publisher must then set up targets to the different “context” values provided by IRIS.TV
To Send Contextual segments through "context" key-value:
Add “context” macro to their DFP ad tag
In Player Builder, Advertising settings for the player should have Ad Preloading disabled:
Add the following in the HTML config for your JW Player implementation:
"enable_category_ads" : true,
"carousel_recs" : true |
The publisher must then set up targets to the “context” values provided by IRIS.TV
Once this is set up, please follow the instructions for setting up tracking here: https://iristv.atlassian.net/wiki/spaces/API/pages/459604008 . This is required to launch the Contextual Market Place.