github.com/prebid/prebid-server@v0.275.0/adapters/adocean/adoceantest/supplemental/encode-error.json (about) 1 { 2 "mockBidRequest": { 3 "id": "9ed903f4-383d-406b-8011-4f06526cb02c", 4 "source": { 5 "tid": "9ed903f4-383d-406b-8011-4f06526cb02c" 6 }, 7 "tmax": 1000, 8 "imp": [ 9 { 10 "id": "ao-test", 11 "ext": { 12 "bidder": { 13 "emitterPrefix": "myao", 14 "masterId": "tmYF.DMl7ZBq.Nqt2Bq4FutQTJfTpxCOmtNPZoQUDcL.G7", 15 "slaveId": "adoceanmyaozpniqismex" 16 } 17 }, 18 "banner": { 19 "format": [ 20 { 21 "w": 300, 22 "h": 250 23 } 24 ] 25 } 26 } 27 ], 28 "test": 1, 29 "ext": { 30 "prebid": { 31 "targeting": { 32 "includewinners": true, 33 "includebidderkeys": false 34 } 35 } 36 }, 37 "site": { 38 "publisher": { 39 "id": "1" 40 }, 41 "page": "http://example.com/test.html" 42 }, 43 "device": { 44 "w": 1280, 45 "h": 720, 46 "ip": "192.168.1.1" 47 } 48 }, 49 "httpCalls": [ 50 { 51 "expectedRequest": { 52 "uri": "https://myao.adocean.pl/_10000000/ad.json?aid=adoceanmyaozpniqismex%3Aao-test&aosspsizes=myaozpniqismex~300x250&devmake=&devmodel=&devos=&devosv=&dpidmd5=&id=tmYF.DMl7ZBq.Nqt2Bq4FutQTJfTpxCOmtNPZoQUDcL.G7&nc=1&nosecure=1&pbsrv_v=1.3.0" 53 }, 54 "mockResponse": { 55 "status": 200, 56 "body": [ 57 { 58 "id": "adoceanmyaozpniqismex", 59 "price": "1", 60 "winurl": "", 61 "statsUrl": "", 62 "code": " <!-- code 1 --> %a", 63 "currency": "EUR", 64 "minFloorPrice": "0.01", 65 "width": "300", 66 "height": "250", 67 "crid": "0af345b42983cc4bc0", 68 "ttl": "300" 69 } 70 ] 71 } 72 } 73 ], 74 "expectedBidResponses": [{"currency":"USD","bids":[]}], 75 "expectedMakeBidsErrors": [ 76 { 77 "value": "invalid URL escape \"%a\"", 78 "comparison": "literal" 79 } 80 ] 81 }