Skip to content

Yaleo Legacy Bid Adapter

Yaleo Legacy Bid Adapter (yaleo_legacy) is the legacy custom bidder integration used before the Yaleo adapter became part of Prebid.js.

bidder.params must include:

  1. yaleoPlacementId - Yaleo placement ID
  2. xandrTagId - Xandr tag ID

Legacy example:

const adUnits = [{
code: 'your-placement',
mediaTypes: {
banner: {
sizes: [[1, 1]],
},
},
bids: [
{
bidder: 'yaleo_legacy',
params: {
// Your Yaleo placement ID, required
yaleoPlacementId: '1711cf50-b98e-4d6a-9d6f-e0136639f9fa',
// Xandr tag ID, required
xandrTagId: 15833008,
// Allows to specify the supported sizes.
// If provided, no bids will be returned for non-specified sizes.
// Includes all requested sizes by default.
sizes: [[300, 200], [300, 300]],
// Allows to limit the maximum allowed CPM.
maxCpm: 3.5,
},
},
],
}];

See migration guidance on the current Yaleo adapter page: