You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: openrtb.go
+21Lines changed: 21 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -842,3 +842,24 @@ type Format struct {
842
842
WidthMinint`json:"wmin,omitempty"`// The minimum width in device independent pixels (DIPS) at which the ad will be displayed the size is expressed as a ratio.
843
843
Ext json.RawMessage`json:"ext,omitempty"`
844
844
}
845
+
846
+
// PodSequence identifies the pod sequence field, for use in video content streams with one or more ad pods as defined in Adcom1.0
847
+
typePodSequenceint
848
+
849
+
// PodSequence options as defined in Adcom1.0
850
+
const (
851
+
PodSeqLastPodSequence=-1// Last pod in the content stream.
852
+
PodSeqAnyPodSequence=0// Any pod in the content stream.
853
+
PodSeqFirstPodSequence=1// First pod in the content stream.
854
+
)
855
+
856
+
// SlotPositionInPod identifies the slot position in pod field, for use in video ad pods as defined in Adcom1.0
857
+
typeSlotPositionInPodint
858
+
859
+
// SlotPositionInPod options as defined in Adcom1.0
860
+
const (
861
+
SlotPosLastSlotPositionInPod=-1// Last ad in the pod.
862
+
SlotPosAnySlotPositionInPod=0// Any ad in the pod.
863
+
SlotPosFirstSlotPositionInPod=1// First ad in the pod.
864
+
SlotPosFirstOrLastSlotPositionInPod=2// First or Last ad in the pod.
0 commit comments