Skip to content

Conversation

@johnwier
Copy link
Contributor

@johnwier johnwier commented Mar 31, 2025

🔧 Type of changes

  • new bid adapter
  • bid adapter update
  • [ X ] new feature
  • new analytics adapter
  • new module
  • module update
  • bugfix
  • documentation
  • configuration
  • dependency update
  • tech debt (test coverage, refactorings, etc.)

✨ What's the context?

Update the Epsilon bid adapter to allow Native requests
This is a port from PBS prebid/prebid-server#4277

🧠 Rationale behind the change

Why did you choose to make these changes? Were there any trade-offs you had to consider?

🔎 New Bid Adapter Checklist

  • verify email contact works
  • NO fully dynamic hostnames
  • geographic host parameters are NOT required
  • direct use of HTTP is prohibited - implement an existing Bidder interface that will do all the job
  • if the ORTB is just forwarded to the endpoint, use the generic adapter - define the new adapter as the alias of the generic adapter
  • cover an adapter configuration with an integration test

🧪 Test plan

How do you know the changes are safe to ship to production?

🏎 Quality check

  • Are your changes following our code style guidelines?
  • Are there any breaking changes in your code?
  • Does your test coverage exceed 90%?
  • Are there any erroneous console logs, debuggers or leftover code in your changes?

@johnwier johnwier force-pushed the cnvr_nativesupport branch 3 times, most recently from d9ef2af to ad3b6f1 Compare March 31, 2025 21:30
@johnwier johnwier closed this Apr 1, 2025
@johnwier johnwier force-pushed the cnvr_nativesupport branch from ad3b6f1 to b6efb77 Compare April 1, 2025 19:00
@johnwier johnwier reopened this Apr 1, 2025
@johnwier johnwier force-pushed the cnvr_nativesupport branch from c6625b3 to 31ada3b Compare April 8, 2025 16:24
@AntoxaAntoxic
Copy link
Collaborator

Is it a port from PBS-Go? If yes, please link the PR.

@johnwier
Copy link
Contributor Author

This is a port from PBS prebid/prebid-server#4277

Copy link
Collaborator

@AntoxaAntoxic AntoxaAntoxic left a comment

Choose a reason for hiding this comment

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

Not sure if it's a significant issue, but in PBS-Java, epsilon is the base bidder with conversant as its alias, whereas in PBS-Go, it's the other way around.

}

@Test
public void makeBidsShouldReturnResultForNativeBidsWithExpectedFields() throws JsonProcessingException {
Copy link
Collaborator

Choose a reason for hiding this comment

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

the test order is messed up a little bit, please fix

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Can you give me a bit more detail. I don't work with java much, where did I go wrong

Copy link
Collaborator

Choose a reason for hiding this comment

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

for the purpose of code clarity it's better not to mix up the tests that test different methods

place first tests starting from makeHttpRequestsShould and then starting from makeBidsShould

Copy link
Collaborator

Choose a reason for hiding this comment

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

Just to clarify: Anton asks to move the old tests so that they are in the "correct" order. This doesn't apply to the new method you added.

@Test
public void makeBidsShouldReturnResultForNativeBidsWithExpectedFields() throws JsonProcessingException {
// given

Copy link
Collaborator

Choose a reason for hiding this comment

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

remove the empty line

@johnwier
Copy link
Contributor Author

Not sure if it's a significant issue, but in PBS-Java, epsilon is the base bidder with conversant as its alias, whereas in PBS-Go, it's the other way around.

This is related to #2654 It started as conversant and was changed to epsilon. As long as both names work I'm ok with it.

@AntoxaAntoxic
Copy link
Collaborator

@johnwier do you have any problems with tackling the comments? feel free to ask us anything that could be helpful for you

@osulzhenko
Copy link
Collaborator

@johnwier any updates on this one?

@johnwier johnwier force-pushed the cnvr_nativesupport branch from 2dd6bb8 to 3cc27ae Compare May 19, 2025 00:38
@CTMBNara CTMBNara merged commit 5b88cd5 into prebid:master May 19, 2025
8 checks passed
@osulzhenko osulzhenko linked an issue Jun 13, 2025 that may be closed by this pull request
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.

Port PR from PBS-Go: Conversant: Enable native requests

4 participants