This repository was archived by the owner on Dec 22, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -41,8 +41,8 @@ type rubiconParams struct {
41
41
AccountId int `json:"accountId"`
42
42
SiteId int `json:"siteId"`
43
43
ZoneId int `json:"zoneId"`
44
- Inventory json.RawMessage `json:"inventory"`
45
- Visitor json.RawMessage `json:"visitor"`
44
+ Inventory json.RawMessage `json:"inventory,omitempty "`
45
+ Visitor json.RawMessage `json:"visitor,omitempty "`
46
46
Video rubiconVideoParams `json:"video"`
47
47
}
48
48
@@ -53,7 +53,7 @@ type rubiconImpExtRPTrack struct {
53
53
54
54
type rubiconImpExtRP struct {
55
55
ZoneID int `json:"zone_id"`
56
- Target json.RawMessage `json:"target"`
56
+ Target json.RawMessage `json:"target,omitempty "`
57
57
Track rubiconImpExtRPTrack `json:"track"`
58
58
}
59
59
@@ -62,7 +62,7 @@ type rubiconImpExt struct {
62
62
}
63
63
64
64
type rubiconUserExtRP struct {
65
- Target json.RawMessage `json:"target"`
65
+ Target json.RawMessage `json:"target,omitempty "`
66
66
}
67
67
68
68
type rubiconExtUserTpID struct {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ import "encoding/json"
4
4
5
5
type BidResponseVideo struct {
6
6
AdPods []* AdPod `json:"adPods"`
7
- Ext json.RawMessage `json:"ext"`
7
+ Ext json.RawMessage `json:"ext,omitempty "`
8
8
}
9
9
10
10
type AdPod struct {
Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ type ExtImpRubicon struct {
9
9
AccountId int `json:"accountId"`
10
10
SiteId int `json:"siteId"`
11
11
ZoneId int `json:"zoneId"`
12
- Inventory json.RawMessage `json:"inventory"`
13
- Visitor json.RawMessage `json:"visitor"`
12
+ Inventory json.RawMessage `json:"inventory,omitempty "`
13
+ Visitor json.RawMessage `json:"visitor,omitempty "`
14
14
Video rubiconVideoParams `json:"video"`
15
15
}
16
16
You can’t perform that action at this time.
0 commit comments