mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-14 05:56:34 +03:00
Protocols Enum + Restored Video.Protocol
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
package native1
|
||||
|
||||
// 5.8 Protocols (from AdCOM spec 1.0)
|
||||
// Protocols (from AdCOM spec 1.0, List: Creative Subtypes - Audio/Video)
|
||||
//
|
||||
// Options for the various bid response protocols that could be supported by an exchange.
|
||||
//
|
||||
|
||||
+3
-1
@@ -62,7 +62,9 @@ type Audio struct {
|
||||
// Description:
|
||||
// Array of supported audio protocols. Refer to List: Creative
|
||||
// Subtypes - Audio/Video in AdCOM 1.0.
|
||||
Protocols []int8 `json:"protocols,omitempty"`
|
||||
// Note:
|
||||
// OpenRTB <=2.5 defined only protocols 1..10.
|
||||
Protocols []adcom1.MediaCreativeSubtype `json:"protocols,omitempty"`
|
||||
|
||||
// Attribute:
|
||||
// startdelay
|
||||
|
||||
+16
-1
@@ -89,7 +89,22 @@ type Video struct {
|
||||
// Definition:
|
||||
// Array of supported video protocols. Refer to List: Creative
|
||||
// Subtypes - Audio/Video in AdCOM 1.0.
|
||||
Protocols []int8 `json:"protocols,omitempty"`
|
||||
// Note:
|
||||
// OpenRTB <=2.5 defined only protocols 1..10.
|
||||
Protocols []adcom1.MediaCreativeSubtype `json:"protocols,omitempty"`
|
||||
|
||||
// Attribute:
|
||||
// protocol
|
||||
// Type:
|
||||
// integer; DEPRECATED; REMOVED in OpenRTB 2.6
|
||||
// Description:
|
||||
// NOTE: Deprecated in favor of protocols.
|
||||
// Supported video protocol. Refer to List 5.8. At least one
|
||||
// supported protocol must be specified in either the protocol
|
||||
// or protocols attribute.
|
||||
// Note:
|
||||
// OpenRTB <=2.5 defined only protocols 1..10.
|
||||
Protocol adcom1.MediaCreativeSubtype `json:"protocol,omitempty"`
|
||||
|
||||
// Attribute:
|
||||
// w
|
||||
|
||||
Reference in New Issue
Block a user