We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9569b6 commit f24971cCopy full SHA for f24971c
1 file changed
crates/js/lib/src/integrations/prebid/index.ts
@@ -242,6 +242,16 @@ export function installPrebidNpm(config?: Partial<PrebidNpmConfig>): typeof pbjs
242
}
243
pbjs.setConfig(pbjsConfig as PbjsConfig);
244
245
+ // Allow the trustedServer adapter to return bids under the real bidder codes
246
+ // (e.g. "mocktioneer", "appnexus") from the server-side seat.
247
+ pbjs.bidderSettings = {
248
+ ...(pbjs.bidderSettings || {}),
249
+ [ADAPTER_CODE]: {
250
+ ...(pbjs.bidderSettings?.[ADAPTER_CODE] || {}),
251
+ allowAlternateBidderCodes: true,
252
+ },
253
+ };
254
+
255
// processQueue() must be called after all modules are loaded when using
256
// prebid.js via NPM.
257
pbjs.processQueue();
0 commit comments