openrtb / OpenRTB

Documentation and issue tracking for the OpenRTB Project
BSD 2-Clause "Simplified" License
854 stars 143 forks source link

Request for clarification: imp.bidfloor vs deal.bidfloor #25

Open Crystark opened 8 years ago

Crystark commented 8 years ago

Hi,

I would like some clarification on this matter: if both imp.bidfloor and deal.bidfloor are set, should one be taking into account the highest or should the deal.bidfloor prevail ? My understanding was that there can be various use case and overrides from different parties so one should always take everything into account (so take the highest).

Thanks

markhu commented 7 years ago

Good question. The examples in the OpenRTB spec all showed bidfloor larger in the deals than in the imp so that doesn't help. But I think the best clue is the "at" (auction type) field, described as

Optional override of the overall auction type of the bid request, where 1 = First Price, 2 = Second Price Plus, 3 = the value passed in bidfloor is the agreed upon deal price. Additional auction types can be defined by the exchange.

In short, it sounds like the answer varies depending on the "at" value.

Crystark commented 7 years ago

Thanks for this answer. I understand that at=3 will indictate a fixed price but in case of at=1 or at=2 it isn't clear what one should do.