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

DeepIntent Bid Adapter: add bid floor support #12266

Merged
merged 7 commits into from
Sep 25, 2024

Conversation

caplock221b
Copy link
Contributor

Type of change

  • Bugfix

  • Feature

  • New bidder adapter

  • Updated 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

  • Added bidfloor field in impression of valid bid request
  • Added a getFloor function to get the bid floor value from the request
  • Added a test to check for passed bidfloor value
  • Updated markdown example with optional bidfloor field

Copy link

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

Copy link
Collaborator

@patmmccann patmmccann left a comment

Choose a reason for hiding this comment

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

Hi @caplock221b

It appears you have lots of duplicated code with sovrn and relevate health. Could you solve by importing it in common libraries?

Thanks!

Copy link

Tread carefully! This PR adds 1 linter error (possibly disabled through directives):

  • libraries/deepintentUtils/index.js (+1 error)

@atharvajangada
Copy link
Contributor

atharvajangada commented Sep 25, 2024

Hi @caplock221b

It appears you have lots of duplicated code with sovrn and relevate health. Could you solve by importing it in common libraries?

Thanks!

Hi @patmmccann
I have addressed your comment and moved the duplicate code to libraries folder.
All tests appear to be passing as well.
Can you re-review once and approve the PR?
Also can you review the related docs PR?

Thanks!

@patmmccann
Copy link
Collaborator

Nice work ty!

@patmmccann patmmccann merged commit 44b2a46 into prebid:master Sep 25, 2024
6 checks passed
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.

4 participants