JSON
OpenRTB 2.6 — Bid Request
{
"id": "7d9b6c3a-1f4e-4b8a-9c2d-0e5f8a1b7c3e", // Unique auction ID — matches bid response id
"at": 1, // Auction type: 1 = first-price, 2 = second-price
"tmax": 150, // Timeout in ms — DSPs must respond within this
"cur": ["USD"],
"imp": [
{
"id": "1",
"banner": {
"w": 300, "h": 250,
"api": [3, 5] // 3=MRAID 2.0, 5=ORMMA — supported APIs
},
"bidfloor": 1.50, // Minimum CPM — bids below this are ignored
"bidfloorcur": "USD",
"secure": 1, // 1 = HTTPS required for all creative assets
"tagid": "ad-unit-leaderboard-home" // Publisher-defined placement label
}
],
"site": {
"id": "site-abc-001",
"page": "https://example.com/article/adtech-101",
"domain": "example.com",
"cat": ["IAB12"], // IAB content category — used for brand safety
"publisher": {
"id": "pub-456",
"name": "Example Media"
},
"ref": "https://google.com/search?q=adtech" // Referring URL — signals intent context
},
"device": {
"ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36",
"ip": "203.0.113.42", // Truncated or hashed in GDPR regions
"geo": {
"country": "USA",
"region": "CA",
"city": "Los Angeles",
"lat": 34.0522, "lon": -118.2437,
"type": 2 // 1=GPS, 2=IP-derived, 3=user-provided
},
"devicetype": 2, // 1=PC, 2=Phone, 3=Tablet, 4=TV, 5=Game Console, 6=Watch
"os": "Windows",
"language": "en",
"dnt": 0 // Do Not Track — 0=no restriction, 1=limit tracking
},
"user": {
"id": "u-78901-hashed", // Publisher or SSP user ID (not exposed in GDPR scope)
"buyeruid": "buyer-xyz-001", // DSP's own user ID synced via cookie sync
"consent": "CPXxRfAPXxRfAAfKABENAfCIAP_AAH_AAAqIHItf...", // IAB TCF v2 consent string
"ext": {
"eids": [ // Extended IDs — clean-room / cookieless identity
{
"source": "liveramp.com",
"uids": [{ "id": "RampID-abcde12345", "atype": 3 }]
},
{
"source": "uidapi.com",
"uids": [{ "id": "TDID-00112233aabbcc", "atype": 1 }]
}
]
}
},
"regs": {
"coppa": 0, // 1 = COPPA applies — no behavioral targeting
"ext": {
"gdpr": 1, // 1 = GDPR applies — consent string required
"us_privacy": "1YNN" // CCPA string: 1=spec ver, Y=notice, N=opt-out, N=LSPA
}
},
"source": {
"tid": "7d9b6c3a-1f4e-4b8a-9c2d-0e5f8a1b7c3e", // Must match bid request id for traceability
"pchain": "publisher:pub-456,exchange:ex-001" // Supply chain transparency (see ads.txt / sellers.json)
}
}