1. Knowledge Base and Documentation
  2. Video Recommendations
  3. Activating Contextual Data via Player Plugins

JW Player Plugin with IMA In-Player Contextual Ad Targeting

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 the Contextual Video Marketplace Introduction 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 in Retrieving Context using the Adaptive Plugin

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:

IRIS.TV JW Player Contextual Video Marketplace

  • 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:

IRIS.TV JW Contextual Video Marketplace Setup
  • 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

After the Above Integration is Complete:

Once the integration is complete and you’re receiving contextual segments, move on to Activating Contextual Data in the Ad Server in order to add the data into your existing ad workflow.