Skip to content

Commit 4f8d240

Browse files
committed
Merge pull request #11 from nikolai-b/master
Revert BuyerUID rename
2 parents a6e78d4 + 410e96a commit 4f8d240

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

bidrequest_test.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ var _ = Describe("BidRequest", func() {
5353
FlashVer: "10.1",
5454
},
5555
User: &User{
56-
ID: "45asdf987656789adfad4678rew656789",
56+
ID: "45asdf987656789adfad4678rew656789",
57+
BuyerUID: "5df678asd8987656asdf78987654",
5758
},
5859
AuctionType: 2,
5960
TMax: 120,

openrtb.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ type Geo struct {
210210
// frequency capping and retargeting.
211211
type User struct {
212212
ID string `json:"id,omitempty"` // Unique consumer ID of this user on the exchange
213-
BuyerID string `json:"buyerid,omitempty"` // Buyer-specific ID for the user as mapped by the exchange for the buyer. At least one of buyerid or id is recommended.
213+
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.
214214
YOB int `json:"yob,omitempty"` // Year of birth as a 4-digit integer.
215215
Gender string `json:"gender,omitempty"` // Gender ("M": male, "F" female, "O" Other)
216216
Keywords string `json:"keywords,omitempty"` // Comma separated list of keywords, interests, or intent

0 commit comments

Comments
 (0)