Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NextRoll Bidder Adapter #4829

Merged
merged 39 commits into from
Feb 26, 2020
Merged

NextRoll Bidder Adapter #4829

merged 39 commits into from
Feb 26, 2020

Conversation

abijr
Copy link
Contributor

@abijr abijr commented Feb 6, 2020

Type of change

  • New bidder adapter

Description of change

  • test parameters for validating bids
{
  bidder: nextroll',
  params: {
      publisherId: "test_id",
      sellerId: "test_seller_id"
  }
}

Be sure to test the integration with your adserver using the Hello World sample page.

Other information

Documentation PR: prebid/prebid.github.io#1796

juanbono and others added 25 commits October 25, 2019 18:31
* 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
@lgtm-com
Copy link

lgtm-com bot commented Feb 6, 2020

This pull request introduces 1 alert when merging a9b93dd into 1964f27 - view on LGTM.com

new alerts:

  • 1 for Comparison between inconvertible types

Copy link
Collaborator

@jaiminpanchal27 jaiminpanchal27 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@abijr Request minor changes.

let utilsMock;
beforeEach(function () {
// Remove to avoid side effects
localStorage.removeItem(PUBTAG_LOCAL_STORAGE_KEY);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where are you trying to set these ? I did not find any localstorage usage anywhere

return cs ? cs.s : 'unknown';
}

function _parseUrl(url) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

* @param {ServerResponse[]} serverResponses List of server's responses.
* @return {UserSync[]} The user syncs which should be dropped.
*/
getUserSyncs: function (syncOptions, serverResponses, gdprConsent) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can remove this function if you don't need to do user sync

@@ -0,0 +1,234 @@
import * as utils from '../src/utils';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you update to add 'js' extension to all imports. We recently did a change here #4876

raz-adroll and others added 2 commits February 25, 2020 15:19
Rename imports; Remove getUserSync function; Remove unused code
@abijr
Copy link
Contributor Author

abijr commented Feb 25, 2020

Thank you @jaiminpanchal27!

We've addressed the change request. Please let us know if there are any issues 😃

@jaiminpanchal27 jaiminpanchal27 merged commit 0ae0bff into prebid:master Feb 26, 2020
kei-adpopcorn pushed a commit to kei-adpopcorn/Prebid.js that referenced this pull request Feb 26, 2020
* 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>
monofonik pushed a commit to playground-xyz/Prebid.js that referenced this pull request Feb 26, 2020
* 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>
rjvelicaria pushed a commit to openx/Prebid.js that referenced this pull request Apr 9, 2020
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants