[Bidder Adapter] Add AdPlayx adapter - #4582
Open
anuraj700 wants to merge 1 commit into
Open
Conversation
## Type of Change - [x] New bidder adapter - [ ] Bug fix - [ ] Feature / Enhancement - [ ] Documentation update ## Description This PR adds the **AdPlayx** bidder adapter implementation (`adplayx`) to Prebid Server Java, supporting ORTB 2.6 requests for Banner and Video inventory. ### Key Changes Made: - Added `AdplayxBidder.java` to handle request construction with query parameters (`apptoken`, `placementid`) and bid response parsing. - Added `ExtImpAdplayx.java` model for extracting adapter parameters. - Added bidder configuration (`adplayx.yaml`, `AdplayxConfiguration.java`). - Added parameter validation schema (`static/bidder-params/adplayx.json`). - Added unit test suite `AdplayxBidderTest.java` targeting >80% code coverage using JUnit 5 and AssertJ. ## Checklist - [x] Code passes `checkstyle:check` without line length or final modifier violations. - [x] Unit tests pass locally (`mvn test -Dtest=AdplayxBidderTest`). - [x] Parameters match JSON schema defined in `static/bidder-params/adplayx.json`. - [x] Added configuration in `bidder-config/adplayx.yaml`. ## Testing Instructions Run unit tests locally: ```bash mvn test -Dtest=AdplayxBidderTest
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Type of Change
Description
This PR adds the AdPlayx bidder adapter implementation (
adplayx) to Prebid Server Java, supporting ORTB 2.6 requests for Banner and Video inventory.Key Changes Made:
AdplayxBidder.javato handle request construction with query parameters (apptoken,placementid) and bid response parsing.ExtImpAdplayx.javamodel for extracting adapter parameters.adplayx.yaml,AdplayxConfiguration.java).static/bidder-params/adplayx.json).AdplayxBidderTest.javatargeting >80% code coverage using JUnit 5 and AssertJ.Checklist
checkstyle:checkwithout line length or final modifier violations.mvn test -Dtest=AdplayxBidderTest).static/bidder-params/adplayx.json.bidder-config/adplayx.yaml.Testing Instructions
Run unit tests locally: