Push: OpenRTB example
Hosts are placeholders; the example uses OpenRTB 2.6 unless stated otherwise. Fields are described in the specification.
Request
json
{
"at": 1,
"badv": [
"blocked-brand.example"
],
"bcat": [
"IAB25",
"IAB26"
],
"cur": [
"USD"
],
"device": {
"devicetype": 4,
"ip": "203.0.113.40",
"language": "en",
"ua": "Mozilla/5.0 (Linux; Android 14; Pixel 8) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Mobile Safari/537.36"
},
"id": "req-push-1",
"imp": [
{
"bidfloor": 0.05,
"bidfloorcur": "USD",
"id": "1",
"native": {
"request": "{\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":50}},{\"data\":{\"len\":120,\"type\":2},\"id\":2,\"required\":1},{\"id\":3,\"img\":{\"h\":192,\"type\":1,\"w\":192},\"required\":1},{\"id\":4,\"img\":{\"hmin\":240,\"type\":3,\"wmin\":360},\"required\":0}],\"context\":1,\"plcmtcnt\":1,\"plcmttype\":1,\"ver\":\"1.2\"}",
"ver": "1.2"
},
"tagid": "zone-inpage-push"
}
],
"site": {
"cat": [
"IAB12"
],
"domain": "publisher.example",
"id": "site-1",
"page": "https://publisher.example/news/article-1",
"publisher": {
"ext": {
"subid": "sub-42"
},
"id": "pub-1"
}
},
"tmax": 300,
"user": {
"id": "u-654"
}
}Response
json
{
"id": "req-push-1",
"seatbid": [
{
"bid": [
{
"id": "b52d8c3e-4444-4d6e-8f70-000000000001",
"impid": "1",
"price": 0.09,
"adid": "4001",
"nurl": "https://notify.example.com/wn?id=b52d8c3e-4444-4d6e-8f70-000000000001&t=tk-notice&price=${AUCTION_PRICE}",
"burl": "https://notify.example.com/bn?id=b52d8c3e-4444-4d6e-8f70-000000000001&t=tk-notice&price=${AUCTION_PRICE}",
"adm": "{\"ver\":\"1.1\",\"assets\":[{\"id\":1,\"title\":{\"text\":\"Your order is ready\"}},{\"id\":2,\"data\":{\"value\":\"Tap to see today's deals in your city\"}},{\"id\":3,\"img\":{\"url\":\"https://ads.example.com/c/4001/icon192.png\"}},{\"id\":4,\"img\":{\"url\":\"https://ads.example.com/c/4001/360x240.jpg\"}}],\"link\":{\"url\":\"https://notify.example.com/c?id=b52d8c3e-4444-4d6e-8f70-000000000001&t=tk-click\"},\"imptrackers\":[\"https://notify.example.com/imp?id=b52d8c3e-4444-4d6e-8f70-000000000001&t=tk-imp\"],\"eventtrackers\":[{\"event\":1,\"method\":1,\"url\":\"https://notify.example.com/imp?id=b52d8c3e-4444-4d6e-8f70-000000000001&t=tk-imp\"},{\"event\":2,\"method\":1,\"url\":\"https://notify.example.com/vimp?event_type=3&id=b52d8c3e-4444-4d6e-8f70-000000000001&t=tk-imp\"},{\"event\":3,\"method\":1,\"url\":\"https://notify.example.com/vimp?event_type=4&id=b52d8c3e-4444-4d6e-8f70-000000000001&t=tk-imp\"},{\"event\":4,\"method\":1,\"url\":\"https://notify.example.com/vimp?event_type=5&id=b52d8c3e-4444-4d6e-8f70-000000000001&t=tk-imp\"}]}",
"adomain": [
"advertiser.example"
],
"cid": "801",
"crid": "4001",
"cat": [
"IAB3"
],
"w": 360,
"h": 240,
"langb": "en",
"mtype": 4
}
],
"seat": "77"
}
],
"cur": "USD"
}The request is a regular imp.native: push comes because the format is enabled for the integration.