KEMBAR78
EmpowerBidAdapter: initial release by ferrerodbgm · Pull Request #13943 · prebid/Prebid.js · GitHub
Skip to content

Conversation

ferrerodbgm
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

@github-actions
Copy link

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

  • modules/empowerBidAdapter.js (+6 errors)

Copy link
Collaborator

@monis0395 monis0395 left a comment

Choose a reason for hiding this comment

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

Hi @ferrerodbgm, I’ve done a high-level review so far and wanted to share a few pointers.

  1. If your endpoint supports ORTB Request/Response, you can use ortbConverter to save a lot of duplicate effort in your adapter. You can still add your custom changes on top of that.
  2. Also, why not use TypeScript?

@ferrerodbgm
Copy link
Contributor Author

Hi @monis0395,

We have created this script for some other enviroments. That's why we do not want to use Prebid specific oRTB utils. We simply adopted here. This was more effortless for us.

Second questions answer is very related with the first one. JS is more useful for us.

Thanks.

@ferrerodbgm
Copy link
Contributor Author

Hi @monis0395,

Is there any update about review? Is there any problem about adapter?

Thanks. Have a nice day.

@ferrerodbgm
Copy link
Contributor Author

Hi @monis0395,

Can we get a review please.

Thanks.

Copy link
Collaborator

@monis0395 monis0395 left a comment

Choose a reason for hiding this comment

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

While the adapter supports userIds, video, bidWon but there is not a single test case for it. Please add test cases for it. Overall coverage is only around 70%

@monis0395
Copy link
Collaborator

Also while the documentation says schain is supported, I dont see schain being consumed frombidderRequest.ortb2.source.ext.schain or bidRequest.ortb2.source.ext.schain

@ferrerodbgm
Copy link
Contributor Author

Hi @monis0395,

We added some test cases, and changed our code according to your reviews.

Can you please review again?

Thanks.

@ferrerodbgm ferrerodbgm requested a review from monis0395 October 15, 2025 17:34
Copy link
Collaborator

@monis0395 monis0395 left a comment

Choose a reason for hiding this comment

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

LGTM!

@monis0395 monis0395 merged commit a361ae7 into prebid:master Oct 16, 2025
16 of 18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants