pub struct Deal {
pub id: String,
pub bidfloor: f64,
pub bidfloorcur: String,
pub at: AuctionType,
pub wseat: Option<Vec<String>>,
pub wadomain: Option<Vec<String>>,
pub ext: Option<Map<String, Value>>,
}
Expand description
3.2.12 Object: Deal
This object constitutes a specific deal that was struck a priori between a buyer and a seller. Its presence with the Pmp collection indicates that this impression is available under the terms of that deal. Refer to Section 7.3 for more details.
Fields§
§id: String
string; required A unique identifier for the direct deal.
bidfloor: f64
float; default 0 Minimum bid for this impression expressed in CPM.
bidfloorcur: String
string; default ”USD” Currency specified using ISO-4217 alpha codes. This may be different from bid currency returned by bidder if this is allowed by the exchange.
at: AuctionType
integer 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.
wseat: Option<Vec<String>>
string array Whitelist of buyer seats (e.g., advertisers, agencies) allowed to bid on this deal. IDs of seats and the buyer’s customers to which they refer must be coordinated between bidders and the exchange a priori. Omission implies no seat restrictions.
wadomain: Option<Vec<String>>
string array Array of advertiser domains (e.g., advertiser.com) allowed to bid on this deal. Omission implies no advertiser restrictions.
ext: Option<Map<String, Value>>
object Placeholder for exchange-specific extensions to OpenRTB.