Skip to content

Reload Adapter & Spec: Added GDPR and multiple sizes#3967

Merged
mike-chowla merged 8 commits intoprebid:masterfrom
mafernandez80:master
Jul 31, 2019
Merged

Reload Adapter & Spec: Added GDPR and multiple sizes#3967
mike-chowla merged 8 commits intoprebid:masterfrom
mafernandez80:master

Conversation

@mafernandez80
Copy link
Contributor

Type of change

  • Bugfix
  • Feature
  • New bidder adapter
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Does this change affect user-facing APIs or examples documented on http://prebid.org?
  • Other

Description of change

  • GDPR
  • Multiples sizes
  • Refactoring

contact email of the adapter’s maintainer: prebid@reload.net

@mkendall07
Copy link
Contributor

This pull request introduces 1 alert when merging 14dc0dc into b02a00c - view on LGTM.com

new alerts:

  • 1 for Useless assignment to local variable

This project has automated code review enabled, but doesn't use the LGTM GitHub App. Migrate over by installing the app. Read about the benefits of migrating to GitHub Apps in the blog.


Comment posted by LGTM.com

@mike-chowla mike-chowla self-requested a review July 9, 2019 17:01
@mike-chowla mike-chowla self-assigned this Jul 9, 2019
registerBidder
}
from '../src/adapters/bidderFactory';
from 'src/adapters/bidderFactory';
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use relative import paths (see #3946)

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mike-chowla Fixed!

};

function _genWinInfo () {
function getBestLocInf() {
Copy link
Contributor

Choose a reason for hiding this comment

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

You should using bidderRequest.refererInfo rather than tyring to find the top window yourself
http://prebid.org/dev-docs/bidder-adaptor.html#bidrequest-parameters

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@mike-chowla Hello Mike, we tried to use your suggestion but it is not possible. We use a single module ('ReloadClientTool') that acts as a common interface across all our adapters, so we cannot use features of any specific wrapper within that class. We explained this to Jaimin in relation to our original version (see #3812).

@mafernandez80
Copy link
Contributor Author

@mike-chowla Hello Mike, we have decided to modify our code elsewhere to meet your request. You will notice some changes in the interface class in that sense. Since this sits on our critical path, we would very much appreciate if this could be included in next-week’s release. Thanks!

@mafernandez80
Copy link
Contributor Author

@mike-chowla Mike, we have included a last-minute modification to make use of the method “onBidWon”. Everything else has not changed.

@mafernandez80
Copy link
Contributor Author

One last modification required for backward compatibility. Thnx!

Copy link
Contributor

@mike-chowla mike-chowla left a comment

Choose a reason for hiding this comment

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

LGTM

@mike-chowla mike-chowla merged commit 4d1bad5 into prebid:master Jul 31, 2019
VideoReach pushed a commit to VideoReach/Prebid.js that referenced this pull request Aug 1, 2019
* Reload Adapter & Spec: Added GDPR and multiple sizes

* Reload Adapter - Fixed LGTM alert

* Reload Adapter - Fixed import (path relative)

* Reload Adapter: Read values from refererInfo and utils class.

* Reload Adapter - Added onBidWon

* Reload Adapter - Changed attribute's name

* Reload Adapter - Backward Compatibility

* Reload Adapter - Backward compatibility
sa1omon pushed a commit to gamoshi/Prebid.js that referenced this pull request Nov 28, 2019
* Reload Adapter & Spec: Added GDPR and multiple sizes

* Reload Adapter - Fixed LGTM alert

* Reload Adapter - Fixed import (path relative)

* Reload Adapter: Read values from refererInfo and utils class.

* Reload Adapter - Added onBidWon

* Reload Adapter - Changed attribute's name

* Reload Adapter - Backward Compatibility

* Reload Adapter - Backward compatibility
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.

3 participants

Comments