github.com/prebid/prebid-server/v2@v2.18.0/adapters/rubicon/rubicontest/exemplary/simple-native.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 "native": { 123 "ver": "1.2", 124 "request": "{\"eventtrackers\":[],\"context\":1,\"plcmttype\":2}" 125 }, 126 "ext": { 127 "data": { 128 "pbadslot": "pbadslot" 129 }, 130 "bidder": { 131 "video": { 132 }, 133 "accountId": 1001, 134 "siteId": 113932, 135 "zoneId": 535510 136 } 137 } 138 } 139 ] 140 }, 141 "httpCalls": [ 142 { 143 "expectedRequest": { 144 "uri": "uri?tk_xint=pbs-test-tracker", 145 "body": { 146 "id": "test-request-id", 147 "device": { 148 "ext": { 149 "rp": { 150 "pixelratio": 0 151 } 152 }, 153 "ip": "123.123.123.123", 154 "ifa": "zxcjbzxmc-zxcbmz-zxbcz-zxczx" 155 }, 156 "site": { 157 "pagecat": [ 158 "val1", 159 "val2" 160 ], 161 "content": { 162 "data": [ 163 { 164 "ext": { 165 "segtax": 1 166 }, 167 "segment": [ 168 { 169 "id": "segmentId1" 170 }, 171 { 172 "id": "segmentId2" 173 } 174 ] 175 }, 176 { 177 "ext": { 178 "segtax": "1" 179 }, 180 "segment": [ 181 { 182 "id": "shouldNotBeCopied" 183 } 184 ] 185 }, 186 { 187 "ext": { 188 "segtax": 2 189 }, 190 "segment": [ 191 { 192 "id": "segmentId3" 193 } 194 ] 195 } 196 ] 197 }, 198 "ext": { 199 "rp": { 200 "site_id": 113932, 201 "target": { 202 "iab": [ 203 "segmentId1", 204 "segmentId2", 205 "segmentId3" 206 ] 207 } 208 } 209 }, 210 "publisher": { 211 "ext": { 212 "rp": { 213 "account_id": 1001 214 } 215 } 216 } 217 }, 218 "user": { 219 "data": [ 220 { 221 "ext": { 222 "segtax": 4 223 }, 224 "segment": [ 225 { 226 "id": "idToCopy" 227 } 228 ] 229 }, 230 { 231 "ext": { 232 "segtax": "someValue" 233 }, 234 "segment": [ 235 { 236 "id": "shouldNotBeCopied" 237 } 238 ] 239 }, 240 { 241 "ext": { 242 "segtax": "4" 243 }, 244 "segment": [ 245 { 246 "id": "shouldNotBeCopied2" 247 } 248 ] 249 }, 250 { 251 "ext": { 252 "segtax": 4 253 }, 254 "segment": [ 255 { 256 "id": "idToCopy2" 257 } 258 ] 259 }, 260 { 261 "ext": { 262 "segtax": [ 263 4 264 ] 265 }, 266 "segment": [ 267 { 268 "id": "shouldNotBeCopied3" 269 } 270 ] 271 } 272 ], 273 "ext": { 274 "rp": { 275 "target": { 276 "iab": [ 277 "idToCopy", 278 "idToCopy2" 279 ] 280 } 281 } 282 } 283 }, 284 "app": { 285 "id": "1", 286 "bundle": "com.wls.testwlsapplication" 287 }, 288 "imp": [ 289 { 290 "id": "test-imp-id", 291 "instl": 1, 292 "secure": 1, 293 "native": { 294 "ver": "1.2", 295 "request": "{\"eventtrackers\":[],\"context\":1,\"plcmttype\":2}", 296 "request_native": { 297 "context": 1, 298 "eventtrackers": [ 299 ], 300 "plcmttype": 2 301 } 302 }, 303 "ext": { 304 "rp": { 305 "target": { 306 "pbadslot": "pbadslot", 307 "pagecat": [ 308 "val1", 309 "val2" 310 ] 311 }, 312 "track": { 313 "mint": "", 314 "mint_version": "" 315 }, 316 "zone_id": 535510 317 } 318 } 319 } 320 ] 321 }, 322 "impIDs":["test-imp-id"] 323 }, 324 "mockResponse": { 325 "status": 200, 326 "body": { 327 "id": "test-request-id", 328 "seatbid": [ 329 { 330 "buyer": "123", 331 "bid": [ 332 { 333 "id": "test_bid_id", 334 "impid": "test-imp-id", 335 "price": 0.27543, 336 "cid": "test_cid", 337 "crid": "test_crid", 338 "dealid": "test_dealid", 339 "adm_native": { 340 "property1": "value1" 341 }, 342 "ext": { 343 "prebid": { 344 "meta": { 345 "networkId": 123 346 }, 347 "type": "native" 348 } 349 } 350 } 351 ], 352 "seat": "adman" 353 } 354 ], 355 "cur": "USD" 356 } 357 } 358 } 359 ], 360 "expectedBidResponses": [ 361 { 362 "currency": "USD", 363 "bids": [ 364 { 365 "bid": { 366 "id": "test_bid_id", 367 "impid": "test-imp-id", 368 "price": 0.27543, 369 "adm": "{\"property1\":\"value1\"}", 370 "cid": "test_cid", 371 "crid": "test_crid", 372 "dealid": "test_dealid", 373 "ext": { 374 "prebid": { 375 "meta": { 376 "networkId": 123 377 }, 378 "type": "native" 379 } 380 } 381 }, 382 "type": "native" 383 } 384 ] 385 } 386 ] 387 }