You are here: Publishers > Header bidding solutions > OpenX Bidder > .addSlot self-check

.addSlot advanced implementation self-check

Last updated on August 9, 2017

Before sending your test page to your OpenX representative, you can perform the following self-check steps. Similar steps can be used to perform troubleshooting in the other major browsers.

Verify defined ad slots

Chrome Develop tools console screenshot

  1. From your test page, open the Chrome web browser.
  2. Open the Developer tools panel: Chrome menu > More tools > Developer tools.
  3. Click the Console tab.
  4. Type OX_dfp_ads into the console and press Enter. This will list all defined ad slots. If this response returns an empty list ([]) or ERROR, please ensure that the oxUnits and OX_dfp_ads variable have been defined.

Verify callback functionality

  1. Type oxDone into the console and press Enter.
  2. Type OX_dfp_options.callback into the console and press Enter.

If both these steps result in errors, please check the implementation of the callback method.

Confirm PUBLISHER, NETWORKCODE, and SITE placeholders

  1. Type OX.dfp_bidder_config into the console and press Enter.
    OpenX placeholders to load JSTAG library.
  2. Type OXHBConfig.DFP_mapping into the console and press Enter.

    Placeholders for loading JSTAG library.

If both these steps return { }, confirm that you are using the correct values for PUBLISHER,NETWORKCODE and SITE to load the OpenX JSTAG library.

Confirm the number of ad calls

Screenshot of acj calls.

  1. Click the Network tab.
  2. Filter for acj. This will identify all the OpenX ad calls.
  3. Verify the number of acj calls matches the number of defined ad slots on the page. If the number of acj calls and number of defined ad slots do not match:
    • Some ad slots may not be defined.
    • The code to load the JSTAG library may be malformed.
    • The PUBLISHER,NETWORKCODE orSITE value may be incorrect.

Verify the key-value pairs in ad call

Verifying key value pairs screenshot

  1. Close the Chrome Developer tools panel.
  2. Append ?googfc to the URL in the address bar. The DFP Console will appear.
  3. Click the Page Request tab.
  4. Search for oxb in the Timeline. This confirms that OpenX key-value pairs are being sent to DFP. Verify the number of oxb occurrences matches the number of slots defined in OX_dfp_ads. If these do not match, some ad slots may not be defined.

After completing this self-check, return to step 12 of the .addSlot advanced implementation for OpenX BidderOpenX's header bidding solution. Bidder enables publishers to realize the true value of their direct and indirect inventory in real time. "Bidder" can also mean a program designed to bid in real time on inventory in the OpenX Ad Exchange..

Feedback form