Commit b60d732
Nativo Bid Adapter: support native and video (prebid#12134)
* Initial nativoBidAdapter document creation (js, md and spec)
* Fulling working prebid using nativoBidAdapter. Support for GDPR and CCPA in user syncs.
* Added defult size settings based on the largest ad unit. Added response body validation. Added consent to request url qs params.
* Changed bidder endpoint url
* Changed double quotes to single quotes.
* Reverted package-json.lock to remove modifications from PR
* Added optional bidder param 'url' so the ad server can force- match an existing placement
* Lint fix. Added space after if.
* Added new QS param to send various adUnit data to adapter endpopint
* Updated unit test for new QS param
* Added qs param to keep track of ad unit refreshes
* Updated bidMap key default value
* Updated refresh increment logic
* Refactored spread operator for IE11 support
* Updated isBidRequestValid check
* Refactored Object.enties to use Object.keys to fix CircleCI testing errors
* Updated bid mapping key creation to prioritize ad unit code over placementId
* Added filtering by ad, advertiser and campaign.
* Merged master
* Added more robust bidDataMap with multiple key access
* Deduped filer values
* Rolled back package.json
* Duped upstream/master's package.lock file ... not sure how it got changed in the first place
* Small refactor of filterData length check. Removed comparison with 0 since a length value of 0 is already falsy.
* Added bid sizes to request
* Fixed function name in spec. Added unit tests.
* Added priceFloor module support
* Added protection agains empty url parameter
* Changed ntv_url QS param to use referrer.location instead of referrer.page
* Removed testing 'only' flag
* Added ntv_url QS param value validation
* Added userId support
* Added unit tests, refactored for bugs
* Wrapped ajax in try/catch
* Added more unit testing
* Updated eid check for duplicate values. Removed error logging as we no longer need it.
* Removed spec test .only. Fixed unit tests that were breaking.
* Added Prebid version to nativo exchange request
* Removed unused bidder methods
* Added OpenRTB payload response. Changes requerst type to POST.
* Removed debug log
* Added/fixed tests
* Handle video mediaType
* Add built renderer files
* Fix no-inner-declarations linting error
* Handle native requests
* Add examples in Nativo readme
* Add 'mediaType' property to tests for compatibility with adapter code
* Remove data URI from VAST XML
* Fix 'no-unused-expressions' lint error
* Fix lint error 'curcly'
* Remove bidder name validation in 'isBidRequestValid' (#4)
* Add GPP consent string to req (#5)
---------
Co-authored-by: Josh <jfledd@gmail.com>
Co-authored-by: Joshua Fledderjohn <jfledderjohn@nativo.com>1 parent 1205401 commit b60d732
3 files changed
Lines changed: 253 additions & 58 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
14 | | - | |
| 14 | + | |
15 | 15 | | |
16 | | - | |
17 | | - | |
18 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
19 | 21 | | |
20 | 22 | | |
21 | 23 | | |
| |||
24 | 26 | | |
25 | 27 | | |
26 | 28 | | |
27 | | - | |
| 29 | + | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | 34 | | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
33 | 45 | | |
34 | 46 | | |
35 | 47 | | |
| |||
122 | 134 | | |
123 | 135 | | |
124 | 136 | | |
125 | | - | |
126 | | - | |
| 137 | + | |
127 | 138 | | |
128 | 139 | | |
129 | 140 | | |
| |||
150 | 161 | | |
151 | 162 | | |
152 | 163 | | |
153 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
154 | 168 | | |
155 | 169 | | |
156 | 170 | | |
| |||
201 | 215 | | |
202 | 216 | | |
203 | 217 | | |
204 | | - | |
| 218 | + | |
| 219 | + | |
205 | 220 | | |
206 | 221 | | |
207 | 222 | | |
| |||
278 | 293 | | |
279 | 294 | | |
280 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
281 | 304 | | |
282 | 305 | | |
283 | 306 | | |
284 | 307 | | |
285 | 308 | | |
286 | 309 | | |
287 | | - | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
288 | 314 | | |
289 | 315 | | |
290 | 316 | | |
291 | 317 | | |
292 | 318 | | |
293 | 319 | | |
| 320 | + | |
294 | 321 | | |
295 | 322 | | |
296 | 323 | | |
| |||
320 | 347 | | |
321 | 348 | | |
322 | 349 | | |
323 | | - | |
| 350 | + | |
324 | 351 | | |
325 | 352 | | |
| 353 | + | |
326 | 354 | | |
327 | 355 | | |
328 | 356 | | |
| |||
337 | 365 | | |
338 | 366 | | |
339 | 367 | | |
| 368 | + | |
340 | 369 | | |
341 | 370 | | |
342 | 371 | | |
343 | | - | |
| 372 | + | |
| 373 | + | |
| 374 | + | |
| 375 | + | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
344 | 380 | | |
345 | 381 | | |
346 | 382 | | |
| |||
414 | 450 | | |
415 | 451 | | |
416 | 452 | | |
417 | | - | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
418 | 456 | | |
419 | 457 | | |
420 | 458 | | |
421 | 459 | | |
422 | 460 | | |
423 | 461 | | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
431 | 471 | | |
432 | | - | |
433 | | - | |
| 472 | + | |
| 473 | + | |
434 | 474 | | |
435 | 475 | | |
436 | 476 | | |
| |||
491 | 531 | | |
492 | 532 | | |
493 | 533 | | |
494 | | - | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
495 | 537 | | |
496 | 538 | | |
497 | 539 | | |
| |||
500 | 542 | | |
501 | 543 | | |
502 | 544 | | |
503 | | - | |
504 | | - | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
505 | 549 | | |
506 | 550 | | |
507 | 551 | | |
| |||
540 | 584 | | |
541 | 585 | | |
542 | 586 | | |
543 | | - | |
| 587 | + | |
544 | 588 | | |
545 | 589 | | |
546 | 590 | | |
| |||
708 | 752 | | |
709 | 753 | | |
710 | 754 | | |
711 | | - | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
712 | 758 | | |
713 | | - | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
714 | 762 | | |
715 | 763 | | |
716 | 764 | | |
| |||
752 | 800 | | |
753 | 801 | | |
754 | 802 | | |
755 | | - | |
| 803 | + | |
756 | 804 | | |
757 | 805 | | |
758 | 806 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
19 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
20 | 49 | | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
38 | 77 | | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
39 | 106 | | |
0 commit comments