Skip to content

New Adapter: BeOp#4476

Open
przemkaczmarek wants to merge 4 commits intomasterfrom
New-adapter-BeOp
Open

New Adapter: BeOp#4476
przemkaczmarek wants to merge 4 commits intomasterfrom
New-adapter-BeOp

Conversation

@przemkaczmarek
Copy link
Copy Markdown
Collaborator

🔧 Type of changes

  • new bid adapter

✨ What's the context?

#4416

Comment thread src/main/java/org/prebid/server/bidder/beop/BeopBidder.java Outdated
Comment thread src/main/java/org/prebid/server/bidder/beop/BeopBidder.java Outdated
Comment thread src/main/java/org/prebid/server/proto/openrtb/ext/request/beop/ExtImpBeop.java Outdated
Comment thread src/main/resources/bidder-config/beop.yaml Outdated
Comment thread src/main/resources/static/bidder-params/beop.json Outdated
@osulzhenko osulzhenko changed the title New adapter: BeOp New Adapter: BeOp Apr 29, 2026
@osulzhenko osulzhenko requested a review from CTMBNara April 30, 2026 07:05

@JsonProperty("ntpnid")
String ntpnid;
}
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.

No longer necessary @JsonProperty

}

@Test
public void makeHttpRequestsShouldCreateRequestWithNidAndNptnidInUri() {
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.

fix test name

Comment on lines +87 to +110
@Test
public void makeHttpRequestsShouldAcceptLegacyNtpnidAlias() {
// given
final ObjectNode bidderNode = mapper.createObjectNode()
.put("nid", "networkId")
.put("ntpnid", "legacyPartnerId");
final ObjectNode ext = mapper.createObjectNode();
ext.set("bidder", bidderNode);

final Imp imp = Imp.builder()
.id("imp-1")
.ext(ext)
.build();
final BidRequest bidRequest = givenBidRequest(imp);

// when
final Result<List<HttpRequest<BidRequest>>> result = target.makeHttpRequests(bidRequest);

// then
assertThat(result.getErrors()).isEmpty();
assertThat(result.getValue()).hasSize(1)
.extracting(HttpRequest::getUri)
.containsExactly(ENDPOINT_URL + "?nid=networkId&nptnid=legacyPartnerId");
}
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.

no need for this test

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.

3 participants