Skip to content

New Adapter: ReVantage#4477

Open
v0idxyz wants to merge 6 commits into
prebid:masterfrom
v0idxyz:master
Open

New Adapter: ReVantage#4477
v0idxyz wants to merge 6 commits into
prebid:masterfrom
v0idxyz:master

Conversation

@v0idxyz
Copy link
Copy Markdown

@v0idxyz v0idxyz commented Apr 28, 2026

🔧 Type of changes

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

✨ What's the context?

What's the context for the changes?

🧠 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?

@osulzhenko osulzhenko requested review from bukrain and gmiedlar-ox May 5, 2026 15:53
@osulzhenko osulzhenko added the do not merge Not the time for merging yet label May 5, 2026
@osulzhenko osulzhenko requested a review from Fuska1 May 13, 2026 07:38
Comment thread src/main/java/org/prebid/server/bidder/revantage/RevantageBidder.java Outdated
Comment thread src/main/java/org/prebid/server/bidder/revantage/RevantageBidder.java Outdated
Comment thread src/main/java/org/prebid/server/bidder/revantage/RevantageBidder.java Outdated
Comment thread src/main/java/org/prebid/server/bidder/revantage/RevantageBidder.java Outdated
Comment thread src/main/java/org/prebid/server/bidder/revantage/RevantageBidder.java Outdated
Comment thread src/main/java/org/prebid/server/bidder/revantage/RevantageBidder.java Outdated
Comment thread src/main/java/org/prebid/server/bidder/revantage/RevantageBidder.java Outdated
Comment thread src/main/java/org/prebid/server/bidder/revantage/RevantageBidder.java Outdated
Comment thread src/main/java/org/prebid/server/spring/config/bidder/RevantageConfiguration.java Outdated
Removed detailed class-level documentation and some comments in the makeHttpRequests method.
@osulzhenko osulzhenko requested a review from CTMBNara May 18, 2026 10:24
Comment on lines +131 to +141
public void makeBidsShouldReturnEmptyListOn204() throws Exception {
// given
final BidderCall<BidRequest> httpCall = givenHttpCall(204, null);

// when
final Result<List<BidderBid>> result = target.makeBids(httpCall, BidRequest.builder().build());

// then
assertThat(result.getErrors()).isEmpty();
assertThat(result.getValue()).isEmpty();
}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

As null is expected in the body, maybe it would make sense to first check if it's not null, since this test, doesn't seem to pass.
Also can the body of the response be null when makeBids is called? Would expect for it to be an empty string "".
@CTMBNara what do you think?

}

@Test
public void makeBidsShouldDetectVideoFromVastWhenMtypeAbsent() throws Exception {
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

nitpick
I would suggest to add a test cases for the adm that starts with <?XML and also for the case that adm is empty that it would be marked as an mtype of banner.

@v0idxyz
Copy link
Copy Markdown
Author

v0idxyz commented May 21, 2026

Please let me know if anything else has been missed or if we're good to go

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge Not the time for merging yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants