Prebid.js icon indicating copy to clipboard operation
Prebid.js copied to clipboard

Adding a new bid adapter (oprx) for OptimizeRx

Open suruvu opened this issue 6 months ago • 4 comments

Adding new prebid adapter oprx for OptimizeRx

Type of change

  • [ ] Bugfix

  • [ ] Feature

  • [x] 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

Other information

suruvu avatar Jun 26 '25 15:06 suruvu

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! 🚀

github-actions[bot] avatar Jun 26 '25 15:06 github-actions[bot]

Why didn't you just alias the lane4 bidder?

patmmccann avatar Jun 27 '25 11:06 patmmccann

Why didn't you just alias the lane4 bidder

We just want to try and see prebid.js as a bidder. Thats why just copied the code from one bidder. Is that not correct? If so, we will change the code as needed. Thanks for the quick response.

suruvu avatar Jun 27 '25 13:06 suruvu

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! 🚀

github-actions[bot] avatar Jun 27 '25 13:06 github-actions[bot]

How did you choose lane4? There are several much better implementations, eg rixengine

patmmccann avatar Jun 30 '25 11:06 patmmccann

THank you so much. Will take the reference of rixengine

suruvu avatar Jun 30 '25 12:06 suruvu

Tread carefully! This PR adds 9 linter errors (possibly disabled through directives):

  • modules/oprxBidAdapter.js (+9 errors)

github-actions[bot] avatar Jun 30 '25 15:06 github-actions[bot]

Tread carefully! This PR adds 9 linter errors (possibly disabled through directives):

  • modules/oprxBidAdapter.js (+9 errors)

github-actions[bot] avatar Jun 30 '25 15:06 github-actions[bot]

Tread carefully! This PR adds 9 linter errors (possibly disabled through directives):

  • modules/oprxBidAdapter.js (+9 errors)

github-actions[bot] avatar Jun 30 '25 18:06 github-actions[bot]

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

  • modules/oprxBidAdapter.js (+1 error)

github-actions[bot] avatar Jun 30 '25 18:06 github-actions[bot]

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

  • modules/oprxBidAdapter.js (+1 error)

github-actions[bot] avatar Jun 30 '25 18:06 github-actions[bot]

this is looking pretty good, you still need unit tests

patmmccann avatar Jul 02 '25 22:07 patmmccann

Hi, do you need anything else from me for the approval to commit the code for new bidder adapter? Please let me know.

suruvu avatar Jul 11 '25 15:07 suruvu

Thank you for the approval

suruvu avatar Jul 11 '25 15:07 suruvu

When can I see the OptimizeRx's new adapter "oprx" in prebid.js download page?

suruvu avatar Jul 11 '25 15:07 suruvu

When can I see the OptimizeRx's new adapter "oprx" in prebid.js download page?

Hi, Still I cants see the OptimizeRx (oprx), new bidder adapter in the download page. Do I need to do anything else for that?

suruvu avatar Jul 17 '25 19:07 suruvu