Skip to content

Commit 288da58

Browse files
committed
Exposes BuyerID and BuyerUID for OpenRTB 2.2 & 2.3
compatibility. [Referencing #18]
1 parent 6b2ac63 commit 288da58

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

openrtb.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ type Geo struct {
211211
type User struct {
212212
ID string `json:"id,omitempty"` // Unique consumer ID of this user on the exchange
213213
BuyerUID string `json:"buyeruid,omitempty"` // Buyer-specific ID for the user as mapped by the exchange for the buyer. At least one of buyeruid or id is recommended.
214+
BuyerID string `json:"buyerid,omitempty"` // Buyer-specific ID for the user as mapped by the exchange for the buyer. At least one of buyeruid or id is recommended.
214215
YOB int `json:"yob,omitempty"` // Year of birth as a 4-digit integer.
215216
Gender string `json:"gender,omitempty"` // Gender ("M": male, "F" female, "O" Other)
216217
Keywords string `json:"keywords,omitempty"` // Comma separated list of keywords, interests, or intent

0 commit comments

Comments
 (0)