mirror of
https://github.com/prebid/openrtb.git
synced 2026-06-14 14:06:38 +03:00
Bring back omitempty for Banner.{W,H} - they are pointers now
This commit is contained in:
@@ -28,7 +28,7 @@ type Banner struct {
|
||||
// Description:
|
||||
// Exact width in device independent pixels (DIPS);
|
||||
// recommended if no format objects are specified.
|
||||
W *uint64 `json:"w"`
|
||||
W *uint64 `json:"w,omitempty"`
|
||||
|
||||
// Attribute:
|
||||
// h
|
||||
@@ -37,7 +37,7 @@ type Banner struct {
|
||||
// Description:
|
||||
// Exact height in device independent pixels (DIPS);
|
||||
// recommended if no format objects are specified.
|
||||
H *uint64 `json:"h"`
|
||||
H *uint64 `json:"h,omitempty"`
|
||||
|
||||
// Attribute:
|
||||
// wmax
|
||||
|
||||
Reference in New Issue
Block a user