github.com/prebid/prebid-server/v2@v2.18.0/adapters/bwx/bwxtest/exemplary/banner.json (about) 1 { 2 "mockBidRequest": { 3 "id": "id", 4 "imp": [ 5 { 6 "id": "1", 7 "secure": 1, 8 "bidfloor": 0.01, 9 "bidfloorcur": "USD", 10 "banner": { 11 "w": 300, 12 "h": 250, 13 "pos": 0 14 }, 15 "ext": { 16 "bidder": { 17 "pid": "3163e2c9e034770c0daaa98c7613b573" 18 } 19 } 20 }, 21 { 22 "id": "2", 23 "secure": 1, 24 "bidfloor": 0.2, 25 "bidfloorcur": "USD", 26 "banner": { 27 "w": 300, 28 "h": 250, 29 "pos": 4 30 }, 31 "ext": { 32 "bidder": { 33 "env": "boldwinx-stage", 34 "pid": "3163e2c9e034770c0daaa98c7613b573" 35 } 36 } 37 } 38 ], 39 "device": { 40 "ua": "UA", 41 "ip": "123.3.4.123" 42 }, 43 "regs": { 44 "ext": { 45 "gdpr": 0 46 } 47 }, 48 "user": { 49 "id": "userid" 50 }, 51 "site": { 52 "id": "id", 53 "domain": "test,com", 54 "cat": ["IAB12"], 55 "publisher": { 56 "id": "pubid" 57 } 58 } 59 }, 60 "httpCalls": [ 61 { 62 "expectedRequest": { 63 "uri": "http://rtb.boldwin.live/?pid=3163e2c9e034770c0daaa98c7613b573&host=&pbs=1", 64 "body": { 65 "id": "id", 66 "imp": [ 67 { 68 "id": "1", 69 "secure": 1, 70 "bidfloor": 0.01, 71 "bidfloorcur": "USD", 72 "banner": { 73 "w": 300, 74 "h": 250, 75 "pos": 0 76 }, 77 "ext": { 78 "bidder": { 79 "pid": "3163e2c9e034770c0daaa98c7613b573" 80 } 81 } 82 } 83 ], 84 "device": { 85 "ua": "UA", 86 "ip": "123.3.4.123" 87 }, 88 "regs": { 89 "ext": { 90 "gdpr": 0 91 } 92 }, 93 "user": { 94 "id": "userid" 95 }, 96 "site": { 97 "id": "id", 98 "domain": "test,com", 99 "cat": ["IAB12"], 100 "publisher": { 101 "id": "pubid" 102 } 103 } 104 }, 105 "impIDs":["1"] 106 }, 107 "mockResponse": { 108 "status": 200, 109 "body": { 110 "id": "id", 111 "seatbid": [ 112 { 113 "bid": [ 114 { 115 "id": "id", 116 "impid": "1", 117 "price": 1.2, 118 "nurl": "http://test.com/nurl", 119 "burl": "http://test.com/burl", 120 "adm": "<span>Test2</span>", 121 "adomain": ["test.com"], 122 "cat": ["IAB1"], 123 "cid": "cid", 124 "crid": "crid1", 125 "w": 300, 126 "h": 250, 127 "mtype": 1, 128 "ext": { 129 "prebid": { 130 "type": "banner" 131 } 132 } 133 } 134 ], 135 "seat": "seat" 136 } 137 ], 138 "cur": "USD" 139 } 140 } 141 }, 142 { 143 "expectedRequest": { 144 "uri": "http://rtb.boldwin.live/?pid=3163e2c9e034770c0daaa98c7613b573&host=boldwinx-stage&pbs=1", 145 "body": { 146 "id": "id", 147 "imp": [ 148 { 149 "id": "2", 150 "secure": 1, 151 "bidfloor": 0.2, 152 "bidfloorcur": "USD", 153 "banner": { 154 "w": 300, 155 "h": 250, 156 "pos": 4 157 }, 158 "ext": { 159 "bidder": { 160 "env": "boldwinx-stage", 161 "pid": "3163e2c9e034770c0daaa98c7613b573" 162 } 163 } 164 } 165 ], 166 "device": { 167 "ua": "UA", 168 "ip": "123.3.4.123" 169 }, 170 "regs": { 171 "ext": { 172 "gdpr": 0 173 } 174 }, 175 "user": { 176 "id": "userid" 177 }, 178 "site": { 179 "id": "id", 180 "domain": "test,com", 181 "cat": ["IAB12"], 182 "publisher": { 183 "id": "pubid" 184 } 185 } 186 }, 187 "impIDs":["2"] 188 }, 189 "mockResponse": { 190 "status": 200, 191 "body": { 192 "id": "id", 193 "seatbid": [ 194 { 195 "bid": [ 196 { 197 "id": "id", 198 "impid": "2", 199 "price": 2.4, 200 "nurl": "http://test.com/nurl", 201 "burl": "http://test.com/burl", 202 "adm": "<span>Test3</span>", 203 "adomain": ["test.com"], 204 "cat": ["IAB1"], 205 "cid": "cid", 206 "crid": "crid", 207 "w": 300, 208 "h": 250, 209 "mtype": 1, 210 "ext": { 211 "prebid": { 212 "type": "banner" 213 } 214 } 215 } 216 ], 217 "seat": "seat" 218 } 219 ], 220 "cur": "USD" 221 } 222 } 223 } 224 ], 225 "expectedBidResponses": [ 226 { 227 "currency": "USD", 228 "bids": [ 229 { 230 "bid": { 231 "id": "id", 232 "impid": "1", 233 "price": 1.2, 234 "nurl": "http://test.com/nurl", 235 "burl": "http://test.com/burl", 236 "adm": "<span>Test2</span>", 237 "adomain": ["test.com"], 238 "cat": ["IAB1"], 239 "cid": "cid", 240 "crid": "crid1", 241 "w": 300, 242 "h": 250, 243 "mtype": 1, 244 "ext": { 245 "prebid": { 246 "type": "banner" 247 } 248 } 249 }, 250 "type": "banner" 251 } 252 ] 253 }, 254 { 255 "currency": "USD", 256 "bids": [ 257 { 258 "bid": { 259 "id": "id", 260 "impid": "2", 261 "price": 2.4, 262 "nurl": "http://test.com/nurl", 263 "burl": "http://test.com/burl", 264 "adm": "<span>Test3</span>", 265 "adomain": ["test.com"], 266 "cat": ["IAB1"], 267 "cid": "cid", 268 "crid": "crid", 269 "w": 300, 270 "h": 250, 271 "mtype": 1, 272 "ext": { 273 "prebid": { 274 "type": "banner" 275 } 276 } 277 }, 278 "type": "banner" 279 } 280 ] 281 } 282 ] 283 }