This function is similar to
setConfig, but is designed to support certain bidder-specific scenarios.
Configuration provided through the
setConfig function is
globally available to all bidder adapters. This makes sense because
most of these settings are global in nature. However, there are use cases where different bidders require different data, or where certain parameters apply only to a given
setBidderConfig when you need to support these cases.
The page usage is:
How to interpret these examples:
- When ‘bidderA’ calls
getConfig('customArg'), it will receive the object that contains ‘customArg’. If any other bidder calls
getConfig('customArg'), it will receive nothing.
- When ‘bidderB’ calls
getConfig('ortb2'), it will receive this override definition rather than whatever else might have been defined globally. If any other bidder calls
getConfig('ortb2'), it will receive the globally defined objects.
This function is also used by the
schain feature. Refer to the schain documentation for examples.