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: openrtb.go
+15-10Lines changed: 15 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -242,16 +242,16 @@ type Geo struct {
242
242
// privacy policies. However, this user ID must be stable long enough to serve reasonably as the basis for
243
243
// frequency capping and retargeting.
244
244
typeUserstruct {
245
-
IDstring`json:"id,omitempty"`// Unique consumer ID of this user on the exchange
246
-
BuyerIDstring`json:"buyerid,omitempty"`// Buyer-specific ID for the user as mapped by the exchange for the buyer. At least one of buyeruid/buyerid or id is recommended. Valid for OpenRTB 2.3.
247
-
BuyerUIDstring`json:"buyeruid,omitempty"`// Buyer-specific ID for the user as mapped by the exchange for the buyer. Same as BuyerID but valid for OpenRTB 2.2.
248
-
YOBint`json:"yob,omitempty"`// Year of birth as a 4-digit integer.
Keywordsstring`json:"keywords,omitempty"`// Comma separated list of keywords, interests, or intent
251
-
CustomDatastring`json:"customdata,omitempty"`// Optional feature to pass bidder data that was set in the exchange's cookie. The string must be in base85 cookie safe characters and be in any format. Proper JSON encoding must be used to include "escaped" quotation marks.
252
-
Geo*Geo`json:"geo,omitempty"`
253
-
Data []Data`json:"data,omitempty"`
254
-
ExtExtension`json:"ext,omitempty"`
245
+
IDstring`json:"id,omitempty"`// Unique consumer ID of this user on the exchange
246
+
BuyerIDstring`json:"buyerid,omitempty"`// Buyer-specific ID for the user as mapped by the exchange for the buyer. At least one of buyeruid/buyerid or id is recommended. Valid for OpenRTB 2.3.
247
+
BuyerUIDstring`json:"buyeruid,omitempty"`// Buyer-specific ID for the user as mapped by the exchange for the buyer. Same as BuyerID but valid for OpenRTB 2.2.
248
+
YOBint`json:"yob,omitempty"`// Year of birth as a 4-digit integer.
Keywordsstring`json:"keywords,omitempty"`// Comma separated list of keywords, interests, or intent
251
+
CustomDatastring`json:"customdata,omitempty"`// Optional feature to pass bidder data that was set in the exchange's cookie. The string must be in base85 cookie safe characters and be in any format. Proper JSON encoding must be used to include "escaped" quotation marks.
252
+
Geo*Geo`json:"geo,omitempty"`
253
+
Data []Data`json:"data,omitempty"`
254
+
ExtUserExtension`json:"ext,omitempty"`
255
255
}
256
256
257
257
// The data and segment objects together allow additional data about the user to be specified. This data
0 commit comments