diff --git a/native/request/protocol.go b/native/request/protocol.go new file mode 100644 index 0000000..47dde72 --- /dev/null +++ b/native/request/protocol.go @@ -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 +) diff --git a/native/request/video.go b/native/request/video.go index f2a8094..4ba8472 100644 --- a/native/request/video.go +++ b/native/request/video.go @@ -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: