github.com/prebid/prebid-server/v2@v2.18.0/adapters/yandex/yandextest/supplemental/simple-banner-unknown-imp.json (about) 1 { 2 "mockBidRequest": { 3 "id": "request_id", 4 "imp": [ 5 { 6 "id": "imp_id", 7 "banner": { 8 "w": 300, 9 "h": 600 10 }, 11 "ext": { 12 "bidder": { 13 "page_id": 134001, 14 "imp_id": 1 15 } 16 } 17 } 18 ], 19 "site": { 20 "domain": "www.example.com", 21 "page": "http://www.example.com" 22 }, 23 "cur": [ 24 "USD" 25 ], 26 "device": { 27 "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36", 28 "ip": "127.0.0.1" 29 }, 30 "tmax": 500 31 }, 32 "httpCalls": [ 33 { 34 "expectedRequest": { 35 "uri": "https://bs-metadsp.yandex.ru/prebid/134001?imp-id=1&ssp-cur=USD&ssp-id=10500&target-ref=www.example.com", 36 "headers": { 37 "User-Agent": [ 38 "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36" 39 ], 40 "X-Forwarded-For": [ 41 "127.0.0.1" 42 ], 43 "X-Real-Ip": [ 44 "127.0.0.1" 45 ], 46 "Content-Type": [ 47 "application/json;charset=utf-8" 48 ], 49 "Referer": [ 50 "http://www.example.com" 51 ], 52 "Accept": [ 53 "application/json" 54 ] 55 }, 56 "body": { 57 "id": "request_id", 58 "imp": [ 59 { 60 "id": "imp_id", 61 "banner": { 62 "w": 300, 63 "h": 600 64 }, 65 "ext": { 66 "bidder": { 67 "page_id": 134001, 68 "imp_id": 1 69 } 70 } 71 } 72 ], 73 "site": { 74 "domain": "www.example.com", 75 "page": "http://www.example.com" 76 }, 77 "cur": [ 78 "USD" 79 ], 80 "device": { 81 "ua": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36", 82 "ip": "127.0.0.1" 83 }, 84 "tmax": 500 85 }, 86 "impIDs":["imp_id"] 87 }, 88 "mockResponse": { 89 "status": 200, 90 "headers": {}, 91 "body": { 92 "id": "request_id", 93 "seatbid": [ 94 { 95 "bid": [ 96 { 97 "id": "bid_id", 98 "impid": "imp_id_unknown", 99 "price": 1.25, 100 "crid": "crid", 101 "adm": "<html>content</html>", 102 "h": 600, 103 "w": 300 104 } 105 ] 106 } 107 ], 108 "bidid": "bid_id", 109 "cur": "USD" 110 } 111 } 112 } 113 ], 114 "expectedBidResponses": [ 115 { 116 "bids": [] 117 } 118 ], 119 "expectedMakeBidsErrors": [ 120 { 121 "value": "Invalid bid imp", 122 "comparison": "regex" 123 } 124 ] 125 }