mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-15 22:46:34 +03:00
native/request: copied openrtb.Protocol enum
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
package request
|
||||
|
||||
// 5.8 Protocols (from OpenRTB spec 2.5)
|
||||
//
|
||||
// Options for the various bid response protocols that could be supported by an exchange.
|
||||
type Protocol int8
|
||||
|
||||
const (
|
||||
ProtocolVAST10 Protocol = 1 // VAST 1.0
|
||||
ProtocolVAST20 Protocol = 2 // VAST 2.0
|
||||
ProtocolVAST30 Protocol = 3 // VAST 3.0
|
||||
ProtocolVAST10Wrapper Protocol = 4 // VAST 1.0 Wrapper
|
||||
ProtocolVAST20Wrapper Protocol = 5 // VAST 2.0 Wrapper
|
||||
ProtocolVAST30Wrapper Protocol = 6 // VAST 3.0 Wrapper
|
||||
ProtocolVAST40 Protocol = 7 // VAST 4.0
|
||||
ProtocolVAST40Wrapper Protocol = 8 // VAST 4.0 Wrapper
|
||||
ProtocolDAAST10 Protocol = 9 // DAAST 1.0
|
||||
ProtocolDAAST10Wrapper Protocol = 10 // DAAST 1.0 Wrapper
|
||||
)
|
||||
@@ -48,7 +48,7 @@ type Video struct {
|
||||
// array of integers
|
||||
// Description:
|
||||
// An array of video protocols the publisher can accept in the bid response.
|
||||
// See OpenRTB Table ‘Video Bid Response Protocols’ for a list of possible values.
|
||||
// See OpenRTB Table ‘Video Bid Response Protocols’ for a list of possible values.
|
||||
Protocols []int8 `json:"protocols"` // TODO!!!
|
||||
|
||||
// Field:
|
||||
|
||||
Reference in New Issue
Block a user