Skip to content

Review your technical integration (before Prebid 9)

📌 Review your integration by playing commands in your Chrome-based browser console.

This page is here to help you validate your integration by yourself for the required steps. But your Solution Engineer / CSM will be there anyway to ensure all is properly configured.

B. Check the required Adagio bidder adapter

Section titled “B. Check the required Adagio bidder adapter”

Console input command:

window.ADAGIO

Expected console output:

// Should not be 'undefined'
{pageviewId: '4682f2c2-4d09-44ba-8766-5bf4e1ec35ec', adUnits: {…}, pbjsAdUnits: Array(3), queue: Array(0), versions: {…}, …}

C. Check the required wrapper configuration

Section titled “C. Check the required wrapper configuration”

Console input command:

pbjs.getEvents().filter((e) => e.eventType === "bidRequested").filter(e => e?.args?.bidderCode.toLowerCase().includes('adagio')).map(e => e?.args?.bids).flat()
// Go deep in the bids array to review Adagio setup
params: {
organizationId: "XXXX", // Required
site: "my-site", // Required
adUnitElementId: "div-gpt-ad-1460505748561-0", // Required
placement: "my-adg-placement", // Required
},

Console input command:

pbjs.getConfig('userSync')

Expected console output:

// We require to be in 'iframe' as 'include'
// filterSettings.all also works
{
filterSettings: {
iframe: {
bidders: ["adagio"],
filter: "include"
}
}
}

Console input command:

pbjs.getConfig('deviceAccess')

Expected console output:

// Should not be 'false' or 'undefined'
true

Console input command:

pbjs?.bidderSettings?.adagio?.storageAllowed
// Also works: pbjs?.bidderSettings?.standard?.storageAllowed

Expected console output:

// 'true' also works depending on your bidderSettings setup
[
"cookie",
"html5"
]