Skip to content

Review your technical integration

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: {…}, …}

Console input command:

window.ADAGIO.hasRtd

Expected console output:

// If false, means your missing rtd module, or adagio provider, or both
true

Console input command:

pbjs.getEvents().filter((e) => e.eventType === "bidRequested").filter(e => e?.args?.bidderCode.toLowerCase().includes('adagio')).map(e => e?.args?.bids).flat()

Expected console output:

// Go deep in the bids array to review Adagio setup
params: {
organizationId: "XXXX", // Required
site: "my-site", // Required
placement: "my-adg-placement", // Required
},
...
ortb2Imp: {
ext: {
data: {
divId: "div-gpt-ad-1460505748561-0", // Required
}
}
},

2. RTD Module and Adagio RTD Provider (since Prebid 9)

Section titled “2. RTD Module and Adagio RTD Provider (since Prebid 9)”

Console input command:

pbjs.getConfig('realTimeData')

Expected console output:

dataProviders: [
{
name: "adagio",
params: {
organizationId: "XXXX", // Your organizationId
site: "my-site" // Your website name as declared on the Adagio platform
}
}
]

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