Skip to content

Commit a95af66

Browse files
committed
Adds documentation
1 parent 288da58 commit a95af66

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

openrtb.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,8 @@ 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-
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.
213+
BuyerID string `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.
214+
BuyerUID string `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.
215215
YOB int `json:"yob,omitempty"` // Year of birth as a 4-digit integer.
216216
Gender string `json:"gender,omitempty"` // Gender ("M": male, "F" female, "O" Other)
217217
Keywords string `json:"keywords,omitempty"` // Comma separated list of keywords, interests, or intent

0 commit comments

Comments
 (0)