Validate your PB implementation (Web Player)

Make sure that your Player Bidding implementation has no errors.


After following the steps to Set up Player Bidding, you should validate your implementation.

  1. On a page that has a player with PB implemented, open your browser's developer tools panel.
  2. On the Console tab, type jwplayer().getConfig() at the prompt. The console returns the configuration of the player similar to the following screenshot.
1132

You are now prepared to begin the validation process explained in the following sections.



Verify player configuration settings

  1. On the Console tab, verify that the advertising.bids object is present.
  2. Confirm that the following properties have the correct values:
    • bidders[].id
    • bidders[].name
    • bidders[].pubid
    • settings.buckets
    • settings.mediationLayerAdServer

If you need to change any values, refer to the documentation for your implementation.



Verify the SpotX bidder script has loaded

πŸ“˜

If SpotX is not set as a bidding partner bids.bidders[].name: "SpotX", you can skip this section.


  1. On the Network tab, in the filter field, enter js.spotx.tv/directsdk/v1 to locate the value in the network traffic.
  2. Clear the filter or search field and enter cdn.spotxcdn.com/integration/directsdk to locate the value in the network traffic.

If both values are present in the network traffic, the SpotX bidder script is loaded.



Confirm bid requests are sent and processed correctly

On the Network tab, in the filter field, enter the filter string for a bid partner you are using.

Bid partnerFilter domain
Adtelligentadtelligent.com
AppNexusib.adnxs.com
District Mdistrictm.io
EMXemxdgt.com
Index Exchangecasalemedia.com
Media.Netprebid.media.net
MediaGridbidswitch.net
OneVideoads.adaptv.advertising.com
OpenXu.openx.net or {delDomain}/w/1.0/arj
PubMaticpubmatic.com
Rubiconrubiconproject.com
Sonobiapex.go.sonobi.com
SpotXspotxchange.com
Synacor Mediatechnoratimedia.com
Unrulytargeting.unrulymedia.com

Successful bid requests return a 200 code response. Unsuccessful bid requests return a 204 nobid code response.

Repeat this step for each bid partner you are using.



Confirm bid requests are sent and bid responses are received

πŸ“˜

If your mediation layer is not jwp, you can skip this section.

  1. Click the Network tab of the browser developer tools panel.
  2. In the filter field, enter e=abq to show the ping request for the bid request. The vpb property contains the bid request information.
947
  1. Clear the filter field and enter, enter e=abr to show the ping request for the bid response. The vpb property contains the bid response.
945

πŸ’‘

Alternatively, on the Console tab at the console prompt, enter the following to enable listeners that capture the details of the bid request and bid response: jwplayer().on('adBidRequest adBidResponse', (e) => { console.log(e)})



Confirm bidder key-values are present in the ad tag

πŸ“˜

If your mediation layer is not dfp or jwpdfp, you can skip this section.


  1. On the Network tab of the browser developer tools panel, locate your ad tag. You can filter the network traffic by using the identifier from the ad tag.

  2. Click on the ad tag to reveal the headers for the ad tag in the Headers tab.

  3. In the Query String Parameters section, locate cust_params.

  4. Verify that bidder key-values appear in the cust_params parameter. The following table lists the possible bidder partner key-value pairs.


    Bid partnerBid price keyAd key
    Adtelligenthb_pb_adtelligenthb_cache_id_adtellig
    AppNexushb_pb_appnexushb_cache_id_appnexus
    EMXvpb_emx_bidvpb_emx_key
    Index Exchangehb_pb_ixhb_cache_id_ix
    Media.nethb_pb_medianet hb_cache_id_medianet
    MediaGridvpb_mediagrid_bidvpb_mediagrid_key
    OneVideohb_pb_oneVideohb_cache_id_oneVideo
    OpenXhb_pb_openxhb_cache_id_openx
    PubMaticvpb_pubmatic_bidvpb_pubmatic_key
    Rubiconhb_pb_rubiconhb_cache_id_rubicon
    Sonobihb_pb_sonobihb_cache_id_sonobi
    SpotXspotx_bidspotx_ad_key
    District Mhb_pb_districtmDMXhb_cache_id_district
    Synacor Mediahb_pb_synacormediahb_cache_id_synacorm
    Unrulyhb_pb_unruly hb_cache_id_unruly


πŸ“˜

If no bid was received by an SSP bidder bidder.result=0 then no cust_params will be appended to the ad tag for that bidder.