GAM Timeout is Less than Bidder Timeout. Here’s How To Fix It.

If the bidder timeout doesn’t match that of GAM, some bids can go to waste. Header Bidding is still throwing in bids while GAM is already closed.

This is an issue particularly those prior to 0.20.5 version.

  1. Upgrade to the latest stable HB version
  2. Run PubGuru Ad Inspector (PGAI) and see if you’re still getting the error
  3. If for any reason you need to stick to the current version you’re running and you keep getting this error, you can try modifying the GAM timeout manually on the page by deploying this:

OFF-page (right before the header script):

<script> window.M2_TIMEOUT = 2000; </script>

**Set the number of milliseconds to match the bidder timeout

ON-page:

timeout code

**Set the number of milliseconds to match the bidder timeout

Back to Notification Center