Skip to content

add showheroes bid adapter#1

Closed
FilipStamenkovic wants to merge 3 commits intomasterfrom
showheroes-bidder
Closed

add showheroes bid adapter#1
FilipStamenkovic wants to merge 3 commits intomasterfrom
showheroes-bidder

Conversation

@FilipStamenkovic
Copy link
Copy Markdown
Collaborator

@FilipStamenkovic FilipStamenkovic commented Sep 5, 2025

Add a new showheroes bid adapter.

Besides the standard openRTB request, the code does the following things:

  • validates the request
    • there must be a site or an app object
    • site must have the page property
    • app must have the bundle property
    • unitId must be properly passed in the imp object
    • imp object must have video or banner object in it
  • converts floor price to EUR
  • sets prebid channel in displaymanager and version in displaymanagerver
  • sets the PBS version in the source.ext.pbs

@FilipStamenkovic FilipStamenkovic force-pushed the showheroes-bidder branch 2 times, most recently from a6abac2 to 381563a Compare September 8, 2025 09:33
Copy link
Copy Markdown

@PhungXuanAnh PhungXuanAnh left a comment

Choose a reason for hiding this comment

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

LGTM

@Test
public void openrtb2AuctionShouldRespondWithBidsFromShowheroes() throws IOException, JSONException {
// given
WIRE_MOCK_RULE.stubFor(post(urlPathEqualTo("/showheroes-exchange"))
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

this test fails.

Copy link
Copy Markdown

@musikele musikele left a comment

Choose a reason for hiding this comment

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

Installed OpenJDK version 21.

run mvn clean package as instructed in the readme.

Unfortunately, test ShowheroesTest fails. It's hard to understand what causes that fail.

The approach we want to have here is to open the Prebid pull request and then fix with their CI, so I'm going to approve.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants