Skip to content

Rewrite the RTD module according to proposal - #78

Open
3link wants to merge 52 commits into
masterfrom
DATA-80819
Open

3link wants to merge 52 commits into
masterfrom
DATA-80819

Conversation

@3link

@3link 3link commented Nov 18, 2026 •

Copy link
Copy Markdown

Rewrite of the RTD module based on prebid#16221

3link and others added 14 commits November 18, 2026 16:33
Use the SharedID cookie domain for simulated server writes and consent fixtures.

Generated with Codex on behalf of @patmmccann.
…ers (prebid#16261)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Core: validate provider and bidder configuration types

Infer literal names at configuration and ad unit call sites; preserve custom
providers and bidders and fix strict bidder settings callback assignments.
Add source and published-consumer type regressions for prebid#14895.

Generated with Codex on behalf of @patmmccann.

* Tests: avoid overwritten writes in bidder type fixtures

Separate stored and inline assignment cases, and express negative settings
checks as typed constants. Use compile-time expectType assertions instead
of artificial callback branches in source and consumer fixtures.

Addresses review comments 4525403579 and 4525403594.
Validation: scoped lint, TypeScript, all 16 consumer configurations, and
the full Vitest suite (28,406 passed; 8 skipped).

Generated with Codex on behalf of @patmmccann.

* Types: document and test checking prebuilt configuration; drop an attribution comment

Configuration or ad units built in a variable before the call have their
names widened to string, so their parameters aren't checked. Naming the
providers or bidders in the variable's type (`satisfies Partial<Config<...>>`,
`satisfies AdUnitDefinition<...>[]`, or an annotation) keeps the checks;
add type tests for both, including that an unlisted name is rejected, and a
README section on what is and isn't checked.

Also remove an AI attribution comment from src/config.ts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…kill (prebid#16142)

* Docs: update GPT hello_world example and best-practices skill for registerRequestHook

- Update integrationExamples/gpt/hello_world.html to orchestrate Prebid auctions via GPT's registerRequestHook API without disableInitialLoad() or manual failsafe timers, consolidating and removing hello_world_experimental_request_hook.html.
- Extend .agents/skills/prebid-best-practices to audit GPT ad-server request orchestration across initial load, lazy loading, and refreshes.

* Docs: keep hello_world.html intact and add standalone hello_world_request_hook.html

* Docs: refine GPT orchestration skill checks and experimental note
* userId: note where submodule.handle is set

processSubmoduleCallbacks reads submodule.handle, which IdStore.handle() in
storage.ts assigns. Say so at both ends, since a reader (and code-quality
tooling, as in prebid#16266) looking only at index.ts sees no assignment.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* userId: trim the handle comment to the local side effect

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ble (prebid#16260)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* ucfunnel Bid Adapter: update maintainer email

* ucfunnel Analytics Adapter: update maintainer email
* Video: improve GAM ad server submodule coverage

Generated with Codex on behalf of @patmmccann.

* Nexverse Adapter: cover auction requests, responses, and consent syncs

Generated with Codex on behalf of @patmmccann.

* Debugging: cover default response generation and rendering

Generated with Codex on behalf of @patmmccann.

* Dynamic Ad Boost RTD: improve provider test coverage

Generated with Codex on behalf of @patmmccann.

* Asteriobid utils: cover campaign data and analytics sanitization

Generated with Codex on behalf of @patmmccann.

* Core: cover audio bid validation

Generated with Codex on behalf of @patmmccann.

* Lockr AIM ID: cover token storage and refresh behavior

Generated with Codex on behalf of @patmmccann.

* Video Module: improve impression verifier test coverage

Generated with Codex on behalf of @patmmccann.

* AppNexus Utils: cover parameter conversion and fill cloning

Generated with Codex on behalf of @patmmccann.

* Utiq Utils: cover service discovery and cross-origin ID updates

Generated with Codex on behalf of @patmmccann.

* Debugging tests: normalize background-size serialization

Compare the placeholder size after parsing both values through the browser's CSSOM so implicit auto heights serialize consistently across browser versions.

Generated with Codex on behalf of @patmmccann.

* Video impression tests: use deterministic lookup IDs

Use distinct stubbed tracking IDs when testing identifier lookup precedence, and restore the generator after each test. Random ID collisions otherwise overwrite the first bid and make these tests intermittently fail.

Validation: lint passed; 28,406 browser tests and 183 build-logic tests passed in Chrome 159; both affected specs passed with all optional features disabled.

Generated with Codex on behalf of @patmmccann.

* Tests: move the AppNexus utils coverage to prebid#16111

prebid#16111 adds a spec for libraries/appnexusUtils/anUtils.js, with these
convertCamelToUnderscore and fill cases, so this PR no longer needs its own.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Improve generateUUID performance

* Fix PR review comment
patmmccann and others added 15 commits November 19, 2026 12:14
…clipping (fix iPhone shard after prebid#16260) (prebid#16282)

* Connatix Bid Adapter tests: keep the viewability element out of the top page's clipping (fix iPhone shard after prebid#16260)

prebid#16260 attached the detectViewability tests' element to the top document,
so percentInView now walks its real ancestors for clipping. The top page's
<html> is overflow: hidden and as wide as the real viewport, which on the
BrowserStack iPhone (390px) is narrower than the stubbed 800x600 one, cutting
the 300px rects at x=100 and x=200 to 97% and 63%. Make the element
position: fixed so no ancestor of the host page can clip it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Connatix Bid Adapter tests: trim the setup comment

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ebid#16278)

* Core: fix visibility and clipping in DOM viewability measurements

* Core: skip boxless ancestors in DOM viewability

Ignore display:contents ancestors for clipping and containing-block tracking. Cover boxless slots, boxed slots, outer clippers, and collapsed-size overrides, and remove the inline authorship comment.

---------

Co-authored-by: Patrick McCann <pmccann@raptive.com>
* Core: replaceExpiredBid auction config option

Adds auctionOptions.replaceExpiredBid, resolved through the getBidToRender hook
from receiveMessage, renderAdDirect and triggerBilling (prebid#13838).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* async callbacks

* lint

* different ad unit lock

* Safe rendering: replace expired bids on the frame's render request, not in renderBid

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Core: getBidToRender does not need to be a hook

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Core: track expired bid replacements as a bid or a promise instead of a callback list

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Core: do not replace expired bids that defer rendering or already won

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* reuse getBidForMessage

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Demetrio Girardi <dgirardi@prebid.org>
…h the pixelUrl request (prebid#16233)

* SharedId ID System: optionally send consent with the pixelUrl request

Add an opt-in `pixelConsent` param. When set, the pixelUrl request made by
getId and extendId also carries gdpr, gdpr_consent, us_privacy, gpp and
gpp_sid from the consent data the submodule receives, so a first-party
endpoint can decide on storage with the page's consent. Without the param
the pixel URL is unchanged.

Closes prebid#16157

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* SharedId ID System: optionally send the cookie domain with the pixelUrl request

Add an opt-in `pixelCookieDomain` param. When set, the pixelUrl request
also carries cookie_domain, the domain Prebid.js writes the ID cookie on
(the module's domainOverride), so a first-party endpoint can set its
cookie with the same Domain. The domain probe only runs when the param is
set; without it the pixel URL is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* SharedId ID System: send pixel params unencoded, like other getUserSyncParams callers

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Demetrio Girardi <dgirardi@prebid.org>
* feat(boldwinx): add Boldwin bid adapter for pbjs.algotoro.com

Banner, video and native over OpenRTB via ortbConverter, one request per epid,
USD floors and currency, image user sync with GDPR, USP and GPP signals.
Bids without mtype take their media type from the impression and markup.

* docs(boldwinx): add adapter documentation

* fix(boldwinx): send one impression per request

The endpoint answers 204 to any request with more than one imp, so ad
units that share an epid lost all their bids. Every bid now goes in its
own request.

* fix(boldwinx): hand nurl and burl to Prebid as event trackers

Next to VAST or native markup the endpoint sends nurl as a win notice
with an ${AUCTION_PRICE} macro. The ORTB converter stored it as the
VAST URL, so players could load the notice instead of the ad, and for
native it was never fired. burl was never fired at all.

Both now go into bid.eventtrackers with the price filled in, and Prebid
core fires them: the win tracker when the bid wins, the impression
tracker when it becomes billable.

* fix(boldwinx): put video notices into the VAST and fix review findings

- Video: burl and nurl go into the VAST as <Impression> pixels, because
  the publisher's player, not Prebid, shows instream video. Without
  markup nurl stays the VAST URL and burl goes to vastTrackers. An empty
  adm no longer drops that VAST URL.
- Fill in ${AUCTION_PRICE} in adm: the endpoint's own VAST and native
  trackers carry the macro, and core replaces it only in banner markup.
- Pass a copy of the context when guessing the media type, so the guess
  does not leak to other bids on the same impression.
- Leave out per-format and per-size floors that are not in USD.
- Docs: epid type is string or number.

* test(boldwinx): skip video and native tests in builds without those features

CI also runs the suite with every feature flag off. The win notice test
now stubs the BID_WON event and addWinningBid, so it leaves no winning bid
behind for other specs.

* docs(boldwinx): add instream and outstream video demo pages

* docs(boldwinx): add a demo page with two banners and an outstream video

Move the outstream player into demo.js so the outstream page and the new
page share it.

* docs(boldwinx): describe the endpoint by the epid param, not by host

* chore(boldwinx): move the demo pages out of the adapter branch

* fix(boldwinx): fill in the price in nurl when it is the VAST URL

* feat(boldwinx): send the ad units of one epid in one request

* fix(boldwinx): import insertVastTrackers from core, where upstream moved it

* docs(boldwinx): use the Boldwin test endpoint in the test parameters

* fix(boldwinx): recognize VAST markup that starts with an XML comment

* fix(boldwinx): skip leading XML comments without a backtracking regex

* refactor(boldwin): replace the TeqBlaze-based boldwin adapter with the ORTB one

The boldwin bidder code now runs the adapter developed as boldwinx. It reads
epid and, for earlier configurations, placementId or endpointId in the order
the earlier adapter used, and sends the value as the epid of the request.

* refactor(boldwin): take the endpoint ID only from the existing endpointId param

The earlier boldwin adapter and the Prebid Server bidder already use endpointId,
so the adapter reads it instead of adding a new epid param, and drops placementId.
The endpoint ID is still sent as the epid query parameter.

---------

Co-authored-by: BoldwinDev <225151908+BoldwinDev@users.noreply.github.com>
Co-authored-by: Patrick McCann <patmmccann@gmail.com>
…#15656)

* Engerio Bid Adapter: viewability and first-party data support

Viewability: implement onBidViewable and pass through the bid's vurl and
eventtrackers, so a viewable verdict from bidViewability or bidViewabilityIO
reaches Engerio. The adapter reports which of those modules is enabled
(pbjs.getConfig) in imp.ext, so Engerio can distinguish "measured, not viewed"
from "not measured at all" rather than reporting unmeasured inventory as unseen.

First-party data: merge each ad unit's ortb2Imp into its impression. Page- and
user-level ortb2 already flowed through; ad-unit-level data did not. The
adapter's own fields take precedence on collision, and banner sizes continue to
come from mediaTypes.banner.sizes.

Also log the no-bid reason Engerio returns (nbr / ext.nobid) at info level, and
warn when a bid is discarded for having no markup or a non-positive price.

* Engerio Bid Adapter: address review feedback

- only report bidViewabilityIO as measuring where IntersectionObserver is supported
- drop non-banner media sections from ortb2Imp before merging

* Engerio Bid Adapter: update viewability measurement

---------

Co-authored-by: Patrick McCann <patmmccann@gmail.com>
…#16286)

The release drafter versions the next release from major/minor/patch labels, and a patch label overrides its minor default; agent-applied patch labels made the 11.53.0 draft come out as 11.52.1.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* xe Analytics Adapter: gvlid option

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* xe Analytics Adapter: host option

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* xe Analytics Adapter: host from a fixed list, integer GVL ids

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…bid#16284)

* fix: do not abort the auction when s2sConfig has no endpoint

Once a server config has been accepted, a later setConfig that drops the endpoint is ignored by the Prebid Server adapter and still used by adapterManager. getMatchingConsentUrl then throws on endpoint.p1Consent, and that call sits outside the try/catch that already protects client adapters, so yieldAll never runs the remaining bidders.

Co-authored-by: Cursor <cursoragent@cursor.com>

* Log a missing PBS endpoint once, and drop a stray brace from the PBS error log

onError already logs the failure, so the separate logError produced the same error twice. The two 'Prebid server call failed' messages ended with an extra '}'.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Alex Buzdugan Adops <alex@adops.ro>
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Patrick McCann <patmmccann@gmail.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…s, read Iris cids (prebid#16290)

* ADTS-661-send-video-pos-value-from-Prebid-JS-adapter

* GumGum Bid Adapter: keep IDs on video requests, handle non-Latin-1 ads, read Iris cids,

---------

Co-authored-by: John Bauzon <john.bauzon@gumgum.com>
…reflight (prebid#16299)

Removes contentType: 'application/json' from the bid request options, so
core sends the same JSON body as text/plain and the browser skips the CORS
preflight. See prebid#16293 and prebid#12948.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…upport (prebid#15755)

* Splash Bid Adapter: support safe rendering for custom formats

* fix(splash): align policy test and demo guidance

* refactor(splash): avoid deepAccess for static paths

* fix(splash): follow rendererSupport policy

* test(splash): align renderer support fixtures

* docs(splash): clarify renderer policy and examples

* docs(splash): restore runnable test parameters

* docs(splash): clarify core renderer support

* Splash Bid Adapter: fix delivery, iOS clipping and click-through

---------

Co-authored-by: Krystian <krystian@splashandroll.com>
Co-authored-by: Patrick McCann <patmmccann@gmail.com>
Anton-stackup and others added 22 commits November 21, 2026 10:10
)

* stackupRtdProvider: fix merge, timing, consent and caching

- Strict-mode builds: stop reassigning the guarded ortb2Fragments, which
  threw and left bidders without segments.
- Activity controls: no crash or overwrite of publisher user.data when
  enrichUfpd/transmitUfpd are denied; no empty user object left behind;
  malformed publisher segments tolerated.
- One timed-out auction no longer aborts the shared fetch for the page;
  the fetch has its own 3 s bound, independent of disableAjaxTimeout.
- Consent is checked for every auction and a denied auction is released
  at once. No enrichment where GDPR applies (no GVL ID yet), whatever the
  purposes; COPPA unchanged.
- sessionStorage is only used once consent says GDPR doesn't apply, or on
  pages without a consent module.
- Each auction merges its own copy of the enrichment.
- Waits only under waitForIt + auctionDelay, releases before core's timer,
  never writes into an auction it already released.
- No empty site.content.data / user.data objects.
- Single-page apps: each auction resolves its own article.
- Cached entries are validated; debug mode caches under the domain it asks
  the API about.
- site.keywords and site.ext.data from the API are added after the
  publisher's own values.
- segtax 600 (Chrome Topics) is no longer accepted.
- Per-auction enrichment record (enriched, timedOut, noConsent,
  unavailable, error) for a future analytics adapter.
- Docs: timing, consent, GDPR, cache and defaultGdprScope.

* stackupRtdProvider: release a held auction when core lets it go

Core starts its auctionDelay timer before calling any provider, so ours
starts later: releasing 5 ms early did not guarantee releasing first once
earlier providers or our own cache work took longer than that. A late
enrichment could then be merged into, and recorded as enriched for, an
auction whose bid requests were already built.

A startAuction hook right after rtdModule's now releases any auction the
module still holds, as timedOut, before the auction is created. The 5 ms
margin is dropped; the module's own timer is min(params.timeout,
auctionDelay).

* stackupRtdProvider: check consent at every sessionStorage access

The cache was unlocked by a flag set once and never cleared. Any auction
that passed enrichmentAllowed() set it, including one with no GDPR data
at all (consent management resumes the auction with null consent for an
unsupported cmpApi). And once set, it stayed set after the CMP said GDPR
applies, so a fetch still in flight then was written to sessionStorage.

The flag is gone: storageAllowed() asks gdprDataHandler at every read and
write. Storage is used only without a GDPR consent module, or while it
says gdprApplies: false. The deferred cache lookup in getBidRequestData
is gated by cacheUsable() as well, after the cheaper checks.

* stackupRtdProvider: verify user.data merge on the array we wrote to

With only transmitUfpd denied, the activity guard lets an empty
publisher user.data through but hides it once our merge has filled it,
so re-reading user.data after the merge reported the blocks as missing.
Keep a reference to the array we merged into and check that instead.
Cache a keywords response only when it has data, so the next auction asks again once the page has been crawled.

Co-authored-by: Alexandr Kim <alexandr.kim@audienzz.ch>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…id#16309)

The rule against changing AGENTS.md and other root .md files exists so
agents don't edit repository policy to get a code change through. Read
literally, it banned every such change, so reviewers flagged maintainer
PRs that add or edit these files (a new SECURITY.md) as P1 violations.
Say what the rule protects, and tell reviewers to point such changes out
for a human instead of treating them as blocking.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…rebid#16294)

libraries/xeUtils' buildRequests set contentType: 'application/json', so every adapter built on it preflighted each bid request. Probing the endpoints with the same body as text/plain gave the same responses for adipolo, anzuDSP, driftpixel, iqx, leagueM, matterfull, robustApps and xe. Dropping the option lets core send the JSON body as text/plain.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…rebid#16220) (prebid#16222)

* Bid adapters: add GVL IDs for vendors active on the GVL

These bid adapters declared neither a gvlid nor an acpId although their
vendors are active on the IAB GVL. Same-company aliases get the same ID.
Split out of prebid#16220.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* pubx: drop the GVL ID

GVL ID 1485 (Pubx AI LTD) is already used by the separate pubxai bidder.
The pubx adapter is Pub-X (pub-x.io, api.primecaster.net), so the match
is not established; it moves to the needs-confirmation list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…rebid#15970)

* LuponMedia Bid Adapter: integration key, outstream video and native

Each ad unit sends an integration key (params.key) issued by LuponMedia. Adds outstream video (Prebid's outstream renderer unless the ad unit provides one) and native support. Replaces the previous keyId parameter.

* LuponMedia Bid Adapter: address review comments

Parse native adm with parseUntrustedJSON, fall back to the bid id for creativeId, keep native when an ad unit also lists instream video, honor backupOnly renderers, group keys in a Map, use the video nurl as win notice when there is no win event.

* LuponMedia Bid Adapter: keepalive win notice, typed bidder params

* LuponMedia Bid Adapter: test outstream rendering and non-JSON native requests

* LuponMedia Bid Adapter: billing in bid meta for partners on the publisher's own account

* LuponMedia Bid Adapter: fire burl on billing, native nurl as win notice, expand price macro in notices

* LuponMedia Bid Adapter: image user sync when iframe syncs are not allowed

* LuponMedia Bid Adapter: keep the generated request id without TIDs, no storage for image syncs

* LuponMedia Bid Adapter: optional chaining instead of deepAccess

* LuponMedia Bid Adapter: notices as event trackers via addEventTrackers, sync params via getUserSyncParams, price macro in outstream VAST

---------

Co-authored-by: LuponMedia <198091436+luponmedia@users.noreply.github.com>
… (deepintent and others) (prebid#16220)

* Bid adapters: register missing Google Additional Consent provider IDs and GVL IDs

Audit of bid adapters that declared neither a gvlid nor an acpId. Adds
Google Additional Consent provider IDs to 26 adapters (including
deepintent, 2320) whose vendors are on Google's AC list but not the GVL,
and GVL IDs to 40 adapters whose vendors are active on the GVL.
Same-company aliases get the same ID.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Bid adapters: keep only Additional Consent provider IDs in this PR

Move the GVL ID additions to a separate PR, and drop lkqd: its contact
is now Verve, whose VGI CTV entry is on the GVL, so the vendor needs to
confirm which ID applies.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…bid#15900)

* feat(mul): add video, multiformat, FPD, schain, and floors support

* fix(mul): forward instl flag and enforce outstream renderer requirement

* fix(mul): preserve banner demand on hybrid bids when outstream video lacks renderer

---------

Co-authored-by: Patrick McCann <patmmccann@gmail.com>
* * Update undertone adapter - change parameters - placementId parameter is now optional and not mandatory - undertoneBidAdapter.js

* Updated undertone bid adapter tests accordingly - undertoneBidAdapter_spec.js

* * Update undertone adapter - change parameters - placementId parameter is now optional and not mandatory - undertoneBidAdapter.js

 * Updated undertone bid adapter tests accordingly - undertoneBidAdapter_spec.js

* fix lint issue in undertone adapter spec

* added user sync function to undertone adapter

* * Update undertone adapter - change parameters - placementId parameter is now optional and not mandatory - undertoneBidAdapter.js

* Updated undertone bid adapter tests accordingly - undertoneBidAdapter_spec.js

* added user sync function to undertone adapter

* added user sync function to undertone adapter

* revert package-lock.json

* added user sync function to undertone adapter

* Update undertoneBidAdapter.js

* Update browsers.json

* Undertone: added GPP support and video plcmt

* Fix lint issues

* Undertone Bid Adapter: send user EIDs as uids

Since Prebid 10.0 bid.userId is no longer populated, so commons.uids has been absent from every request. Send the OpenRTB EIDs from bidderRequest.ortb2.user.ext.eids in commons.uids instead, and leave it out when there are none.

* rtb 2.6 path support

---------

Co-authored-by: omerko <omer.koren@perion.com>
Co-authored-by: Omer Koren <omerko@users.noreply.github.com>
Co-authored-by: AnnaPerion <annat@perion.com>
Co-authored-by: Oran Hollaender <oran@perion.com>
Co-authored-by: tamirnPerion <44399211+tamirnPerion@users.noreply.github.com>
Co-authored-by: tamarm <40788385+tamarm-perion@users.noreply.github.com>
Co-authored-by: Idan Botbol <ibotbol@undertone.com>
Co-authored-by: Keren Gattegno <kereng@perion.com>
…d#16308)

* docs: define security policy and publisher-selected creative isolation

* docs: link the private vulnerability report form in SECURITY.md

Private vulnerability reporting is enabled on prebid/Prebid.js, so point
reporters at its form instead of describing a fallback.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Docs: move threat model from SECURITY.md to THREAT_MODEL.md

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Docs: clarify review as the enforcement backstop and correct activity table in threat model

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Demetrio Girardi <dgirardi@prebid.org>
* Epom Ad Server Bid Adapter: support priority bids

Signals ext.prebid.as {ap, apb} when core grants allowPriorityBids, never
from first-party data. The ad server returns the campaign tier in
ext.prebid.deal on deal bids, which ortbConverter already maps to
bid.meta.deal. Documents the bidderSettings opt-in and the tier scale.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Epom Ad Server Bid Adapter: describe campaign priority as a fallback to price

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Anton Ruin <a.ruin@epom.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… CORS preflight (prebid#16307)

Removes contentType: 'application/json' from the bid request options, so
core sends the same JSON body as text/plain and the browser skips the CORS
preflight. See prebid#16293 and prebid#12948.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…reflight (prebid#16300)

Removes contentType: 'application/json' from the bid request options, so
core sends the same JSON body as text/plain and the browser skips the CORS
preflight. See prebid#16293 and prebid#12948.

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…ssive activity fake in adapterManager (prebid#16289)

* Core: fix alias chains, s2s adapter exception completion, and a permissive activity fake in adapterManager

- adapterManager.resolveAlias added each destination to its visited set, so
  the next loop check failed and multi-hop chains stopped after one hop.
  Delegate to the module's cycle-safe resolveAlias.
- When the s2s adapter throws, complete its bidder requests through doneCb
  directly (as the client-adapter catch path does) instead of done(false),
  which ran onTimelyResponse and marked them as timely responses.
- Fix the stored-impressions activity test fake to read params from the
  second isAllowed argument, and assert a normal bidder is actually denied.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Restore LF line endings in adapterManager and its spec

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Core: count synchronous adapter exceptions as timely, not timed out

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Demetrio Girardi <dgirardi@prebid.org>
…ebid#16312)

* Core: lint against native fetch and move modules to fetch from ajax.js

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Core: fetch wrapper rejects on request preparation errors instead of throwing

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

* Docs: list native fetch among the lint-flagged workarounds in the threat model

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…icle:tag, and filter junk (prebid#16314)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* Apply suggested fix to modules/idImportLibrary.js from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to modules/idImportLibrary.js from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Potential fixes for 2 code quality findings (prebid#16185)

* Apply suggested fix to test/spec/modules/idImportLibrary_spec.js from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* Apply suggested fix to test/spec/modules/idImportLibrary_spec.js from Copilot Autofix

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>

* ID Import Library: fix listener cleanup and cover all three findings

Use stable callbacks and track registered input elements so change and blur listeners are removed after capture and on reconfiguration. Cover observer attribute filtering, full email extraction through SHA-256 payloads, and listener cleanup with isolated DOM fixtures and awaited hashing.

Generated with Codex.

---------

Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
…m priorityAdjustedCpm (prebid#16316)

Co-authored-by: Anton Ruin <a.ruin@epom.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
…bmodules without their parent (prebid#16315)

* Tests: stop fun-hooks "never created" warnings for specs that load submodules alone

Specs that load an ID system or video provider without its parent module
reference the parent's hook through submodule() but never create it, so
fun-hooks warns "referenced 'userId' but it was never created" (and 'video')
when hookSetup.js calls hook.ready(). Create a no-op stand-in for any parent
module hook the spec did not load before marking hooks ready.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* Tests: trim hookSetup comment

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
GPT versions without getConfig are gone, so the targeting shim no longer
falls back to the deprecated pubads()/slot getTargeting, getTargetingKeys,
setTargeting and updateTargetingFromMap methods. Every helper now uses
getConfig('targeting') / setConfig({ targeting }) only. Values read back are
normalized to arrays, since GPT's typings allow single values and nulls.

GptApi now describes getConfig/setConfig, and @types/google-publisher-tag is
bumped so googletag.Slot carries them in Prebid's own build.

Test GPT mocks move to the config API through a shared helper
(test/mocks/gpt.js), which the googletag faker uses too.

Closes prebid#15556

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
… ci before dependency changes (prebid#16283)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

Whoa there, partner! 🌵🤠 We wrangled some duplicated code in your PR:

Reducing code duplication by importing common functions from a library not only makes our code cleaner but also easier to maintain. Please move the common code from both files into a library and import it in each. We hate that we have to mention this, however, commits designed to hide from this utility by renaming variables or reordering an object are poor conduct. We will not look upon them kindly! Keep up the great work! 🚀

@github-actions

Copy link
Copy Markdown

Tread carefully! This PR adds 2 linter errors (possibly disabled through directives):

  • src/utils.js (+2 errors)

@github-actions

Copy link
Copy Markdown

Some adapters in this PR do not follow Prebid naming conventions.
Module adWMGBidAdapter defines bidder code adWMG, which contains uppercase or non-alphanumeric characters
Module anzuDSPBidAdapter defines bidder code anzuDSP, which contains uppercase or non-alphanumeric characters
Module anzuSSPBidAdapter defines bidder code anzuSSP, which contains uppercase or non-alphanumeric characters
Module appMonstaMediaBidAdapter defines bidder code appMonstaMedia, which contains uppercase or non-alphanumeric characters
Module buzzoolaBidAdapter defines bidder alias buzzoolaAdapter, which contains uppercase or non-alphanumeric characters
Module getintentBidAdapter defines bidder alias getintentAdapter, which contains uppercase or non-alphanumeric characters
Module robustAppsBidAdapter defines bidder code robustApps, which contains uppercase or non-alphanumeric characters

  • Module appMonstaMediaBidAdapter defines bidder code appMonstaMedia, which conflicts with:
    • bidder alias appmonsta defined in module adkernelBidAdapter
  • Module displayioBidAdapter defines bidder code displayio, which conflicts with:
    • bidder alias displayioads defined in module adkernelBidAdapter
  • Module robustAppsBidAdapter defines bidder code robustApps, which conflicts with:
    • bidder code robusta defined in module robustaBidAdapter
  • Module silverpushBidAdapter defines bidder code silverpush, which conflicts with:
    • bidder code silvermob defined in module silvermobBidAdapter
  • Module sonaradsBidAdapter defines bidder alias bridgeupp, which conflicts with:
    • bidder code bridgewell defined in module bridgewellBidAdapter
  • Module xeBidAdapter defines bidder alias lunamediax, which conflicts with:
    • bidder code lunamediahb defined in module lunamediahbBidAdapter

@github-actions

github-actions Bot commented Nov 24, 2026 •

Copy link
Copy Markdown

This PR introduces changes that may not work on all browsers. According to Babel, the following polyfills may be needed, and they are not automatically included:

  • Changes to libraries/splashUtils/safeRenderer.ts may need:
    • es.weak-map.get-or-insert
    • es.weak-map.get-or-insert-computed
    • esnext.weak-map.get-or-insert
    • esnext.weak-map.get-or-insert-computed
  • Changes to libraries/stackupUtils/enrichment.ts may need:
    • es.map.get-or-insert
    • es.map.get-or-insert-computed
    • esnext.map.get-or-insert
    • esnext.map.get-or-insert-computed
  • Changes to modules/boldwinBidAdapter.ts may need:
    • es.array.includes
    • es.array.push
    • es.iterator.constructor
    • es.iterator.for-each
    • es.map.get-or-insert
    • es.map.get-or-insert-computed
    • esnext.iterator.constructor
    • esnext.iterator.for-each
    • esnext.map.get-or-insert
    • esnext.map.get-or-insert-computed
    • web.url-search-params.delete
    • web.url-search-params.has
    • web.url-search-params.size
  • Changes to modules/engerioBidAdapter.js may need:
    • es.array.includes
  • Changes to modules/idImportLibrary.js may need:
    • es.set.difference.v2
    • es.set.intersection.v2
    • es.set.is-disjoint-from.v2
    • es.set.is-subset-of.v2
    • es.set.is-superset-of.v2
    • es.set.symmetric-difference.v2
    • es.set.union.v2
    • esnext.set.difference.v2
    • esnext.set.intersection.v2
    • esnext.set.is-disjoint-from.v2
    • esnext.set.is-subset-of.v2
    • esnext.set.is-superset-of.v2
    • esnext.set.symmetric-difference.v2
    • esnext.set.union.v2
  • Changes to modules/liveIntentRtdProvider.js may need:
    • es.iterator.find
    • esnext.iterator.find
  • Changes to modules/luponmediaBidAdapter.js may need:
    • es.iterator.filter
    • es.iterator.map
    • es.json.parse
    • es.json.stringify
    • es.map.get-or-insert
    • es.map.get-or-insert-computed
    • esnext.iterator.filter
    • esnext.iterator.map
    • esnext.json.parse
    • esnext.map.get-or-insert
    • esnext.map.get-or-insert-computed
  • Changes to modules/mulBidAdapter.ts may need:
    • es.iterator.find
    • esnext.iterator.find
  • Changes to modules/semantiqRtdProvider.ts may need:
    • es.iterator.some
    • esnext.iterator.some
  • Changes to modules/sharedIdSystem.ts may need:
    • es.iterator.filter
    • es.iterator.for-each
    • esnext.iterator.filter
    • esnext.iterator.for-each
  • Changes to modules/splashBidAdapter.ts may need:
    • es.array.includes
    • es.array.push
    • es.iterator.constructor
    • es.iterator.every
    • es.iterator.filter
    • es.iterator.find
    • es.iterator.for-each
    • es.iterator.map
    • es.iterator.some
    • es.map.get-or-insert
    • es.map.get-or-insert-computed
    • es.weak-map.get-or-insert
    • es.weak-map.get-or-insert-computed
    • esnext.iterator.constructor
    • esnext.iterator.every
    • esnext.iterator.filter
    • esnext.iterator.find
    • esnext.iterator.for-each
    • esnext.iterator.map
    • esnext.iterator.some
    • esnext.map.get-or-insert
    • esnext.map.get-or-insert-computed
    • esnext.weak-map.get-or-insert
    • esnext.weak-map.get-or-insert-computed
  • Changes to modules/stackupRtdProvider.ts may need:
    • es.iterator.filter
    • es.iterator.find
    • es.iterator.map
    • esnext.iterator.filter
    • esnext.iterator.find
    • esnext.iterator.map
  • Changes to modules/xeAnalyticsAdapter.ts may need:
    • es.iterator.every
    • esnext.iterator.every
  • Changes to src/utils/gptTargeting.ts may need:
    • es.iterator.filter
    • esnext.iterator.filter
  • Changes to test/helpers/hookSetup.js may need:
    • es.iterator.constructor
    • es.iterator.for-each
    • esnext.iterator.constructor
    • esnext.iterator.for-each
  • Changes to test/mocks/gpt.js may need:
    • es.iterator.constructor
    • es.iterator.for-each
    • esnext.iterator.constructor
    • esnext.iterator.for-each

The best way to address this is to provide good test coverage, as normal PR checks run unit tests on older browsers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.