Disable AJAX Timeout
Prebid.js adds a timeout that pauses the page's ad tag while the Prebid.js library fetches bids and creatives from the selected SSPs and exchanges. This XMLHttpRequest to retrieve bids is terminated once the time out is reached. All bids returned after timeout and once the auction begins are ignored. However, you have the option to disable this by using disableAjaxTimeout
pbjs.setConfig({ disableAjaxTimeout: true });
Arguments:
  • disableAjaxTimeout: boolean

    Boolean to indicate if XMLHttpRequest to retrieve bids will be terminated after timeout has been reached.

Response
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.