src/mediator/auctionmediator.js
function AuctionMediator(config) {
  if (this.init_) {
    this.init_();
  }

  /** @property {boolean} prefix if false, do not add bid provider name to bid targeting key. Default: true */
  this.prefix = config && config.hasOwnProperty('prefix') ? config.prefix : true;
  // store slots by name for easy lookup
  this.slotMap = {};
  this.bidProviders = {};
  this.auctionProvider = null;
  this.auctionRun = {};
  this.timeout_ = AuctionMediator.NO_TIMEOUT;
  this.trigger_ = null;
  this.bidAssembler = new BidAssembler();
  this.requestAssembler = new RequestAssembler();
  this.auctionIdx_ = 0;
  this.doneCallbackOffset_ = AuctionMediator.DEFAULT_DONE_CALLBACK_OFFSET;
  this.omitDefaultBidKey_ = false;
  this.throwErrors_ = false;
  Event.setAuctionId(this.getAuctionId());
}
function AuctionMediator(config) {
  if (this.init_) {
    this.init_();
  }

  /** @property {boolean} prefix if false, do not add bid provider name to bid targeting key. Default: true */
  this.prefix = config && config.hasOwnProperty('prefix') ? config.prefix : true;
  // store slots by name for easy lookup
  this.slotMap = {};
  this.bidProviders = {};
  this.auctionProvider = null;
  this.auctionRun = {};
  this.timeout_ = AuctionMediator.NO_TIMEOUT;
  this.trigger_ = null;
  this.bidAssembler = new BidAssembler();
  this.requestAssembler = new RequestAssembler();
  this.auctionIdx_ = 0;
  this.doneCallbackOffset_ = AuctionMediator.DEFAULT_DONE_CALLBACK_OFFSET;
  this.omitDefaultBidKey_ = false;
  this.throwErrors_ = false;
  Event.setAuctionId(this.getAuctionId());
}
function AuctionMediator ( config ) { if ( this . init_ ) { this . init_ ( ) ; } /** @property {boolean} prefix if false, do not add bid provider name to bid targeting key. Default: true */ this . prefix = config && config . hasOwnProperty ( 'prefix' ) ? config . prefix : true ; // store slots by name for easy lookup this . slotMap = { } ; this . bidProviders = { } ; this . auctionProvider = null ; this . auctionRun = { } ; this . timeout_ = AuctionMediator . NO_TIMEOUT ; this . trigger_ = null ; this . bidAssembler = new BidAssembler ( ) ; this . requestAssembler = new RequestAssembler ( ) ; this . auctionIdx_ = 0 ; this . doneCallbackOffset_ = AuctionMediator . DEFAULT_DONE_CALLBACK_OFFSET ; this . omitDefaultBidKey_ = false ; this . throwErrors_ = false ; Event . setAuctionId ( this . getAuctionId ( ) ) ; }
AuctionMediator coordiates requests to Publisher Ad Servers.

@class
@memberof pubfood#mediator
@private
AuctionMediator coordiates requests to Publisher Ad Servers .