New Adapter: Adswag - #4908
Open
westerschmal wants to merge 1 commit into
Open
Conversation
This was referenced Aug 13, 2026
Adds the Adswag bid adapter (banner, video, audio; site and app) for Adswag's directly-integrated European supply. EU-hosted endpoint, GVL vendor 1417, GPP supported, consent-gated usersync redirect. 94.7% test coverage incl. 20 JSON fixtures.
westerschmal
force-pushed
the
new-adapter-adswag
branch
from
August 13, 2026 15:43
78757f9 to
9090e28
Compare
westerschmal
added a commit
to adswag/prebid-server-java
that referenced
this pull request
Aug 13, 2026
Port of the Go adapter (prebid/prebid-server#4908), authored by the Adswag team. Banner, video, audio; site and app; GVL vendor 1417; consent-gated usersync redirect.
Author
|
This PR is ready for review whenever someone has a chance. One note on the red semgrep-check: the failure is the pull_request_target workflow declining to check out fork branches — it reproduces on the pre-change commit and on other fork PRs (e.g. #4897) — so it isn't caused by anything in this change. Happy to address any feedback. |
Code coverage summaryNote:
adswagRefer here for heat map coverage report |
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.
New Adapter: Adswag
Adds the Adswag bid adapter for Adswag's directly-integrated European supply.
https://bid.adswag.ai/prebid/bid(static, EU-hosted; no dynamic hostnames, no geographic host parameters)ev.adswag.ai(uid macro$UID); under GDPR a uid is only issued with vendor-1417 + Purpose-1 consent, otherwise the redirect carries an empty uidpublisherId(required, string),placementId(optional, string) — schema instatic/bidder-params/adswag.jsonmodifyingVastXmlAllowed: false— our ad server owns VAST composition and measurement beaconsBidder params for validating bids (live evergreen test campaign, bids €2.50 EUR; verified against production 2026-08-13):
{ "publisherId": "prebid-test", "placementId": "prebid-test-display" }Display imps must include size 300x250;
prebid-test-video/prebid-test-audiofor video (mp4) and audio (mpeg/mp4) imps.placementIdmay be omitted (placement is discovered from gpid/adunit code). Requests withtest: 1also receive bids.Tests:
go test -race -cover ./adapters/adswag/...— 94.7% coverage; 6 exemplary + 14 supplemental JSON fixtures plus a captured-production-response test (fixture tokens are synthetic)../validate.shsuite green.Docs PR (bidder page with pbs metadata): prebid/prebid.github.io#6702
Prebid.js adapter PR: prebid/Prebid.js#15487
We will port this adapter to prebid-server-java ourselves (port PR opened alongside).