- Help Center
- HB Manager
- JavaScript API
relevantDigital.getConfigs()
This function lists the Prebid configurations in the site
The prebid configurations objects contains the placements created in Relevant Yield for each "Prebid configuration" created for the site.
Example
window.relevantDigital = window.relevantDigital || {};
relevantDigital.cmd = relevantDigital.cmd || [];
relevantDigital.cmd.push(function() {
relevantDigital.getConfigs().forEach((cfg) => {
console.info('name:', cfg.name);
console.info('configId: ', cfg.configId);
console.info('Relevant Yield placements', cfg.adUnits);
});
});