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

Sonobi bid adapter: add support for floor module #7206

Merged
merged 2 commits into from
Jul 22, 2021

Conversation

JonGoSonobi
Copy link
Contributor

@JonGoSonobi JonGoSonobi commented Jul 22, 2021

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

Sonobi Bidder Adapter will now try to first look for any floors defined using the floor module before trying to pull from its bidder params.

@patmmccann patmmccann changed the title Sonobi floor module Sonobi bid adapter: add support for floor module Jul 22, 2021
@patmmccann patmmccann self-assigned this Jul 22, 2021
@patmmccann patmmccann merged commit f873332 into prebid:master Jul 22, 2021
if (isPlainObject(floor) && !isNaN(floor.floor) && floor.currency === 'USD') {
return floor.floor;
}
return '';
Copy link
Collaborator

Choose a reason for hiding this comment

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

this always returns something, making the else in the wrapping function redundant i think?

prebidtappx pushed a commit to prebidtappx/Prebid.js that referenced this pull request Nov 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants