User

@Serializable
class User(var age: Int = 0, var buyeruid: String? = null, yob: Int = 0, var gender: String? = null, var keywords: String? = null, var custom_data: String? = null, var data: Array<Data>? = null, var ext: User.Extension? = null)

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.

OpenRTB Section 3.2.20

See also

Constructors

Link copied to clipboard
constructor(age: Int = 0, buyeruid: String? = null, yob: Int = 0, gender: String? = null, keywords: String? = null, custom_data: String? = null, data: Array<Data>? = null, ext: User.Extension? = null)

Types

Link copied to clipboard
@Serializable
class Extension(var consent: String? = null, var admob_gde_signals: String? = null, var facebook_buyeruid: String? = null, var inmobi_buyeruid: String? = null, var unity_buyeruid: String? = null, var vungle_buyeruid: String? = null, var eids: Set<EID>? = null, var mfx_buyerdata: Map<String, String>? = null, var mintegral_sdk: Map<String, String>? = null, var moloco_buyeruid: String? = null)

User extension object used by Nimbus

Properties

Link copied to clipboard

Age of the user

Link copied to clipboard

Buyer-specific ID for the user as mapped by the exchange for the buyer. Set to Facebook bidder token if integrating Facebook demand.

Link copied to clipboard

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.

Link copied to clipboard

Additional user data. Each data object represents a different data source.

Link copied to clipboard

User extension object unique to Nimbus

Link copied to clipboard

The gender of this user. If omitted it is assumed to be unknown. "male" = male "female" = female.

Link copied to clipboard

Comma separated list of keywords, interests, or intent.

Link copied to clipboard

Property representing the user age to be sent to Nimbus

Link copied to clipboard

Property representing the user gender to be sent to Nimbus see NimbusUserGender for possible values