For the complete documentation index, see llms.txt. This page is also available as Markdown.

relevantDigital.aliasBidder()

Create a manual Prebid bidder alias for specialized custom implementations.

Use relevantDigital.aliasBidder() for specialized implementations that require a manual bidder alias.

Relevant Yield handles pbjs.aliasBidder() automatically when you change Custom Bidder name(s) or use server-side bidding. Most implementations do not need manual aliases.

Before you begin

Call this function before the first relevantDigital.loadPrebid() call.

For server-side or parallel bidding, this function also creates the required additional alias.

Signature

relevantDigital.aliasBidder(adapterName, aliasedName)

Example

window.relevantDigital = window.relevantDigital || {};
relevantDigital.cmd = relevantDigital.cmd || [];
relevantDigital.cmd.push(function() {
    relevantDigital.aliasBidder('pubmatic', 'pubmatic2');
    relevantDigital.aliasBidder('rubicon', 'rubicon2');
})

Last updated

Was this helpful?