mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-16 15:06:35 +03:00
42 lines
1.3 KiB
Go
42 lines
1.3 KiB
Go
package rtb
|
|
|
|
// Indicator of auction eligibility to seats named in the Direct Deals object, where 0 = all bids are accepted,
|
|
// 1 = bids are restricted to the deals specified and the terms thereof.
|
|
const (
|
|
PMPPrivateAuctionUnrestricted uint8 = 0 // 0 = all bids are accepted
|
|
PMPPrivateAuctionRestricted uint8 = 1 // 1 = bids are restricted to the deals specified and the terms thereof
|
|
)
|
|
|
|
// 3.2.17 Object: Pmp
|
|
//
|
|
// This object is the private marketplace container for direct deals between buyers and sellers that may pertain
|
|
// to this impression. The actual deals are represented as a collection of Deal objects. Refer to Section 7.2
|
|
// for more details.
|
|
type PMP struct {
|
|
|
|
// Attribute:
|
|
// private_auction
|
|
// Type:
|
|
// integer
|
|
// Description:
|
|
// Indicator of auction eligibility to seats named in the Direct Deals object, where 0 = all bids are accepted,
|
|
// 1 = bids are restricted to the deals specified and the terms thereof.
|
|
PrivateAuction int8 `json:"private_auction"`
|
|
|
|
// Attribute:
|
|
// id
|
|
// Type:
|
|
// integer
|
|
// Description:
|
|
// Array of Deal (Section 3.2.18) objects that convey the specific deals applicable to this impression.
|
|
Deals []Deal `json:"deals"`
|
|
|
|
// Attribute:
|
|
// ext
|
|
// Type:
|
|
// object
|
|
// Description:
|
|
// Placeholder for exchange-specific extensions to OpenRTB.
|
|
Ext Ext `json:"ext"`
|
|
}
|