As a publisher, I want prebid.js to trigger DFP immediately after the first bid came back after a specified time, so that I can speed up the adserver latency.
Today's setTimeout behavior:
If setTimeout is at 500ms, bidder A took 600ms, bidder B took 800ms, no header bidding happens.
New timeout behavior:
If the "soft" timeout is at 500ms, bidder A took 600ms, bidder B took 800ms, at 500ms, prebid.js will wait until the first bid is back. Thus at 600ms, prebid.js will attach bidder A's bid to the adserver impression and triggers adserver.
To prevent all bids took forever to return, the publisher should still set the normal setTimeout at a number larger than the "soft" timeout, e.g. 700ms in this case.
As a publisher, I want prebid.js to trigger DFP immediately after the first bid came back after a specified time, so that I can speed up the adserver latency.
Today's setTimeout behavior:
If setTimeout is at 500ms, bidder A took 600ms, bidder B took 800ms, no header bidding happens.
New timeout behavior:
If the "soft" timeout is at 500ms, bidder A took 600ms, bidder B took 800ms, at 500ms, prebid.js will wait until the first bid is back. Thus at 600ms, prebid.js will attach bidder A's bid to the adserver impression and triggers adserver.
To prevent all bids took forever to return, the publisher should still set the normal setTimeout at a number larger than the "soft" timeout, e.g. 700ms in this case.