NextRoll Bidder Adapter - #4829
Conversation
* Add age check before fastbid eval * Fix linting
* Add date exists check * Remove logging statement
* remove loadExternalScript function * add adroll to the adloader whitelist
* Handle nextroll id * Remove double nesting in user obj * Revert change to publisherTagAvailable
Old repo changes
Improve coverage of tests
Add docs
|
This pull request introduces 1 alert when merging a9b93dd into 1964f27 - view on LGTM.com new alerts:
|
jaiminpanchal27
left a comment
There was a problem hiding this comment.
@abijr Request minor changes.
| let utilsMock; | ||
| beforeEach(function () { | ||
| // Remove to avoid side effects | ||
| localStorage.removeItem(PUBTAG_LOCAL_STORAGE_KEY); |
There was a problem hiding this comment.
Where are you trying to set these ? I did not find any localstorage usage anywhere
| return cs ? cs.s : 'unknown'; | ||
| } | ||
|
|
||
| function _parseUrl(url) { |
There was a problem hiding this comment.
Can you use functions from https://github.com/prebid/Prebid.js/blob/master/src/url.js
| * @param {ServerResponse[]} serverResponses List of server's responses. | ||
| * @return {UserSync[]} The user syncs which should be dropped. | ||
| */ | ||
| getUserSyncs: function (syncOptions, serverResponses, gdprConsent) { |
There was a problem hiding this comment.
You can remove this function if you don't need to do user sync
| @@ -0,0 +1,234 @@ | |||
| import * as utils from '../src/utils'; | |||
There was a problem hiding this comment.
Can you update to add 'js' extension to all imports. We recently did a change here #4876
…url.parse function
Rename imports; Remove getUserSync function; Remove unused code
|
Thank you @jaiminpanchal27! We've addressed the change request. Please let us know if there are any issues 😃 |
* First implementation of the AdRoll adapter (#1) * Fix request and bid id (#5) * Send Zone ID (#6) * Add age check before fastbid eval (#7) * Add age check before fastbid eval * Fix linting * Add date check (#8) * Add date exists check * Remove logging statement * Fix bidRequest validation (#9) * Fix deprecated function usage (#10) * [SENG-2757] remove custom function from adapter (#11) * remove loadExternalScript function * add adroll to the adloader whitelist * Handle nextroll id (#12) * Handle nextroll id * Remove double nesting in user obj * Revert change to publisherTagAvailable * Rename adroll -> nextroll (prebid#14) * Rename fastbid -> pubtag functions and variables (prebid#15) * Improve coverage of tests * Add docs * Add docs * Improve sizes and add sellerid * Add maintainer email * Fix CI problem * Fix IE tests * Replace second instance of find * Fix types used in the doc Match prebid/prebid.github.io#1796 * Remove unused fields in spec * Add ccpa support * Remove external script usage * Remove IP field * Remove pubtag key * Rename imports; Remove getUserSync function; Remove unused code; Use url.parse function Co-authored-by: Juan Bono <juanbono94@gmail.com> Co-authored-by: Ricardo Azpeitia Pimentel <ricardo.azpeitia@nextroll.com>
* First implementation of the AdRoll adapter (#1) * Fix request and bid id (#5) * Send Zone ID (#6) * Add age check before fastbid eval (#7) * Add age check before fastbid eval * Fix linting * Add date check (#8) * Add date exists check * Remove logging statement * Fix bidRequest validation (#9) * Fix deprecated function usage (#10) * [SENG-2757] remove custom function from adapter (#11) * remove loadExternalScript function * add adroll to the adloader whitelist * Handle nextroll id (#12) * Handle nextroll id * Remove double nesting in user obj * Revert change to publisherTagAvailable * Rename adroll -> nextroll (#14) * Rename fastbid -> pubtag functions and variables (#15) * Improve coverage of tests * Add docs * Add docs * Improve sizes and add sellerid * Add maintainer email * Fix CI problem * Fix IE tests * Replace second instance of find * Fix types used in the doc Match prebid/prebid.github.io#1796 * Remove unused fields in spec * Add ccpa support * Remove external script usage * Remove IP field * Remove pubtag key * Rename imports; Remove getUserSync function; Remove unused code; Use url.parse function Co-authored-by: Juan Bono <juanbono94@gmail.com> Co-authored-by: Ricardo Azpeitia Pimentel <ricardo.azpeitia@nextroll.com>
Type of change
Description of change
Be sure to test the integration with your adserver using the Hello World sample page.
Other information
Documentation PR: prebid/prebid.github.io#1796