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