From 74f4d14f34b035e05ea7c5f2ae18a612575f32bf Mon Sep 17 00:00:00 2001 From: mxmCherry Date: Mon, 16 May 2022 23:11:38 +0300 Subject: [PATCH] openrtb2: testdata - just reformat JSON with `jq` --- .../bid-request/2.5/expandable-creative.json | 142 +++++----- openrtb2/testdata/bid-request/2.5/mobile.json | 198 ++++++------- .../testdata/bid-request/2.5/native-ad.json | 90 +++--- .../bid-request/2.5/pmp-with-direct-deal.json | 118 ++++---- .../bid-request/2.5/simple-banner.json | 76 ++--- openrtb2/testdata/bid-request/2.5/video.json | 260 +++++++++--------- .../2.5/ad-served-on-win-notice.json | 64 ++--- .../direct-deal-ad-served-on-win-notice.json | 60 ++-- .../2.5/native-markup-returned-inline.json | 28 +- .../vast-xml-document-returned-inline.json | 28 +- 10 files changed, 532 insertions(+), 532 deletions(-) diff --git a/openrtb2/testdata/bid-request/2.5/expandable-creative.json b/openrtb2/testdata/bid-request/2.5/expandable-creative.json index 34bfa4e..8498312 100644 --- a/openrtb2/testdata/bid-request/2.5/expandable-creative.json +++ b/openrtb2/testdata/bid-request/2.5/expandable-creative.json @@ -1,73 +1,73 @@ { - "id": "123456789316e6ede735f123ef6e32361bfc7b22", - "at": 2, - "cur": [ - "USD" - ], - "imp": [ - { - "id": "1", - "bidfloor": 0.03, - "iframebuster": [ - "vendor1.com", - "vendor2.com" - ], - "banner": { - "h": 250, - "w": 300, - "battr": [ - 13 - ], - "expdir": [ - 2, - 4 - ] - } - } - ], - "site": { - "id": "102855", - "cat": [ - "IAB3-1" - ], - "domain": "www.foobar.com", - "page": "http://www.foobar.com/1234.html", - "publisher": { - "id": "8953", - "name": "foobar.com", - "cat": [ - "IAB3-1" - ], - "domain": "foobar.com" - } - }, - "device": { - "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2", - "ip": "123.145.167.10" - }, - "user": { - "id": "55816b39711f9b5acf3b90e313ed29e51665623f", - "buyeruid": "545678765467876567898765678987654", - "data": [ - { - "id": "6", - "name": "Data Provider 1", - "segment": [ - { - "id": "12341318394918", - "name": "auto intenders" - }, - { - "id": "1234131839491234", - "name": "auto enthusiasts" - }, - { - "id": "23423424", - "name": "data-provider1-age", - "value": "30-40" - } - ] - } - ] - } + "id": "123456789316e6ede735f123ef6e32361bfc7b22", + "at": 2, + "cur": [ + "USD" + ], + "imp": [ + { + "id": "1", + "bidfloor": 0.03, + "iframebuster": [ + "vendor1.com", + "vendor2.com" + ], + "banner": { + "h": 250, + "w": 300, + "battr": [ + 13 + ], + "expdir": [ + 2, + 4 + ] + } + } + ], + "site": { + "id": "102855", + "cat": [ + "IAB3-1" + ], + "domain": "www.foobar.com", + "page": "http://www.foobar.com/1234.html", + "publisher": { + "id": "8953", + "name": "foobar.com", + "cat": [ + "IAB3-1" + ], + "domain": "foobar.com" + } + }, + "device": { + "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2", + "ip": "123.145.167.10" + }, + "user": { + "id": "55816b39711f9b5acf3b90e313ed29e51665623f", + "buyeruid": "545678765467876567898765678987654", + "data": [ + { + "id": "6", + "name": "Data Provider 1", + "segment": [ + { + "id": "12341318394918", + "name": "auto intenders" + }, + { + "id": "1234131839491234", + "name": "auto enthusiasts" + }, + { + "id": "23423424", + "name": "data-provider1-age", + "value": "30-40" + } + ] + } + ] + } } diff --git a/openrtb2/testdata/bid-request/2.5/mobile.json b/openrtb2/testdata/bid-request/2.5/mobile.json index 725fe35..6f30ad8 100644 --- a/openrtb2/testdata/bid-request/2.5/mobile.json +++ b/openrtb2/testdata/bid-request/2.5/mobile.json @@ -1,101 +1,101 @@ { - "id": "IxexyLDIIk", - "at": 2, - "bcat": [ - "IAB25", - "IAB7-39", - "IAB8-18", - "IAB8-5", - "IAB9-9" - ], - "badv": [ - "apple.com", - "go-text.me", - "heywire.com" - ], - "imp": [ - { - "id": "1", - "bidfloor": 0.5, - "tagid": "agltb3B1Yi1pbmNyDQsSBFNpdGUY7fD0FAw", - "banner": { - "w": 728, - "h": 90, - "pos": 1, - "btype": [ - 4 - ], - "battr": [ - 14 - ], - "api": [ - 3 - ] - } - }, - { - "id": "2", - "bidfloor": 0.5, - "tagid": "agltb3B1Yi1pbmNyDQsSBFNpdGUY7fD0FAwa", - "instl":1, - "banner": { - "w": 0, - "h": 0, - "pos": 2, - "btype": [ - 4 - ], - "battr": [ - 14 - ], - "api": [ - 3 - ] - } - } - ], - "app": { - "id": "agltb3B1Yi1pbmNyDAsSA0FwcBiJkfIUDA", - "name": "Yahoo Weather", - "cat": [ - "IAB15", - "IAB15-10" - ], - "ver": "1.0.2", - "bundle": "12345", - "storeurl": "https://itunes.apple.com/id628677149", - "publisher": { - "id": "agltb3B1Yi1pbmNyDAsSA0FwcBiJkfTUCV", - "name": "yahoo", - "domain": "www.yahoo.com" - } - }, - "device": { - "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3", - "ip": "123.145.167.189", - "ifa": "AA000DFE74168477C70D291f574D344790E0BB11", - "carrier": "VERIZON", - "language": "en", - "make": "Apple", - "model": "iPhone", - "os": "iOS", - "osv": "6.1", - "js": 1, - "connectiontype": 3, - "devicetype": 1, - "geo": { - "lat": 35.012345, - "lon": -115.12345, - "country": "USA", - "metro": "803", - "region": "CA", - "city": "Los Angeles", - "zip": "90049" - } - }, - "user": { - "id": "ffffffd5135596709273b3a1a07e466ea2bf4fff", - "yob": 1984, - "gender": "M" - } + "id": "IxexyLDIIk", + "at": 2, + "bcat": [ + "IAB25", + "IAB7-39", + "IAB8-18", + "IAB8-5", + "IAB9-9" + ], + "badv": [ + "apple.com", + "go-text.me", + "heywire.com" + ], + "imp": [ + { + "id": "1", + "bidfloor": 0.5, + "tagid": "agltb3B1Yi1pbmNyDQsSBFNpdGUY7fD0FAw", + "banner": { + "w": 728, + "h": 90, + "pos": 1, + "btype": [ + 4 + ], + "battr": [ + 14 + ], + "api": [ + 3 + ] + } + }, + { + "id": "2", + "bidfloor": 0.5, + "tagid": "agltb3B1Yi1pbmNyDQsSBFNpdGUY7fD0FAwa", + "instl": 1, + "banner": { + "w": 0, + "h": 0, + "pos": 2, + "btype": [ + 4 + ], + "battr": [ + 14 + ], + "api": [ + 3 + ] + } + } + ], + "app": { + "id": "agltb3B1Yi1pbmNyDAsSA0FwcBiJkfIUDA", + "name": "Yahoo Weather", + "cat": [ + "IAB15", + "IAB15-10" + ], + "ver": "1.0.2", + "bundle": "12345", + "storeurl": "https://itunes.apple.com/id628677149", + "publisher": { + "id": "agltb3B1Yi1pbmNyDAsSA0FwcBiJkfTUCV", + "name": "yahoo", + "domain": "www.yahoo.com" + } + }, + "device": { + "ua": "Mozilla/5.0 (iPhone; CPU iPhone OS 6_1 like Mac OS X) AppleWebKit/534.46 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3", + "ip": "123.145.167.189", + "ifa": "AA000DFE74168477C70D291f574D344790E0BB11", + "carrier": "VERIZON", + "language": "en", + "make": "Apple", + "model": "iPhone", + "os": "iOS", + "osv": "6.1", + "js": 1, + "connectiontype": 3, + "devicetype": 1, + "geo": { + "lat": 35.012345, + "lon": -115.12345, + "country": "USA", + "metro": "803", + "region": "CA", + "city": "Los Angeles", + "zip": "90049" + } + }, + "user": { + "id": "ffffffd5135596709273b3a1a07e466ea2bf4fff", + "yob": 1984, + "gender": "M" + } } diff --git a/openrtb2/testdata/bid-request/2.5/native-ad.json b/openrtb2/testdata/bid-request/2.5/native-ad.json index b8f444d..c058fa1 100644 --- a/openrtb2/testdata/bid-request/2.5/native-ad.json +++ b/openrtb2/testdata/bid-request/2.5/native-ad.json @@ -1,47 +1,47 @@ { - "id": "80ce30c53c16e6ede735f123ef6e32361bfc7b22", - "at": 1, - "cur": [ - "USD" - ], - "imp": [ - { - "id": "1", - "bidfloor": 0.03, - "native": { - "request": "{\"native\":{\"ver\":\"1.0\",\"assets\":[ ... ]}}", - "ver": "1.0", - "api": [ - 3 - ], - "battr": [ - 13, - 14 - ] - } - } - ], - "site": { - "id": "102855", - "cat": [ - "IAB3-1" - ], - "domain": "www.foobar.com", - "page": "http://www.foobar.com/1234.html ", - "publisher": { - "id": "8953", - "name": "foobar.com", - "cat": [ - "IAB3-1" - ], - "domain": "foobar.com" - } - }, - "device": { - "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2", - "ip": "123.145.167.10" - }, - "user": { - "id": "55816b39711f9b5acf3b90e313ed29e51665623f" - } + "id": "80ce30c53c16e6ede735f123ef6e32361bfc7b22", + "at": 1, + "cur": [ + "USD" + ], + "imp": [ + { + "id": "1", + "bidfloor": 0.03, + "native": { + "request": "{\"native\":{\"ver\":\"1.0\",\"assets\":[ ... ]}}", + "ver": "1.0", + "api": [ + 3 + ], + "battr": [ + 13, + 14 + ] + } + } + ], + "site": { + "id": "102855", + "cat": [ + "IAB3-1" + ], + "domain": "www.foobar.com", + "page": "http://www.foobar.com/1234.html ", + "publisher": { + "id": "8953", + "name": "foobar.com", + "cat": [ + "IAB3-1" + ], + "domain": "foobar.com" + } + }, + "device": { + "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2", + "ip": "123.145.167.10" + }, + "user": { + "id": "55816b39711f9b5acf3b90e313ed29e51665623f" + } } diff --git a/openrtb2/testdata/bid-request/2.5/pmp-with-direct-deal.json b/openrtb2/testdata/bid-request/2.5/pmp-with-direct-deal.json index 51e8adb..403c20f 100644 --- a/openrtb2/testdata/bid-request/2.5/pmp-with-direct-deal.json +++ b/openrtb2/testdata/bid-request/2.5/pmp-with-direct-deal.json @@ -1,61 +1,61 @@ { - "id": "80ce30c53c16e6ede735f123ef6e32361bfc7b22", - "at": 1, - "cur": [ - "USD" - ], - "imp": [ - { - "id": "1", - "bidfloor": 0.03, - "banner": { - "h": 250, - "w": 300 - }, - "pmp": { - "private_auction": 1, - "deals": [ - { - "id": "AB-Agency1-0001", - "at": 1, - "bidfloor": 2.5, - "wseat": [ - "Agency1" - ] - }, - { - "id": "XY-Agency2-0001", - "at": 2, - "bidfloor": 2, - "wseat": [ - "Agency2" - ] - } - ] - } - } - ], - "site": { - "id": "102855", - "domain": "www.foobar.com", - "cat": [ - "IAB3-1" - ], - "page": "http://www.foobar.com/1234.html", - "publisher": { - "id": "8953", - "name": "foobar.com", - "cat": [ - "IAB3-1" - ], - "domain": "foobar.com" - } - }, - "device": { - "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2", - "ip": "123.145.167.10" - }, - "user": { - "id": "55816b39711f9b5acf3b90e313ed29e51665623f" - } + "id": "80ce30c53c16e6ede735f123ef6e32361bfc7b22", + "at": 1, + "cur": [ + "USD" + ], + "imp": [ + { + "id": "1", + "bidfloor": 0.03, + "banner": { + "h": 250, + "w": 300 + }, + "pmp": { + "private_auction": 1, + "deals": [ + { + "id": "AB-Agency1-0001", + "at": 1, + "bidfloor": 2.5, + "wseat": [ + "Agency1" + ] + }, + { + "id": "XY-Agency2-0001", + "at": 2, + "bidfloor": 2, + "wseat": [ + "Agency2" + ] + } + ] + } + } + ], + "site": { + "id": "102855", + "domain": "www.foobar.com", + "cat": [ + "IAB3-1" + ], + "page": "http://www.foobar.com/1234.html", + "publisher": { + "id": "8953", + "name": "foobar.com", + "cat": [ + "IAB3-1" + ], + "domain": "foobar.com" + } + }, + "device": { + "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2", + "ip": "123.145.167.10" + }, + "user": { + "id": "55816b39711f9b5acf3b90e313ed29e51665623f" + } } diff --git a/openrtb2/testdata/bid-request/2.5/simple-banner.json b/openrtb2/testdata/bid-request/2.5/simple-banner.json index 490c4d0..a7dc7ba 100644 --- a/openrtb2/testdata/bid-request/2.5/simple-banner.json +++ b/openrtb2/testdata/bid-request/2.5/simple-banner.json @@ -1,40 +1,40 @@ { - "id": "80ce30c53c16e6ede735f123ef6e32361bfc7b22", - "at": 1, - "cur": [ - "USD" - ], - "imp": [ - { - "id": "1", - "bidfloor": 0.03, - "banner": { - "h": 250, - "w": 300 - } - } - ], - "site": { - "id": "102855", - "cat": [ - "IAB3-1" - ], - "domain": "www.foobar.com", - "page": "http://www.foobar.com/1234.html ", - "publisher": { - "id": "8953", - "name": "foobar.com", - "cat": [ - "IAB3-1" - ], - "domain": "foobar.com" - } - }, - "device": { - "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2", - "ip": "123.145.167.10" - }, - "user": { - "id": "55816b39711f9b5acf3b90e313ed29e51665623f" - } + "id": "80ce30c53c16e6ede735f123ef6e32361bfc7b22", + "at": 1, + "cur": [ + "USD" + ], + "imp": [ + { + "id": "1", + "bidfloor": 0.03, + "banner": { + "h": 250, + "w": 300 + } + } + ], + "site": { + "id": "102855", + "cat": [ + "IAB3-1" + ], + "domain": "www.foobar.com", + "page": "http://www.foobar.com/1234.html ", + "publisher": { + "id": "8953", + "name": "foobar.com", + "cat": [ + "IAB3-1" + ], + "domain": "foobar.com" + } + }, + "device": { + "ua": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/537.13 (KHTML, like Gecko) Version/5.1.7 Safari/534.57.2", + "ip": "123.145.167.10" + }, + "user": { + "id": "55816b39711f9b5acf3b90e313ed29e51665623f" + } } diff --git a/openrtb2/testdata/bid-request/2.5/video.json b/openrtb2/testdata/bid-request/2.5/video.json index b61f04e..5664974 100644 --- a/openrtb2/testdata/bid-request/2.5/video.json +++ b/openrtb2/testdata/bid-request/2.5/video.json @@ -1,132 +1,132 @@ { - "id": "1234567893", - "at": 2, - "tmax": 120, - "imp": [ - { - "id": "1", - "bidfloor": 0.03, - "video": { - "w": 640, - "h": 480, - "pos": 1, - "minduration": 5, - "maxduration": 30, - "maxextended": 30, - "minbitrate": 300, - "maxbitrate": 1500, - "api": [ - 1, - 2 - ], - "protocols": [ - 2, - 3 - ], - "mimes": [ - "video/x-flv", - "video/mp4", - "application/x-shockwave-flash", - "application/javascript" - ], - "linearity": 1, - "boxingallowed": 1, - "playbackmethod": [ - 1, - 3 - ], - "delivery": [ - 2 - ], - "battr": [ - 13, - 14 - ], - "companionad": [ - { - "id": "1234567893-1", - "w": 300, - "h": 250, - "pos": 1, - "battr": [ - 13, - 14 - ], - "expdir": [ - 2, - 4 - ] - }, - { - "id": "1234567893-2", - "w": 728, - "h": 90, - "pos": 1, - "battr": [ - 13, - 14 - ] - } - ], - "companiontype": [ - 1, - 2 - ] - } - } - ], - "site": { - "id": "1345135123", - "name": "Site ABCD", - "domain": "siteabcd.com", - "cat": [ - "IAB2-1", - "IAB2-2" - ], - "page": "http://siteabcd.com/page.htm", - "ref": "http://referringsite.com/referringpage.htm", - "privacypolicy": 1, - "publisher": { - "id": "pub12345", - "name": "Publisher A" - }, - "content": { - "id": "1234567", - "series": "All About Cars", - "season": "2", - "episode": 23, - "title": "Car Show", - "cat": [ - "IAB2-2" - ], - "keywords": "keyword-a,keyword-b,keyword-c" - } - }, - "device": { - "ip": "64.124.253.1", - "ua": "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16", - "os": "OS X", - "flashver": "10.1", - "js": 1 - }, - "user": { - "id": "456789876567897654678987656789", - "buyeruid": "545678765467876567898765678987654", - "data": [ - { - "id": "6", - "name": "Data Provider 1", - "segment": [ - { - "id": "12341318394918", - "name": "auto intenders" - }, - { - "id": "1234131839491234", - "name": "auto enthusiasts" - } - ] - } - ] - } + "id": "1234567893", + "at": 2, + "tmax": 120, + "imp": [ + { + "id": "1", + "bidfloor": 0.03, + "video": { + "w": 640, + "h": 480, + "pos": 1, + "minduration": 5, + "maxduration": 30, + "maxextended": 30, + "minbitrate": 300, + "maxbitrate": 1500, + "api": [ + 1, + 2 + ], + "protocols": [ + 2, + 3 + ], + "mimes": [ + "video/x-flv", + "video/mp4", + "application/x-shockwave-flash", + "application/javascript" + ], + "linearity": 1, + "boxingallowed": 1, + "playbackmethod": [ + 1, + 3 + ], + "delivery": [ + 2 + ], + "battr": [ + 13, + 14 + ], + "companionad": [ + { + "id": "1234567893-1", + "w": 300, + "h": 250, + "pos": 1, + "battr": [ + 13, + 14 + ], + "expdir": [ + 2, + 4 + ] + }, + { + "id": "1234567893-2", + "w": 728, + "h": 90, + "pos": 1, + "battr": [ + 13, + 14 + ] + } + ], + "companiontype": [ + 1, + 2 + ] + } + } + ], + "site": { + "id": "1345135123", + "name": "Site ABCD", + "domain": "siteabcd.com", + "cat": [ + "IAB2-1", + "IAB2-2" + ], + "page": "http://siteabcd.com/page.htm", + "ref": "http://referringsite.com/referringpage.htm", + "privacypolicy": 1, + "publisher": { + "id": "pub12345", + "name": "Publisher A" + }, + "content": { + "id": "1234567", + "series": "All About Cars", + "season": "2", + "episode": 23, + "title": "Car Show", + "cat": [ + "IAB2-2" + ], + "keywords": "keyword-a,keyword-b,keyword-c" + } + }, + "device": { + "ip": "64.124.253.1", + "ua": "Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.16) Gecko/20110319 Firefox/3.6.16", + "os": "OS X", + "flashver": "10.1", + "js": 1 + }, + "user": { + "id": "456789876567897654678987656789", + "buyeruid": "545678765467876567898765678987654", + "data": [ + { + "id": "6", + "name": "Data Provider 1", + "segment": [ + { + "id": "12341318394918", + "name": "auto intenders" + }, + { + "id": "1234131839491234", + "name": "auto enthusiasts" + } + ] + } + ] + } } diff --git a/openrtb2/testdata/bid-response/2.5/ad-served-on-win-notice.json b/openrtb2/testdata/bid-response/2.5/ad-served-on-win-notice.json index 8415659..621b4cb 100644 --- a/openrtb2/testdata/bid-response/2.5/ad-served-on-win-notice.json +++ b/openrtb2/testdata/bid-response/2.5/ad-served-on-win-notice.json @@ -1,34 +1,34 @@ { - "id": "1234567890", - "bidid": "abc1123", - "cur": "USD", - "seatbid": [ - { - "seat": "512", - "bid": [ - { - "id": "1", - "impid": "102", - "price": 9.43, - "nurl": "http://adserver.com/winnotice?impid=102", - "iurl": "http://adserver.com/pathtosampleimage", - "adomain": [ - "advertiserdomain.com" - ], - "cid": "campaign111", - "crid": "creative112", - "attr": [ - 1, - 2, - 3, - 4, - 5, - 6, - 7, - 12 - ] - } - ] - } - ] + "id": "1234567890", + "bidid": "abc1123", + "cur": "USD", + "seatbid": [ + { + "seat": "512", + "bid": [ + { + "id": "1", + "impid": "102", + "price": 9.43, + "nurl": "http://adserver.com/winnotice?impid=102", + "iurl": "http://adserver.com/pathtosampleimage", + "adomain": [ + "advertiserdomain.com" + ], + "cid": "campaign111", + "crid": "creative112", + "attr": [ + 1, + 2, + 3, + 4, + 5, + 6, + 7, + 12 + ] + } + ] + } + ] } diff --git a/openrtb2/testdata/bid-response/2.5/direct-deal-ad-served-on-win-notice.json b/openrtb2/testdata/bid-response/2.5/direct-deal-ad-served-on-win-notice.json index 423c3e9..0aabb0d 100644 --- a/openrtb2/testdata/bid-response/2.5/direct-deal-ad-served-on-win-notice.json +++ b/openrtb2/testdata/bid-response/2.5/direct-deal-ad-served-on-win-notice.json @@ -1,32 +1,32 @@ { - "id": "1234567890", - "bidid": "abc1123", - "cur": "USD", - "seatbid": [ - { - "seat": "512", - "bid": [ - { - "id": "1", - "impid": "102", - "price": 5, - "dealid": "ABC-1234-6789", - "nurl": "http: //adserver.com/winnotice?impid=102", - "adomain": [ - "advertiserdomain.com" - ], - "iurl": "http: //adserver.com/pathtosampleimage", - "cid": "campaign111", - "crid": "creative112", - "adid": "314", - "attr": [ - 1, - 2, - 3, - 4 - ] - } - ] - } - ] + "id": "1234567890", + "bidid": "abc1123", + "cur": "USD", + "seatbid": [ + { + "seat": "512", + "bid": [ + { + "id": "1", + "impid": "102", + "price": 5, + "dealid": "ABC-1234-6789", + "nurl": "http: //adserver.com/winnotice?impid=102", + "adomain": [ + "advertiserdomain.com" + ], + "iurl": "http: //adserver.com/pathtosampleimage", + "cid": "campaign111", + "crid": "creative112", + "adid": "314", + "attr": [ + 1, + 2, + 3, + 4 + ] + } + ] + } + ] } diff --git a/openrtb2/testdata/bid-response/2.5/native-markup-returned-inline.json b/openrtb2/testdata/bid-response/2.5/native-markup-returned-inline.json index bf4b292..6ad0341 100644 --- a/openrtb2/testdata/bid-response/2.5/native-markup-returned-inline.json +++ b/openrtb2/testdata/bid-response/2.5/native-markup-returned-inline.json @@ -1,16 +1,16 @@ { - "id": "123", - "seatbid": [ - { - "bid": [ - { - "id": "12345", - "impid": "2", - "price": 3, - "nurl": "http://example.com/winnoticeurl", - "adm": "{\"native\":{\"ver\":\"1.0\",\"link\":{ ... },\"imptrackers\":[ ... ],\"assets\":[ ... ]}}" - } - ] - } - ] + "id": "123", + "seatbid": [ + { + "bid": [ + { + "id": "12345", + "impid": "2", + "price": 3, + "nurl": "http://example.com/winnoticeurl", + "adm": "{\"native\":{\"ver\":\"1.0\",\"link\":{ ... },\"imptrackers\":[ ... ],\"assets\":[ ... ]}}" + } + ] + } + ] } diff --git a/openrtb2/testdata/bid-response/2.5/vast-xml-document-returned-inline.json b/openrtb2/testdata/bid-response/2.5/vast-xml-document-returned-inline.json index 8529bd6..781eeac 100644 --- a/openrtb2/testdata/bid-response/2.5/vast-xml-document-returned-inline.json +++ b/openrtb2/testdata/bid-response/2.5/vast-xml-document-returned-inline.json @@ -1,16 +1,16 @@ { - "id": "123", - "seatbid": [ - { - "bid": [ - { - "id": "12345", - "impid": "2", - "price": 3, - "nurl": "http://example.com/winnoticeurl", - "adm": "\n\n\n\nSpotXchange\n\n \n\nhttp://sample.com\n\n\n\n \n\n\n00:00:30\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" - } - ] - } - ] + "id": "123", + "seatbid": [ + { + "bid": [ + { + "id": "12345", + "impid": "2", + "price": 3, + "nurl": "http://example.com/winnoticeurl", + "adm": "\n\n\n\nSpotXchange\n\n \n\nhttp://sample.com\n\n\n\n \n\n\n00:00:30\n \n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n" + } + ] + } + ] }