Bidder Timeout
Set a global bidder timeout. The bidderTimeout pauses the page's ad tag while the Prebid.js library fetches bids and creatives from the selected SSPs and exchanges.
pbjs.setConfig({ bidderTimeout: 3000 })
  • bidderTimeout: number

    Number indicating the length, in milliseconds, of the timeout. The default setting is 3000.

Bid Timeouts and JavaScript Timers: Note that it’s possible for the timeout to be triggered later than expected, leading to a bid participating in the auction later than expected. This is due to how setTimeout works in JS: it queues the callback in the event loop in an approximate location that should execute after this time but it is not guaranteed. With a busy page load, bids can be included in the auction even if the time to respond is greater than the timeout set by Prebid.js. However, we do close the auction immediately if the threshold is greater than 200ms, so you should see a drop off after that period. For more information about the asynchronous event loop and setTimeout, see How JavaScript Timers Work.
Response Description
{ response: example }
  • param1: string

    String indicating some value that has to be passed as a string type.

  • param2: number

    Number indicating some value that has to be passed as a number type.

    Note: This number should be between 0 and infinity.