Repository navigation
Port Clickio: New Adapter - #4724
Open
ClickioTech wants to merge 2 commits into
Open
ClickioTech wants to merge 2 commits into
ClickioTech wants to merge 2 commits into
Conversation
Port of the Clickio adapter merged in PBS-Go (prebid/prebid-server#4786). Copies imp.ext.bidder to imp.ext.params for each impression, since the Clickio backend reads bidder params from there, and sends all impressions in a single request. Bids are mapped to banner impressions by impid.
Drop imp.ext null checks, since core always sets imp.ext.bidder, and the code comment. Report bid-to-imp mapping errors as bad_server_response. Split unit tests per behaviour, reduce the smoke test to a single imp and use regs.gdpr in its fixture.
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 changes
✨ What's the context?
Port of the Clickio adapter merged in PBS-Go: prebid/prebid-server#4786.
Closes #4713
Publisher documentation: prebid/prebid.github.io#6577 (already merged, no Java-specific changes needed).
🧠 Rationale behind the change
The Clickio backend reads bidder params from
imp.ext.params, so the adapter copiesimp.ext.bidderthere for each impression and sends all impressions in a single request. The generic adapter forwards the request unchanged and cannot express this mapping, so a dedicated bidder is used. Bids are mapped to banner impressions byimpid, the response currency is passed through.🔎 New Bid Adapter Checklist
🧪 Test plan
ClickioBidderTestcover request mapping, multiple impressions with distinct params, preservation of otherimp.extfields, bid-to-imp mapping, currency and error handling.ClickioTestcovers bidder configuration and a banner auction.mvn clean packagepasses: 8988 tests, 0 failures, 0 Checkstyle violations.ClickioBiddercoverage is 100% (lines and branches).🏎 Quality check
Could a maintainer please add the
do not portlabel?