JW Player
The JW Player RTD module passes contextual and performance-based information about individual video impression opportunities. To enable JW Player contextual data on Commerce Grid we recommend using Prebid.js 6.20+.
Step 1
To enable the JW Player’s video contextual data to Commerce Grid, please use this configuration:
pbjs.setConfig({ ..., realTimeData: { auctionDelay: 100, dataProviders: [{ name: "jwplayer", waitForIt: true, params: { mediaIDs: ['abc', 'def', 'ghi', 'jkl'] //optional prefetch } }] } });
Step 2
The header bidding request, both client-side and server-side, to The MediaGrid containing Permutive cohorts will look like this:
{
"content" : {
"data": [
{
"name":"jwplayer", //should be set in the RTD module
"ext": {
"segtax": 502
},
"segment":[
{
"name":"jwpseg", //if set in the RTD module
"id":"80000020"
}]
}]
}
}