You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: request.go
+20-15Lines changed: 20 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -10,21 +10,21 @@ import (
10
10
// attribute is required as is at least one "imp" (i.e., impression) object. Other attributes are
11
11
// optional since an exchange may establish default values.
12
12
typeRequeststruct {
13
-
Id*string// Unique ID of the bid request
14
-
Imp []Impression
15
-
Site*Site
16
-
App*App
17
-
Device*Device
18
-
User*User
19
-
At*int// Auction type, Default: 2 ("1": first price auction, "2": then second price auction)
20
-
Tmax*int// Maximum amount of time in milliseconds to submit a bid
21
-
Wseat []string// Array of buyer seats allowed to bid on this auction
22
-
Allimps*int// Flag to indicate whether exchange can verify that all impressions offered represent all of the impressions available in context, Default: 0
23
-
Cur []string// Array of allowed currencies
24
-
Bcat []string// Blocked Advertiser Categories.
25
-
Badv []string// Array of strings of blocked toplevel domains of advertisers
26
-
Pmp*Pmp
27
-
ExtExtensions
13
+
Id*string`json:"id"`// Unique ID of the bid request
14
+
Imp []Impression`json:"imp,omitempty"`
15
+
Site*Site`json:"site,omitempty"`
16
+
App*App`json:"app,omitempty"`
17
+
Device*Device`json:"device,omitempty"`
18
+
User*User`json:"user,omitempty"`
19
+
At*int`json:"at"`// Auction type, Default: 2 ("1": first price auction, "2": then second price auction)
20
+
Tmax*int`json:"tmax,omitempty"`// Maximum amount of time in milliseconds to submit a bid
21
+
Wseat []string`json:"wseat,omitempty"`// Array of buyer seats allowed to bid on this auction
22
+
Allimps*int`json:"allimps,omitempty"`// Flag to indicate whether exchange can verify that all impressions offered represent all of the impressions available in context, Default: 0
23
+
Cur []string`json:"cur,omitempty"`// Array of allowed currencies
0 commit comments