package openrtb // 3.2.13 Object: User // // This object contains information known or derived about the human user of the device (i.e., the // audience for advertising). The user id is an exchange artifact and may be subject to rotation or other // privacy policies. However, this user ID must be stable long enough to serve reasonably as the basis for // frequency capping and retargeting. type User struct { // Attribute: // id // Type: // string; recommended // Description: // Exchange-specific ID for the user. At least one of id or // buyerid is recommended. ID string `json:"id,omitempty"` // Attribute: // buyerid // Type: // string; recommended // Description: // Buyer-specific ID for the user as mapped by the exchange for // the buyer. At least one of buyerid or id is recommended. BuyerID string `json:"buyerid,omitempty"` // Attribute: // yob // Type: // integer // Description: // Year of birth as a 4-digit integer. Yob uint16 `json:"yob,omitempty"` // Attribute: // gender // Type: // string // Description: // Gender, where “M” = male, “F” = female, “O” = known to be // other (i.e., omitted is unknown). Gender string `json:"gender,omitempty"` // Attribute: // keywords // Type: // string // Description: // Comma separated list of keywords, interests, or intent. Keywords string `json:"keywords,omitempty"` // Attribute: // customdata // Type: // string // Description: // 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. CustomData string `json:"customdata,omitempty"` // Attribute: // geo // Type // object // Description: // Location of the user’s home base defined by a Geo object // (Section 3.2.12). This is not necessarily their current location. Geo *Geo `json:"geo,omitempty"` // Attribute: // data // Type: // object array // Description: // Additional user data. Each Data object (Section 3.2.14) // represents a different data source. Data []Data `json:"data,omitempty"` // Attribute: // ext // Type: // object // Description: // Placeholder for exchange-specific extensions to OpenRTB. Ext Ext `json:"ext,omitempty"` }