github.com/prebid/prebid-server@v0.275.0/adapters/rubicon/rubicontest/exemplary/bidonmultiformat.json (about) 1 { 2 "mockBidRequest": { 3 "id": "test-request-id", 4 "device": { 5 "ip": "123.123.123.123", 6 "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx" 7 }, 8 "site": { 9 "page": "somePage", 10 "ref": "someRef", 11 "search": "someSearch" 12 }, 13 "imp": [ 14 { 15 "id": "test-imp-id", 16 "instl": 1, 17 "banner": { 18 "format": [ 19 { 20 "w": 300, 21 "h": 400 22 } 23 ] 24 }, 25 "video": { 26 "placement": 3, 27 "mimes": [ 28 "video/mp4" 29 ], 30 "protocols": [ 31 2, 32 5 33 ], 34 "w": 1024, 35 "h": 576 36 }, 37 "ext": { 38 "bidder": { 39 "bidonmultiformat": true, 40 "accountId": 1001, 41 "siteId": 113932, 42 "zoneId": 535510 43 } 44 } 45 } 46 ] 47 }, 48 "httpCalls": [ 49 { 50 "expectedRequest": { 51 "uri": "uri?tk_xint=pbs-test-tracker", 52 "body": { 53 "id": "test-request-id", 54 "device": { 55 "ext": { 56 "rp": { 57 "pixelratio": 0 58 } 59 }, 60 "ip": "123.123.123.123", 61 "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx" 62 }, 63 "site": { 64 "page": "somePage", 65 "ref": "someRef", 66 "search": "someSearch", 67 "ext": { 68 "rp": { 69 "site_id": 113932 70 } 71 }, 72 "publisher": { 73 "ext": { 74 "rp": { 75 "account_id": 1001 76 } 77 } 78 } 79 }, 80 "imp": [ 81 { 82 "id": "test-imp-id", 83 "instl": 1, 84 "secure": 1, 85 "banner": { 86 "format": [ 87 { 88 "w": 300, 89 "h": 400 90 } 91 ], 92 "ext": { 93 "rp": { 94 "mime": "text/html" 95 } 96 } 97 }, 98 "ext": { 99 "rp": { 100 "target": { 101 "page": [ 102 "somePage" 103 ], 104 "ref": [ 105 "someRef" 106 ], 107 "search": [ 108 "someSearch" 109 ] 110 }, 111 "track": { 112 "mint": "", 113 "mint_version": "" 114 }, 115 "zone_id": 535510 116 } 117 } 118 } 119 ] 120 } 121 }, 122 "mockResponse": { 123 "status": 200, 124 "body": { 125 "id": "test-request-id", 126 "seatbid": [ 127 { 128 "bid": [ 129 { 130 "id": "test_bid_id", 131 "impid": "test-imp-id", 132 "price": 0.27543, 133 "adm": "some-test-ad", 134 "cid": "test_cid", 135 "crid": "test_crid", 136 "dealid": "test_dealid", 137 "ext": { 138 "prebid": { 139 "type": "banner" 140 } 141 } 142 } 143 ], 144 "seat": "adman" 145 } 146 ], 147 "cur": "USD" 148 } 149 } 150 }, 151 { 152 "expectedRequest": { 153 "uri": "uri?tk_xint=pbs-test-tracker", 154 "body": { 155 "id": "test-request-id", 156 "device": { 157 "ext": { 158 "rp": { 159 "pixelratio": 0 160 } 161 }, 162 "ip": "123.123.123.123", 163 "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx" 164 }, 165 "site": { 166 "page": "somePage", 167 "ref": "someRef", 168 "search": "someSearch", 169 "ext": { 170 "rp": { 171 "site_id": 113932 172 } 173 }, 174 "publisher": { 175 "ext": { 176 "rp": { 177 "account_id": 1001 178 } 179 } 180 } 181 }, 182 "imp": [ 183 { 184 "id": "test-imp-id", 185 "instl": 1, 186 "secure": 1, 187 "video": { 188 "placement": 3, 189 "ext": { 190 "rp": { 191 "size_id": 203 192 } 193 }, 194 "mimes": [ 195 "video/mp4" 196 ], 197 "protocols": [ 198 2, 199 5 200 ], 201 "w": 1024, 202 "h": 576 203 }, 204 "ext": { 205 "rp": { 206 "target": { 207 "page": [ 208 "somePage" 209 ], 210 "ref": [ 211 "someRef" 212 ], 213 "search": [ 214 "someSearch" 215 ] 216 }, 217 "track": { 218 "mint": "", 219 "mint_version": "" 220 }, 221 "zone_id": 535510 222 } 223 } 224 } 225 ] 226 } 227 }, 228 "mockResponse": { 229 "status": 200, 230 "body": { 231 "id": "test-request-id", 232 "seatbid": [ 233 { 234 "bid": [ 235 { 236 "id": "test_bid_id-2", 237 "impid": "test-imp-id", 238 "price": 0.9, 239 "adm": "some-test-ad", 240 "cid": "test_cid", 241 "crid": "test_crid", 242 "dealid": "test_dealid", 243 "ext": { 244 "prebid": { 245 "type": "video" 246 } 247 } 248 } 249 ], 250 "seat": "adman" 251 } 252 ], 253 "cur": "USD" 254 } 255 } 256 } 257 ], 258 "expectedBidResponses": [ 259 { 260 "currency": "USD", 261 "bids": [ 262 { 263 "bid": { 264 "id": "test_bid_id", 265 "impid": "test-imp-id", 266 "price": 0.27543, 267 "adm": "some-test-ad", 268 "cid": "test_cid", 269 "crid": "test_crid", 270 "dealid": "test_dealid", 271 "ext": { 272 "prebid": { 273 "type": "banner" 274 } 275 } 276 }, 277 "type": "banner" 278 } 279 ] 280 }, 281 { 282 "currency": "USD", 283 "bids": [ 284 { 285 "bid": { 286 "id": "test_bid_id-2", 287 "impid": "test-imp-id", 288 "price": 0.9, 289 "adm": "some-test-ad", 290 "cid": "test_cid", 291 "crid": "test_crid", 292 "dealid": "test_dealid", 293 "ext": { 294 "prebid": { 295 "type": "video" 296 } 297 } 298 }, 299 "type": "video" 300 } 301 ] 302 } 303 ] 304 }