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

Insticator: Update prebid-server bidder params for impressions #11982

Merged

Conversation

shubhamc-ins
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

Other information

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

@shubhamc-ins
Copy link
Contributor Author

shubhamc-ins commented Jul 16, 2024

Hey @patmmccann, as I can see in this PR changes, the general video validation check is being added to verify the video params.

I can write a similar check, which would pass duplication check for now but when the PR #11970 is merged, it would again be duplicated.

I can just add this ORTB_VIDEO_PARAMS validator in this PR and update insticator adaptor accordingly and rest changes can be continued on other PR.

Please let me know, what are your thoughts.
Thanks

@shubhamc-ins shubhamc-ins changed the title Insitcator: Update prebid-serer bidder params for impressions Insticator: Update prebid-server bidder params for impressions Jul 16, 2024
@patmmccann
Copy link
Collaborator

patmmccann commented Jul 16, 2024

My suggestion is let the robot complain for now, when the other pr merges, should be ready to address. Is that the same as your proposal?

What we don't want is to just silence the robot so we don't know where the opportunities are

@shubhamc-ins
Copy link
Contributor Author

My suggestion is let the robot complain for now, when the other pr merges, should be ready to address. Is that the same as your proposal?

Okay @patmmccann , In that case This PR is ready. I'll address the duplication when #11970 PR merges, sounds right?

Please feel free to tag me once that is done.

@shubhamc-ins shubhamc-ins marked this pull request as ready for review July 17, 2024 08:57
@patmmccann patmmccann merged commit cdd3b5a into prebid:master Jul 17, 2024
5 of 6 checks passed
DecayConstant pushed a commit to mediavine/Prebid.js that referenced this pull request Jul 18, 2024
mefjush pushed a commit to adhese/Prebid.js that referenced this pull request Jul 19, 2024
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.

None yet

2 participants