github.com/prebid/prebid-server/v2@v2.18.0/adapters/readpeak/readpeaktest/supplemental/bid_response_400.json (about) 1 { 2 "mockBidRequest": { 3 "id": "req-id-native", 4 "imp": [ 5 { 6 "id": "imp-id-native", 7 "native": { 8 "request": "{\"ver\":\"1.1\",\"context\":1,\"contextsubtype\":11,\"plcmttype\":4,\"plcmtc nt\":8,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":500}},{\"id\":2,\"required\":1,\"img\":{\"type\":3,\"wmin\":100,\"hmin\":100}},{\"id\":3,\"required\":0,\"data\":{\"type\":1,\"len\":200}},{\"id\":4,\"required\":0,\"data\":{\"type\":2,\"len\":400}},{\"id\":5,\"required\":0,\"data\":{\"type\":6,\"len\":40}},{\"id\":6,\"required\":0,\" data\":{\"type\":500}}]}", 9 "ver": "1.1" 10 }, 11 "ext": { 12 "bidder": { 13 "siteId": "site-id-n", 14 "publisherId": "publisher-id-n", 15 "tagId": "tag-id-n", 16 "bidfloor": 5.0 17 } 18 } 19 } 20 ], 21 "site": { 22 "id": "some-site-id-n", 23 "domain": "http://test.com", 24 "page": "http://test.com/test", 25 "publisher": { 26 "id": "some-pub-id-n" 27 } 28 } 29 }, 30 "httpCalls": [ 31 { 32 "expectedRequest": { 33 "uri": "https://dsp.readpeak.com/header/prebid", 34 "body": { 35 "id": "req-id-native", 36 "imp": [ 37 { 38 "id": "imp-id-native", 39 "tagid": "tag-id-n", 40 "bidfloor": 5.0, 41 "native": { 42 "request": "{\"ver\":\"1.1\",\"context\":1,\"contextsubtype\":11,\"plcmttype\":4,\"plcmtc nt\":8,\"assets\":[{\"id\":1,\"required\":1,\"title\":{\"len\":500}},{\"id\":2,\"required\":1,\"img\":{\"type\":3,\"wmin\":100,\"hmin\":100}},{\"id\":3,\"required\":0,\"data\":{\"type\":1,\"len\":200}},{\"id\":4,\"required\":0,\"data\":{\"type\":2,\"len\":400}},{\"id\":5,\"required\":0,\"data\":{\"type\":6,\"len\":40}},{\"id\":6,\"required\":0,\" data\":{\"type\":500}}]}", 43 "ver": "1.1" 44 }, 45 "ext": { 46 "bidder": { 47 "siteId": "site-id-n", 48 "publisherId": "publisher-id-n", 49 "tagId": "tag-id-n", 50 "bidfloor": 5.0 51 } 52 } 53 } 54 ], 55 "site": { 56 "id": "site-id-n", 57 "publisher": { 58 "id": "publisher-id-n" 59 }, 60 "domain": "http://test.com", 61 "page": "http://test.com/test" 62 } 63 }, 64 "impIDs":["imp-id-native"] 65 }, 66 "mockResponse": { 67 "status": 400, 68 "body": { 69 "id": "req-id-native", 70 "seatbid": [ 71 { 72 "seat": "bid", 73 "bid": [ 74 { 75 "id": "test-bid-id-native", 76 "impid": "imp-id-native", 77 "price": 0.500000, 78 "adm": "{\"assets\":[{\"id\":1,\"title\":{\"text\":\"Test title\"}},{\"id\":2,\"img\":{\"url\":\"http://test.image.jpg\",\"w\":550,\"h\":288}},{\"id\":3,\"data\":{\"value\":\"Test title\"}},{\"id\":4,\"data\":{\"value\":\"Test summary here\"}}],\"link\":{\"url\":\"https://test-click.url\"},\"imptrackers\":[]}", 79 "cid": "12", 80 "crid": "123", 81 "burl": "http://test.com/burl?p=${AUCTION_PRICE}", 82 "adomain": [ 83 "test-readpeak.com" 84 ] 85 } 86 ] 87 } 88 ], 89 "cur": "USD" 90 } 91 } 92 } 93 ], 94 "expectedMakeBidsErrors": [ 95 { 96 "value": "Unexpected status code: 400. Run with request.debug = 1 for more info", 97 "comparison": "literal" 98 } 99 ] 100 }