User object

The User object describes the person behind the device: the exchange's and the buyer's IDs for them, extended IDs from identity providers, audience data segments, and the TCF consent string. It sits at BidRequest.user. Its IDs may rotate under privacy policies, but when present they should stay stable long enough for frequency capping and retargeting.

13 fieldsOpenRTB 2.0 to 2.6-202606At user

How it is used

Every field is optional, and what a seller may send depends on consent and regulation. When GDPR applies, buyers read user.consent for their own vendor and purpose consent before using any identifier. The COPPA guidance in OpenRTB 2.5 recommends suppressing id, buyeruid, yob, and gender when regs.coppa is 1. OpenRTB 2.6 promoted consent and eids out of user.ext into first-class fields and deprecated yob and gender.

The User identity and EIDs page covers it in more depth.

Fields

FieldTypeRequirementSinceStatus
buyeridstringRecommended2.3Removed after 2.3
buyeruidstringOptional2.0Current
consentstringOptional2.6-202204Current
customdatastringOptional2.0Current
dataobject arrayOptional2.0Current
eidsobject arrayOptional2.6-202204Current
extobjectOptional2.1Current
genderstringOptional2.0Deprecated 2.6-202204
geoobjectOptional2.0Current
idstringOptional2.0Current
keywordsstringOptional2.0Current
kwarraystring arrayOptional2.6-202204Current
yobintegerOptional2.0Deprecated 2.6-202204

Where it sits

Contained in: BidRequest.

Contains: Data, EID, Geo.

All objects

The field reference index lists every OpenRTB 2.x object.