github.com/prebid/prebid-server/v2@v2.18.0/adapters/readpeak/readpeaktest/exemplary/banner_multiple_imps.json (about) 1 { 2 "mockBidRequest": { 3 "id": "req-id-banner", 4 "imp": [ 5 { 6 "id": "imp-id-banner-1", 7 "banner": { 8 "format": [ 9 { 10 "w": 640, 11 "h": 400 12 }, 13 { 14 "w": 320, 15 "h": 300 16 } 17 ] 18 }, 19 "ext": { 20 "bidder": { 21 "siteId": "site-id-b", 22 "publisherId": "publisher-id-b", 23 "tagId": "tag-id-b-1", 24 "bidfloor": 5.0 25 } 26 } 27 }, 28 { 29 "id": "imp-id-banner-2", 30 "banner": { 31 "format": [ 32 { 33 "w": 1200, 34 "h": 768 35 } 36 ] 37 }, 38 "ext": { 39 "bidder": { 40 "siteId": "site-id-b", 41 "publisherId": "publisher-id-b", 42 "tagId": "tag-id-b-2", 43 "bidfloor": 4.0 44 } 45 } 46 } 47 ], 48 "site": { 49 "id": "some-site-id-b", 50 "domain": "http://test.com", 51 "page": "http://test.com/test", 52 "publisher": { 53 "id": "some-pub-id-b" 54 } 55 } 56 }, 57 "httpCalls": [ 58 { 59 "expectedRequest": { 60 "uri": "https://dsp.readpeak.com/header/prebid", 61 "body": { 62 "id": "req-id-banner", 63 "imp": [ 64 { 65 "id": "imp-id-banner-1", 66 "tagid": "tag-id-b-1", 67 "bidfloor": 5.0, 68 "banner": { 69 "format": [ 70 { 71 "w": 640, 72 "h": 400 73 }, 74 { 75 "w": 320, 76 "h": 300 77 } 78 ] 79 }, 80 "ext": { 81 "bidder": { 82 "siteId": "site-id-b", 83 "publisherId": "publisher-id-b", 84 "tagId": "tag-id-b-1", 85 "bidfloor": 5.0 86 } 87 } 88 }, 89 { 90 "id": "imp-id-banner-2", 91 "tagid": "tag-id-b-2", 92 "bidfloor": 4.0, 93 "banner": { 94 "format": [ 95 { 96 "w": 1200, 97 "h": 768 98 } 99 ] 100 }, 101 "ext": { 102 "bidder": { 103 "siteId": "site-id-b", 104 "publisherId": "publisher-id-b", 105 "tagId": "tag-id-b-2", 106 "bidfloor": 4.0 107 } 108 } 109 } 110 ], 111 "site": { 112 "id": "site-id-b", 113 "publisher": { 114 "id": "publisher-id-b" 115 }, 116 "domain": "http://test.com", 117 "page": "http://test.com/test" 118 } 119 }, 120 "impIDs":["imp-id-banner-1", "imp-id-banner-2"] 121 }, 122 "mockResponse": { 123 "status": 200, 124 "body": { 125 "id": "req-id-banner", 126 "seatbid": [ 127 { 128 "seat": "123", 129 "bid": [ 130 { 131 "id": "test-bid-id-banner-1", 132 "impid": "imp-id-banner-1", 133 "price": 0.500000, 134 "adm": "<html><body>some-test-ad-banner<img src='http://test.com/burl?p=${AUCTION_PRICE}'></body></html>", 135 "crid": "123", 136 "w": 640, 137 "h": 400, 138 "burl": "http://test.com/burl?p=${AUCTION_PRICE}", 139 "mtype": 1 140 } 141 ] 142 }, 143 { 144 "seat": "123", 145 "bid": [ 146 { 147 "id": "test-bid-id-banner-2", 148 "impid": "imp-id-banner-2", 149 "price": 0.500000, 150 "adm": "<html><body>some-test-ad-banner<img src='http://test.com/burl?p=${AUCTION_PRICE}'></body></html>", 151 "crid": "123", 152 "w": 1200, 153 "h": 768, 154 "burl": "http://test.com/burl?p=${AUCTION_PRICE}", 155 "mtype": 1 156 } 157 ] 158 } 159 ], 160 "cur": "USD" 161 } 162 } 163 } 164 ], 165 "expectedBidResponses": [ 166 { 167 "currency": "USD", 168 "bids": [ 169 { 170 "bid": { 171 "id": "test-bid-id-banner-1", 172 "impid": "imp-id-banner-1", 173 "price": 0.5, 174 "adm": "<html><body>some-test-ad-banner<img src='http://test.com/burl?p=0.5'></body></html>", 175 "crid": "123", 176 "w": 640, 177 "h": 400, 178 "burl": "http://test.com/burl?p=0.5", 179 "mtype": 1 180 }, 181 "type": "banner" 182 }, 183 { 184 "bid": { 185 "id": "test-bid-id-banner-2", 186 "impid": "imp-id-banner-2", 187 "price": 0.5, 188 "adm": "<html><body>some-test-ad-banner<img src='http://test.com/burl?p=0.5'></body></html>", 189 "crid": "123", 190 "w": 1200, 191 "h": 768, 192 "burl": "http://test.com/burl?p=0.5", 193 "mtype": 1 194 }, 195 "type": "banner" 196 } 197 ] 198 } 199 ] 200 }