relevantDigital.aliasBidder()

relevantDigital.aliasBidder() is to be used as a substitute for pbjs.aliasBidder() - in very specific situations.

Normally, bidder aliasing via pbjs.aliasBidder() is handled automatically by Relevant Yield. (when changing Custom Bidder name(s) in the UI or when using Server-side bidding). Because of this, you normally don't need to manually set bidder aliases. But for specific custom implementations - this function can be used,

IMPORTANT: This function must be called before the first call to relevantDigital.loadPrebid().

If Server-side/parallel bidding is used, this function will also create an additional alias for that.

Notice: To make Headerbid Analytics reports map the name to the right Bidder/SSP you must manually add the aliased name to Custom Bidder name(s) in the UI.

Prototype

pbjs.aliasBidder(adapterName, aliasedName)

Example

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