Enable Video Ad Targeting with Prebid.js

Increase video ad revenues by sending unique content performance and contextual signals to buyers through a Prebid.js setup.

Video Ad Targeting is a JW Player feature that increases advertising revenues by sending unique performance and contextual signals to buyers. Implementing this feature by adding a prebid module is an easy way to take advantage of the benefits without making major changes to your exisiting header bidding setup.


Intended Audience

This documentation specifically caters to developers who use Prebid.js on their pages. An understanding of the following Prebid.js concepts is required:


Requirements

ItemNotes
JW Player media IDsUnique identifier for a JW Player video

If you do not know the ID of the applicable video, use one of the following approaches to retrieve the media ID:

API approach:

1. Make a GET https://api.jwplatform.com/v1/videos/list call.
2. In the API response, locate the videos[].key of the applicable video.
Dashboard approach:

From the video list page, copy the ID in the MEDIA ID column.

If the MEDIA ID column is not exposed, click the gear icon above the list of videos. From the list that appears, select Media ID.
JW Player player IDUnique identifier for a JW Player HTML5 player

This is the ID of the HTML DIV element used when instantiating the JW Player instance. You can retrieve this ID by calling player.id, where player is the JW Player instance variable.
Existing Prebid.js implementationIf needed, read Prebid.js's Getting started to set up a Prebid.js implementation.


Implementation

Please follow the instructions listed in Prebid's documentation for our module.



Did this page help you?