Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions openrtb.go
Original file line number Diff line number Diff line change
Expand Up @@ -457,6 +457,7 @@ const (
const (
AdPosUnknown = 0
AdPosAboveFold = 1
AdPosLocked = 2 // AdCOM 1.0; OpenRTB 2.5 had deprecated 2
AdPosBelowFold = 3
AdPosHeader = 4
AdPosFooter = 5
Expand Down
1 change: 1 addition & 0 deletions testdata/video.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
"startdelay": 0,
"minduration": 5,
"maxduration": 30,
"maxseq": 4,
"maxextended": 30,
"minbitrate": 300,
"maxbitrate": 1500,
Expand Down
1 change: 1 addition & 0 deletions video.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ type Video struct {
BoxingAllowed *int `json:"boxingallowed,omitempty"` // If exchange publisher has rules preventing letter boxing
PodID string `json:"podid,omitempty"` // Pod id unique identifier for video ad pod
PodDuration int `json:"poddur,omitempty"` // Pod Duration total amount of time in seconds that advertisers may fill for a video ad pod
MaxSequence int `json:"maxseq,omitempty"` // Maximum number of ads that may be served in a dynamic video ad pod
PodSequence PodSequence `json:"podseq,omitempty"` // Pod Sequence position of the video ad pod
SlotInPod SlotPositionInPod `json:"slotinpod,omitempty"` // Slot Position in ad
RqdDurs []int64 `json:"rqddurs,omitempty"` // Precise acceptable durations for video creatives inseconds.
Expand Down
1 change: 1 addition & 0 deletions video_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ func TestVideo(t *testing.T) {
},
MinDuration: 5,
MaxDuration: 30,
MaxSequence: 4,
Protocols: []int{VideoProtoVAST2, VideoProtoVAST3},
W: 640,
H: 480,
Expand Down
Loading