Skip to content

Commit 2214def

Browse files
authored
Remove omitempty from w and h of Video object (bsm#105) (bsm#106)
1 parent 5129f80 commit 2214def

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

video.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ type Video struct {
2020
MaxDuration int `json:"maxduration,omitempty"` // Maximum video ad duration in seconds
2121
Protocols []Protocol `json:"protocols,omitempty"` // Video bid response protocols
2222
Protocol Protocol `json:"protocol,omitempty"` // Video bid response protocols DEPRECATED
23-
Width int `json:"w,omitempty"` // Width of the player in pixels
24-
Height int `json:"h,omitempty"` // Height of the player in pixels
23+
Width int `json:"w"` // Width of the player in pixels
24+
Height int `json:"h"` // Height of the player in pixels
2525
StartDelay StartDelay `json:"startdelay,omitempty"` // Indicates the start delay in seconds
2626
Linearity VideoLinearity `json:"linearity,omitempty"` // Indicates whether the ad impression is linear or non-linear
2727
Skip int `json:"skip,omitempty"` // Indicates if the player will allow the video to be skipped, where 0 = no, 1 = yes.

0 commit comments

Comments
 (0)