• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

prebid / Prebid.js / 25008261141

27 Apr 2026 04:54PM UTC coverage: 96.405% (-0.006%) from 96.411%
25008261141

push

github

e031b3
web-flow
New Bid Adapter - goadserver (#14701)

* New Bid Adapter - goadserver

Multi-tenant Prebid.js adapter for the goadserver platform. One bidder
code ("goadserver") serves every deployment — publishers pass the
deployment-specific host + SSP campaign token per ad unit via params.host
and params.token. The adapter POSTs to https://{host}/openrtb2/auction
(goadserver's Prebid Server-compatible endpoint) and supports banner,
video, and native via ortbConverter.

GVL ID is not yet registered with IAB Europe and is commented out in
the adapter for now; will be populated once the TCF registration lands.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* goadserverBidAdapter: use real maintainer email

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* goadserverBidAdapter: support params.subid

Emits an optional per-impression subid in imp.ext.goadserver.subid
so goadserver can attribute bids to a sub-identifier (page section,
article bucket, A/B test group, etc.) without requiring a separate
HB campaign per variation. Server-side normalization strips unsafe
characters and caps the length at 1024.

Test coverage: 22 → 24 tests (adds "emits params.subid" and "omits
imp.ext.goadserver.subid when no subid is set" cases).

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

* goadserverBidAdapter: getUserSyncs from ext.goadserver.usersync

Implements the getUserSyncs hook so publishers using this adapter
drop the goadserver persistent cookie after each auction. The sync
URL is published per-deployment at response.body.ext.goadserver.usersync
by the server (/openrtb2/auction), so the same adapter picks up the
right pixel for every goadserver system without hardcoding hosts.

Returns image or iframe syncs per syncOptions; falls back to empty
when either the response has no sync entry or the publisher has
disabled sync types globally.

Test coverage: 24 → 29 tests (5 new getUserSyncs cases covering
empty re... (continued)

43632 of 53622 branches covered (81.37%)

241 of 265 new or added lines in 2 files covered. (90.94%)

222600 of 230902 relevant lines covered (96.4%)

72.62 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

75.0
/modules/goadserverBidAdapter.ts


Source Not Available

STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc