• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In
Warning: This build has drifted.
The coverage report for this pull request build may be inaccurate because its base commit is no longer the HEAD of its target branch.
This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

    • Learn more: For more information on this, see Tracking coverage changes for pull request builds.
    • Fix now: For a quick fix, rebase this PR at GitHub. Your next report should be accurate.
    • Prevent going forward: To avoid this issue with future PRs, see these Recommended CI Configurations.
New Repo Setting:
INCLUDE COVERAGE % WITH WARNINGS ABOUT DRIFTED BUILDS?

Enabling this setting will include a (potentially inaccurate) coverage % with warning messages in status updates for drifted builds.

Adjust setting

prebid / Prebid.js / 24778189760
96%
master: 96%

Build:
Build:
LAST BUILD BRANCH: codex/import-types-for-ftrack-id
DEFAULT BRANCH: master
Ran 22 Apr 2026 01:02PM UTC
Jobs 1
Files 1833
Run time 5min
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

22 Apr 2026 12:27PM UTC coverage: 96.391% (+0.002%) from 96.389%
24778189760

Pull #14763

github

ffe483
mastap150
pgamdirect: convert to TypeScript, use ortbConverter

Addresses patmmccann review on #14763:
  - Convert pgamdirectBidAdapter.js → .ts with typed public interface.
  - Replace the hand-rolled imp/device/user/source builders with
    libraries/ortbConverter, keeping only the pgam-specific fields
    (imp.ext.pgam.orgId, imp.tagid from params.placementId,
    meta.networkName from seatbid.seat) as converter hooks.
  - Drop the contentType: 'application/json' header entirely — JSON
    is NOT a CORS-simple content-type, so setting it forces a
    browser preflight on every auction. Omitting it keeps the POST
    preflight-free (saves one RTT per request).

The converter inherits Prebid's standard handling of:
  - priceFloors module (imp.bidfloor / bidfloorcur via bid.getFloor)
  - schain via FPD normalisation (source.ext.schain)
  - source.tid, user.eids, site/device/regs (GDPR, USP, GPP, COPPA)
  - media types (banner sizes → format[], video player size passthrough,
    native request serialisation)
  - bidResponse cpm/currency/ttl/netRevenue/mediaType/advertiserDomains

So this change:
  - Removes ~200 lines of custom plumbing.
  - Means future ORTB spec updates (2.7, new privacy fields) flow
    through automatically when Prebid updates the converter.

Also:
  - Register GVL ID 1353 on spec (PGAM Media LLC, registered with IAB).
  - Keep params.bidfloor as a legacy fallback when the priceFloors
    module has not populated imp.bidfloor.
  - Force at=1 (first-price) and cur=['USD'] via a request hook.

Spec tests: trimmed to cover only the adapter-owned behaviour
(isBidRequestValid, CORS-simple options, imp hook custom fields,
request hook, bidResponse.meta.networkName, onBidWon). Library-owned
behaviour (floors / schain / GDPR / media types / VAST parsing) is
not re-asserted here; those are covered by ortbConverter's own specs
and by every other adapter that uses it. 26/26 pass locally.
Pull Request #14763: New Bidder: PGAM Direct

43265 of 53219 branches covered (81.3%)

135 of 135 new or added lines in 2 files covered. (100.0%)

221092 of 229369 relevant lines covered (96.39%)

72.74 hits per line

Jobs
ID Job ID Ran Files Coverage
1 24778189760.1 22 Apr 2026 01:02PM UTC 2956
84.05
GitHub Action Run
Source Files on build 24778189760
  • Tree
  • List 1833
  • Changed 194
  • Source Changed 0
  • Coverage Changed 194
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #24778189760
  • Pull Request #14763
  • PR Base - master (#24745055750)
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