Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Refresh Bids API call

Open Heray opened this issue 11 years ago • 2 comments

As a site that caches pre-bid calls, I'd like a new API function to request new rounds of bids for all my bidders, so that my site won't have latency for pre-bid calls.

Heray avatar Aug 05 '15 23:08 Heray

This is in progress. Our current design:

requestBidsForAdUnit(adUnitCode) A non blocking function that will send out bid requests for the given ad unit's bidders. If adUnitCode is not given, the function will request bids for ALL ad units.

More details:

  • Re-parse all configuration settings on calling requestBidsForAdUnit() function
  • If they call for a particular placement, only parse settings for that placement
  • Remove all existing bids
  • Time out existing bids that are pending
  • Call for new bids for all or given placement

ghost avatar Aug 05 '15 23:08 ghost

Created requestBidsForAdUnit(adUnitCode) function on master

mkendall07 avatar Aug 06 '15 21:08 mkendall07