-
Notifications
You must be signed in to change notification settings - Fork 8
Open
Description
Context
The trustedServer Prebid adapter returns bids under alternate bidder codes (e.g. mocktioneer, appnexus) from the server-side seat. Prebid.js validates these against allowedAlternateBidderCodes in bidderSettings and rejects bids from unrecognized codes.
We currently set allowedAlternateBidderCodes: ['*'] (wildcard) inside the requestBids shim to allow any seat code from the orchestrator response.
Decision needed
Should we:
- Keep
['*']wildcard — simplest, works with any bidder the orchestrator returns, no config wiring needed - Use explicit list from
trusted-server.toml— use thebiddersarray already injected viawindow.__tsjs_prebid.biddersto restrict which alternate codes are accepted. Tighter control but requires wiring the injected config intobidderSettings
Additional work
- Add test coverage for
bidderSettingsbehavior (currently zero tests for this path) - Verify the
requestBidsshim placement is sufficient to prevent publisher overwrites from dropping the setting - Document the expected Prebid.js behavior for
allowAlternateBidderCodes+allowedAlternateBidderCodesin the integration
References
- Prebid docs: https://docs.prebid.org/dev-docs/publisher-api-reference/bidderSettings.html
- Prebid source validation:
prebid.js/src/adapters/bidderFactory.ts→isInvalidAlternateBidder() - Fix commit: 1001892
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels