github.com/prebid/prebid-server/v2@v2.18.0/adapters/rubicon/rubicontest/exemplary/hardcode-secure.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 "app": { 9 "id": "1", 10 "bundle": "com.wls.testwlsapplication" 11 }, 12 "site": { 13 "pagecat": [ 14 "val1", 15 "val2" 16 ], 17 "content": { 18 "data": [ 19 { 20 "ext": { 21 "segtax": 1 22 }, 23 "segment": [ 24 { 25 "id": "segmentId1" 26 }, 27 { 28 "id": "segmentId2" 29 } 30 ] 31 }, 32 { 33 "ext": { 34 "segtax": "1" 35 }, 36 "segment": [ 37 { 38 "id": "shouldNotBeCopied" 39 } 40 ] 41 }, 42 { 43 "ext": { 44 "segtax": 2 45 }, 46 "segment": [ 47 { 48 "id": "segmentId3" 49 } 50 ] 51 } 52 ] 53 } 54 }, 55 "user": { 56 "yob": 2000, 57 "geo": { 58 "country": "USA", 59 "lat": 47.627500, 60 "lon": -122.346200 61 }, 62 "gender": "f", 63 "data": [ 64 { 65 "ext": { 66 "segtax": 4 67 }, 68 "segment": [ 69 { 70 "id": "idToCopy" 71 } 72 ] 73 }, 74 { 75 "ext": { 76 "segtax": "someValue" 77 }, 78 "segment": [ 79 { 80 "id": "shouldNotBeCopied" 81 } 82 ] 83 }, 84 { 85 "ext": { 86 "segtax": "4" 87 }, 88 "segment": [ 89 { 90 "id": "shouldNotBeCopied2" 91 } 92 ] 93 }, 94 { 95 "ext": { 96 "segtax": 4 97 }, 98 "segment": [ 99 { 100 "id": "idToCopy2" 101 } 102 ] 103 }, 104 { 105 "ext": { 106 "segtax": [ 107 4 108 ] 109 }, 110 "segment": [ 111 { 112 "id": "shouldNotBeCopied3" 113 } 114 ] 115 } 116 ] 117 }, 118 "imp": [ 119 { 120 "id": "test-imp-id", 121 "instl": 1, 122 "secure": 0, 123 "video": { 124 "placement": 3, 125 "mimes": [ 126 "video/mp4" 127 ], 128 "protocols": [ 129 2, 130 5 131 ], 132 "w": 1024, 133 "h": 576 134 }, 135 "ext": { 136 "data": { 137 "pbadslot": "pbadslot" 138 }, 139 "bidder": { 140 "video": { 141 }, 142 "accountId": 1001, 143 "siteId": 113932, 144 "zoneId": 535510 145 } 146 } 147 } 148 ] 149 }, 150 "httpCalls": [ 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 "pagecat": [ 167 "val1", 168 "val2" 169 ], 170 "content": { 171 "data": [ 172 { 173 "ext": { 174 "segtax": 1 175 }, 176 "segment": [ 177 { 178 "id": "segmentId1" 179 }, 180 { 181 "id": "segmentId2" 182 } 183 ] 184 }, 185 { 186 "ext": { 187 "segtax": "1" 188 }, 189 "segment": [ 190 { 191 "id": "shouldNotBeCopied" 192 } 193 ] 194 }, 195 { 196 "ext": { 197 "segtax": 2 198 }, 199 "segment": [ 200 { 201 "id": "segmentId3" 202 } 203 ] 204 } 205 ] 206 }, 207 "ext": { 208 "rp": { 209 "site_id": 113932, 210 "target": { 211 "iab": [ 212 "segmentId1", 213 "segmentId2", 214 "segmentId3" 215 ] 216 } 217 } 218 }, 219 "publisher": { 220 "ext": { 221 "rp": { 222 "account_id": 1001 223 } 224 } 225 } 226 }, 227 "user": { 228 "data": [ 229 { 230 "ext": { 231 "segtax": 4 232 }, 233 "segment": [ 234 { 235 "id": "idToCopy" 236 } 237 ] 238 }, 239 { 240 "ext": { 241 "segtax": "someValue" 242 }, 243 "segment": [ 244 { 245 "id": "shouldNotBeCopied" 246 } 247 ] 248 }, 249 { 250 "ext": { 251 "segtax": "4" 252 }, 253 "segment": [ 254 { 255 "id": "shouldNotBeCopied2" 256 } 257 ] 258 }, 259 { 260 "ext": { 261 "segtax": 4 262 }, 263 "segment": [ 264 { 265 "id": "idToCopy2" 266 } 267 ] 268 }, 269 { 270 "ext": { 271 "segtax": [ 272 4 273 ] 274 }, 275 "segment": [ 276 { 277 "id": "shouldNotBeCopied3" 278 } 279 ] 280 } 281 ], 282 "ext": { 283 "rp": { 284 "target": { 285 "iab": [ 286 "idToCopy", 287 "idToCopy2" 288 ] 289 } 290 } 291 } 292 }, 293 "app": { 294 "id": "1", 295 "bundle": "com.wls.testwlsapplication" 296 }, 297 "imp": [ 298 { 299 "id": "test-imp-id", 300 "instl": 1, 301 "secure": 1, 302 "video": { 303 "placement": 3, 304 "ext": { 305 "rp": { 306 "size_id": 203 307 } 308 }, 309 "mimes": [ 310 "video/mp4" 311 ], 312 "protocols": [ 313 2, 314 5 315 ], 316 "w": 1024, 317 "h": 576 318 }, 319 "ext": { 320 "rp": { 321 "target": { 322 "pbadslot": "pbadslot", 323 "pagecat": [ 324 "val1", 325 "val2" 326 ] 327 }, 328 "track": { 329 "mint": "", 330 "mint_version": "" 331 }, 332 "zone_id": 535510 333 } 334 } 335 } 336 ] 337 }, 338 "impIDs":["test-imp-id"] 339 }, 340 "mockResponse": { 341 "status": 200, 342 "body": { 343 "id": "test-request-id", 344 "seatbid": [ 345 { 346 "buyer": "123", 347 "bid": [ 348 { 349 "id": "test_bid_id", 350 "impid": "test-imp-id", 351 "price": 0.27543, 352 "adm": "some-test-ad", 353 "cid": "test_cid", 354 "crid": "test_crid", 355 "dealid": "test_dealid", 356 "ext": { 357 "prebid": { 358 "meta": { 359 "networkId": 123 360 }, 361 "type": "video" 362 } 363 } 364 } 365 ], 366 "seat": "adman" 367 } 368 ], 369 "cur": "USD" 370 } 371 } 372 } 373 ], 374 "expectedBidResponses": [ 375 { 376 "currency": "USD", 377 "bids": [ 378 { 379 "bid": { 380 "id": "test_bid_id", 381 "impid": "test-imp-id", 382 "price": 0.27543, 383 "adm": "some-test-ad", 384 "cid": "test_cid", 385 "crid": "test_crid", 386 "dealid": "test_dealid", 387 "ext": { 388 "prebid": { 389 "meta": { 390 "networkId": 123 391 }, 392 "type": "video" 393 } 394 } 395 }, 396 "type": "video" 397 } 398 ] 399 } 400 ] 401 }