Skip to content

Commit

Permalink
Remove omitempty from w and h of Video object (bsm#105) (bsm#106)
Browse files Browse the repository at this point in the history
  • Loading branch information
saifat29 authored Jun 1, 2023
1 parent 5129f80 commit 2214def
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions video.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ type Video struct {
MaxDuration int `json:"maxduration,omitempty"` // Maximum video ad duration in seconds
Protocols []Protocol `json:"protocols,omitempty"` // Video bid response protocols
Protocol Protocol `json:"protocol,omitempty"` // Video bid response protocols DEPRECATED
Width int `json:"w,omitempty"` // Width of the player in pixels
Height int `json:"h,omitempty"` // Height of the player in pixels
Width int `json:"w"` // Width of the player in pixels
Height int `json:"h"` // Height of the player in pixels
StartDelay StartDelay `json:"startdelay,omitempty"` // Indicates the start delay in seconds
Linearity VideoLinearity `json:"linearity,omitempty"` // Indicates whether the ad impression is linear or non-linear
Skip int `json:"skip,omitempty"` // Indicates if the player will allow the video to be skipped, where 0 = no, 1 = yes.
Expand Down

0 comments on commit 2214def

Please sign in to comment.