github.com/prebid/prebid-server/v2@v2.18.0/adapters/rubicon/rubicontest/exemplary/site-imp-fpd.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 "pagecat": [ 10 "val1", 11 "val2" 12 ], 13 "sectioncat": [ 14 "sectionCat1", 15 "sectionCat2" 16 ], 17 "page": "somePage", 18 "ref": "someRef", 19 "search": "someSearch", 20 "ext": { 21 "data": { 22 "attr1": "val1", 23 "attr2": [ 24 "val21", 25 "val22" 26 ], 27 "attr3": true, 28 "attr4": [ 29 true, 30 false, 31 true, 32 true 33 ], 34 "attr5": 3, 35 "attr6": [ 36 1, 37 2, 38 3 39 ], 40 "attr7": 1.23 41 } 42 }, 43 "content": { 44 "data": [ 45 { 46 "ext": { 47 "segtax": 1 48 }, 49 "segment": [ 50 { 51 "id": "idToCopy" 52 } 53 ] 54 }, 55 { 56 "ext": { 57 "segtax": "someValue" 58 }, 59 "segment": [ 60 { 61 "id": "shouldNotBeCopied" 62 } 63 ] 64 }, 65 { 66 "ext": { 67 "segtax": "2" 68 }, 69 "segment": [ 70 { 71 "id": "shouldNotBeCopied2" 72 } 73 ] 74 }, 75 { 76 "ext": { 77 "segtax": 2 78 }, 79 "segment": [ 80 { 81 "id": "idToCopy2" 82 } 83 ] 84 }, 85 { 86 "ext": { 87 "segtax": 5 88 }, 89 "segment": [ 90 { 91 "id": "idToCopy3" 92 } 93 ] 94 }, 95 { 96 "ext": { 97 "segtax": 6 98 }, 99 "segment": [ 100 { 101 "id": "idToCopy4" 102 } 103 ] 104 }, 105 { 106 "ext": { 107 "segtax": [ 108 2 109 ] 110 }, 111 "segment": [ 112 { 113 "id": "shouldNotBeCopied3" 114 } 115 ] 116 } 117 ] 118 } 119 }, 120 "user": { 121 "yob": 2000, 122 "geo": { 123 "country": "USA", 124 "lat": 47.627500, 125 "lon": -122.346200 126 }, 127 "gender": "f", 128 "data": [ 129 { 130 "ext": { 131 "segtax": 4 132 }, 133 "segment": [ 134 { 135 "id": "idToCopy" 136 } 137 ] 138 }, 139 { 140 "ext": { 141 "segtax": "someValue" 142 }, 143 "segment": [ 144 { 145 "id": "shouldNotBeCopied" 146 } 147 ] 148 }, 149 { 150 "ext": { 151 "segtax": "4" 152 }, 153 "segment": [ 154 { 155 "id": "shouldNotBeCopied2" 156 } 157 ] 158 }, 159 { 160 "ext": { 161 "segtax": 4 162 }, 163 "segment": [ 164 { 165 "id": "idToCopy2" 166 } 167 ] 168 }, 169 { 170 "ext": { 171 "segtax": [ 172 4 173 ] 174 }, 175 "segment": [ 176 { 177 "id": "shouldNotBeCopied3" 178 } 179 ] 180 } 181 ] 182 }, 183 "imp": [ 184 { 185 "id": "test-imp-id", 186 "instl": 1, 187 "video": { 188 "placement": 3, 189 "mimes": [ 190 "video/mp4" 191 ], 192 "protocols": [ 193 2, 194 5 195 ], 196 "w": 1024, 197 "h": 576 198 }, 199 "ext": { 200 "data": { 201 "adserver": { 202 "name": "gam", 203 "adslot": "adSlotFromData" 204 }, 205 "dataAttr1": "dataVal1", 206 "dataAttr2": "dataVal2" 207 }, 208 "bidder": { 209 "video": { 210 }, 211 "accountId": 1001, 212 "siteId": 113932, 213 "zoneId": 535510 214 } 215 } 216 } 217 ] 218 }, 219 "httpCalls": [ 220 { 221 "expectedRequest": { 222 "uri": "uri?tk_xint=pbs-test-tracker", 223 "body": { 224 "id": "test-request-id", 225 "device": { 226 "ext": { 227 "rp": { 228 "pixelratio": 0 229 } 230 }, 231 "ip": "123.123.123.123", 232 "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx" 233 }, 234 "site": { 235 "pagecat": [ 236 "val1", 237 "val2" 238 ], 239 "sectioncat": [ 240 "sectionCat1", 241 "sectionCat2" 242 ], 243 "page": "somePage", 244 "ref": "someRef", 245 "search": "someSearch", 246 "content": { 247 "data": [ 248 { 249 "ext": { 250 "segtax": 1 251 }, 252 "segment": [ 253 { 254 "id": "idToCopy" 255 } 256 ] 257 }, 258 { 259 "ext": { 260 "segtax": "someValue" 261 }, 262 "segment": [ 263 { 264 "id": "shouldNotBeCopied" 265 } 266 ] 267 }, 268 { 269 "ext": { 270 "segtax": "2" 271 }, 272 "segment": [ 273 { 274 "id": "shouldNotBeCopied2" 275 } 276 ] 277 }, 278 { 279 "ext": { 280 "segtax": 2 281 }, 282 "segment": [ 283 { 284 "id": "idToCopy2" 285 } 286 ] 287 }, 288 { 289 "ext": { 290 "segtax": 5 291 }, 292 "segment": [ 293 { 294 "id": "idToCopy3" 295 } 296 ] 297 }, 298 { 299 "ext": { 300 "segtax": 6 301 }, 302 "segment": [ 303 { 304 "id": "idToCopy4" 305 } 306 ] 307 }, 308 { 309 "ext": { 310 "segtax": [ 311 2 312 ] 313 }, 314 "segment": [ 315 { 316 "id": "shouldNotBeCopied3" 317 } 318 ] 319 } 320 ] 321 }, 322 "ext": { 323 "rp": { 324 "site_id": 113932, 325 "target": { 326 "iab": [ 327 "idToCopy", 328 "idToCopy2", 329 "idToCopy3", 330 "idToCopy4" 331 ] 332 } 333 } 334 }, 335 "publisher": { 336 "ext": { 337 "rp": { 338 "account_id": 1001 339 } 340 } 341 } 342 }, 343 "user": { 344 "data": [ 345 { 346 "ext": { 347 "segtax": 4 348 }, 349 "segment": [ 350 { 351 "id": "idToCopy" 352 } 353 ] 354 }, 355 { 356 "ext": { 357 "segtax": "someValue" 358 }, 359 "segment": [ 360 { 361 "id": "shouldNotBeCopied" 362 } 363 ] 364 }, 365 { 366 "ext": { 367 "segtax": "4" 368 }, 369 "segment": [ 370 { 371 "id": "shouldNotBeCopied2" 372 } 373 ] 374 }, 375 { 376 "ext": { 377 "segtax": 4 378 }, 379 "segment": [ 380 { 381 "id": "idToCopy2" 382 } 383 ] 384 }, 385 { 386 "ext": { 387 "segtax": [ 388 4 389 ] 390 }, 391 "segment": [ 392 { 393 "id": "shouldNotBeCopied3" 394 } 395 ] 396 } 397 ], 398 "ext": { 399 "rp": { 400 "target": { 401 "iab": [ 402 "idToCopy", 403 "idToCopy2" 404 ] 405 } 406 } 407 } 408 }, 409 "imp": [ 410 { 411 "id": "test-imp-id", 412 "instl": 1, 413 "secure": 1, 414 "video": { 415 "placement": 3, 416 "ext": { 417 "rp": { 418 "size_id": 203 419 } 420 }, 421 "mimes": [ 422 "video/mp4" 423 ], 424 "protocols": [ 425 2, 426 5 427 ], 428 "w": 1024, 429 "h": 576 430 }, 431 "ext": { 432 "rp": { 433 "target": { 434 "dataAttr1": [ 435 "dataVal1" 436 ], 437 "dataAttr2": [ 438 "dataVal2" 439 ], 440 "attr1": [ 441 "val1" 442 ], 443 "attr2": [ 444 "val21", 445 "val22" 446 ], 447 "attr3": [ 448 "true" 449 ], 450 "attr4": [ 451 "true", 452 "false", 453 "true", 454 "true" 455 ], 456 "attr5": [ 457 "3" 458 ], 459 "page": [ 460 "somePage" 461 ], 462 "ref": [ 463 "someRef" 464 ], 465 "search": [ 466 "someSearch" 467 ], 468 "pagecat": [ 469 "val1", 470 "val2" 471 ], 472 "sectioncat": [ 473 "sectionCat1", 474 "sectionCat2" 475 ], 476 "dfp_ad_unit_code": "adSlotFromData" 477 }, 478 "track": { 479 "mint": "", 480 "mint_version": "" 481 }, 482 "zone_id": 535510 483 } 484 } 485 } 486 ] 487 }, 488 "impIDs":["test-imp-id"] 489 }, 490 "mockResponse": { 491 "status": 200, 492 "body": { 493 "id": "test-request-id", 494 "seatbid": [ 495 { 496 "bid": [ 497 { 498 "id": "test_bid_id", 499 "impid": "test-imp-id", 500 "price": 0.27543, 501 "adm": "some-test-ad", 502 "cid": "test_cid", 503 "crid": "test_crid", 504 "dealid": "test_dealid", 505 "ext": { 506 "prebid": { 507 "type": "video" 508 } 509 } 510 } 511 ], 512 "seat": "adman" 513 } 514 ], 515 "cur": "USD" 516 } 517 } 518 } 519 ], 520 "expectedBidResponses": [ 521 { 522 "currency": "USD", 523 "bids": [ 524 { 525 "bid": { 526 "id": "test_bid_id", 527 "impid": "test-imp-id", 528 "price": 0.27543, 529 "adm": "some-test-ad", 530 "cid": "test_cid", 531 "crid": "test_crid", 532 "dealid": "test_dealid", 533 "ext": { 534 "prebid": { 535 "type": "video" 536 } 537 } 538 }, 539 "type": "video" 540 } 541 ] 542 } 543 ] 544 }