JW Player¶
The JW Player RTD module passes contextual and performance based information about individual video impression opportunities. In order to enable JW Player contextual data on The MediaGrid we recommend using Prebid.js 6.20+.
In order to enable the JW Player’s video contextual data to The MediaGrid please use this configuration:
pbjs.setConfig({
...,
realTimeData: {
auctionDelay: 100,
dataProviders: [{
name: "jwplayer",
waitForIt: true,
params: {
mediaIDs: ['abc', 'def', 'ghi', 'jkl'] //optional prefetch
}
}]
}
});
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"
}]
}]
}
}