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

prebid / Prebid.js / 25941024597
96%

Build:
DEFAULT BRANCH: master
Ran 15 May 2026 09:12PM UTC
Jobs 1
Files 1871
Run time 3min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 May 2026 08:56PM UTC coverage: 96.433% (+0.004%) from 96.429%
25941024597

push

github

c21e3b
web-flow
pgamdirectBidAdapter: enrich meta, usersync, telemetry hooks (#14796)

* Add pgamdirect Analytics Adapter

Companion to modules/pgamdirectBidAdapter.ts (merged #14763).
Publishers install this alongside the bid adapter to forward auction
telemetry to the PGAM Direct SSP backend.

Forwards four Prebid events, deliberately narrow:
  AUCTION_END           — competitor CPMs seen in the auction
  BID_WON               — Prebid-layer winner + price
  AD_RENDER_SUCCEEDED   — client-confirmed impression
  AD_RENDER_FAILED      — with reason (exception / timeout / etc)

The value add over a server-side-only ledger: client-confirmed render
vs. "RTB said we won", plus visibility into what other bidders priced
the same auction at (we own server-side data for our own DSP calls,
but not for the ones other SSPs made through the same Prebid wrapper).

Payload is normalised into a small fixed shape before POST — we
deliberately drop the raw Prebid event args, which carry full FPD /
user.eids / custom bidder params that we don't need and shouldn't
exfiltrate. Sink: https://app.pgammedia.com/api/analytics-events (one
POST per event; content-type text/plain to keep CORS simple).

Config:
  pbjs.enableAnalytics({
    provider: 'pgamdirect',
    options: {
      orgId: '<pgam org id>',           // required
      endpoint: 'https://...'            // optional override
    }
  });

GVL ID 1353 (PGAM Media LLC, same as the bid adapter).

Tests: 12 covering registration, orgId validation, and the pure
normalise transform across all 4 forwarded event types (including
the 20-entry bidders_seen cap and filter-out of bidders with no
code). Event-emission path is not covered in this spec because the
sinon mock + AnalyticsAdapter async queue interact oddly in the
test harness — we export normalise() directly so the transform is
verifiable without the full event pipeline. The ajax call itself is
covered by upstream AnalyticsAdapter base-class tests.

* pgamdirectAnalytics: address C... (continued)

318 of 321 new or added lines in 4 files covered. (99.07%)

225670 of 234018 relevant lines covered (96.43%)

73.48 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
78.38
10.09% modules/pgamdirectAnalyticsAdapter.ts
Jobs
ID Job ID Ran Files Coverage
1 25941024597.1 15 May 2026 09:12PM UTC 1871
96.43
GitHub Action Run
Source Files on build 25941024597
  • Tree
  • List 1871
  • Changed 5
  • Source Changed 4
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25941024597
  • c21e3bb3 on github
  • Prev Build on master (#25923845626)
  • Next Build on master (#26001269796)
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