Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
53 changes: 46 additions & 7 deletions common/src/main/avro/openrtbapi.avpr
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

{"name": "User", "type": "record",
"fields": [
{"name": "Id", "type": ["string", "null"]},
{"name": "id", "type": ["string", "null"]},
{"name": "buyeruid", "type": ["string", "null"]},
{"name": "yob", "type": ["int", "null"]},
{"name": "gender", "type": ["string", "null"]},
Expand All @@ -84,24 +84,33 @@
{"name": "Device", "type": "record",
"fields": [
{"name": "dnt", "type": ["int", "null"]},
{"name": "lmt", "type": ["int", "null"]},
{"name": "ua", "type": ["string", "null"]},
{"name": "ip", "type": ["string", "null"]},
{"name": "geo", "type": ["Geo", "null"]},
{"name": "didsha1", "type": ["string", "null"]},
{"name": "didmd5", "type": ["string", "null"]},
{"name": "dpidsha1", "type": ["string", "null"]},
{"name": "dpidmd5", "type": ["string", "null"]},
{"name": "macsha1", "type": ["string", "null"]},
{"name": "macmd5", "type": ["string", "null"]},
{"name": "ifa", "type": ["string", "null"]},
{"name": "ipv6", "type": ["string", "null"]},
{"name": "carrier", "type": ["string", "null"]},
{"name": "language", "type": ["string", "null"]},
{"name": "make", "type": ["string", "null"]},
{"name": "model", "type": ["string", "null"]},
{"name": "os", "type": ["string", "null"]},
{"name": "Osv", "type": ["string", "null"]},
{"name": "Js", "type": ["int", "null"]},
{"name": "osv", "type": ["string", "null"]},
{"name": "js", "type": ["int", "null"]},
{"name": "connectiontype", "type": ["int", "null"]},
{"name": "deviceType", "type": ["int", "null"]},
{"name": "devicetype", "type": ["int", "null"]},
{"name": "h", "type": ["int", "null"]},
{"name": "w", "type": ["int", "null"]},
{"name": "ppi", "type": ["int", "null"]},
{"name": "pxratio", "type": ["float", "null"]},
{"name": "flashver", "type": ["string", "null"]},
{"name": "hwv", "type": ["string", "null"]},
{"name": "ext", "type": ["string", "null"]}
]
},
Expand Down Expand Up @@ -213,6 +222,7 @@
{"name": "minduration", "type": ["int", "null"]},
{"name": "maxduration", "type": ["int", "null"]},
{"name": "protocol", "type": ["int", "null"]},
{"name": "protocols", "type": [{ "type": "array", "items": "int"},"null"]},
{"name": "w", "type": ["int", "null"]},
{"name": "h", "type": ["int", "null"]},
{"name": "startdelay", "type": ["int", "null"]},
Expand All @@ -231,7 +241,32 @@
{"name": "ext", "type": ["string", "null"]}
]
},


{"name": "Deal", "type": "record",
"fields":[
{"name": "id", "type": ["string", "null"]},
{"name": "bidfloor", "type": ["float", "null"]},
{"name": "bidfloorcur", "type": ["string", "null"]},
{"name": "at", "type": ["int", "null"]},
{"name": "wseat", "type": [{ "type": "array", "items": "string"},"null"] },
{"name": "wadomain", "type": [{ "type": "array", "items": "string"},"null"] },
{"name": "ext", "type": ["string", "null"]}




]},
{"name": "Pmp", "type": "record",
"fields": [
{"name": "private_auction", "type": ["int", "null"]},
{"name": "deals", "type": [{ "type": "array", "items": "Deal"},"null"] },
{"name": "ext", "type": ["string", "null"]}
]
},




{"name": "Impression", "type": "record",
"fields": [
{"name": "id", "type": ["string", "null"]},
Expand All @@ -240,9 +275,11 @@
{"name": "displaymanager", "type": ["string", "null"]},
{"name": "displaymanagerver", "type": ["string", "null"]},
{"name": "instl", "type": ["int", "null"]},
{"name": "secure", "type": ["int", "null"]},
{"name": "tagid", "type": ["string", "null"]},
{"name": "bidfloor", "type": ["float", "null"]},
{"name": "bidfloorcur", "type": ["string", "null"]},
{"name": "pmp", "type": ["Pmp", "null"]},
{"name": "iframebuster", "type": [{ "type": "array", "items": "string"},"null"] },
{"name": "ext", "type": ["string", "null"]}
]
Expand Down Expand Up @@ -276,11 +313,13 @@
{"name": "nurl", "type": ["string", "null"]},
{"name": "adm", "type": ["string", "null"]},
{"name": "adomain", "type": [{ "type": "array", "items": "string"},"null"] },
{"name": "cat", "type": [{ "type": "array", "items": "string"},"null"] },
{"name": "iurl", "type": ["string", "null"]},
{"name": "cid", "type": ["string", "null"]},
{"name": "crid", "type": ["string", "null"]},
{"name": "attr", "type": [{ "type": "array", "items": "int"},"null"] },
{"name": "ext", "type": ["string", "null"]}
{"name": "ext", "type": ["string", "null"]},
{"name": "dealid", "type": ["string", "null"]}
]
},

Expand All @@ -301,6 +340,7 @@
{"name": "cur", "type": ["string", "null"]},
{"name": "customdata", "type": ["string", "null"]},
{"name": "ext", "type": ["string", "null"]}

]
}
],
Expand All @@ -311,4 +351,3 @@
}
}
}