Skip to content

Prebid Adagio adapter

Install Adagio Prebid Client Adapter

Set our Adapter required parameters

ParameterTypeRequiredDescriptionExample
organizationIdstringRequiredIdentifier of the Organization. Handed out by Adagio.‘1000’
sitestringRequiredName of the site. Found on our Webapp (picked at inventory creation time).

- max length: 50
‘mysite-com’
placementstringRequiredDescribes the placement of an adunit in a page. Must not contain any information about the type of device.

placement-limits-and-guidelines.md
- max length: 50
- max distinctives values: 10
‘ban_atf’
Here is an example of the adUnit's configuration
var adUnits = [{
// ...code: 'ban-atf',
// ...mediaTypes: {...},
// ...sizes: {...},
// Dedicated Adagio bidder params
bids: [{
bidder: "adagio",
params: {
organizationId: "1000", // Required
site: "my-site", // Required
placement: "my-adg-placement", // Required
},
}],

Add ortb2Imp and ortb2 params

ParameterTypeRequirementsDescriptionExample
divIdstringRequiredRefers to the adunit html attribute id in a page.

Must exists in the html code of the website.
‘div-gpt-ad-1542984663788-0’
pagetypestringRecommendedDescribes what kind of content will be present in the page.

- max length: 30
- max distinctives values: 50
‘article’
categorystringRecommendedCategory of the content displayed in the page.

- max length: 30
- max distinctives values: 50
‘sport’
Example of configuration
var adUnits = [{
// ...code: 'ban-atf',
// ...mediaTypes: {...},
// ...sizes: {...},
// Params shared between all bidders
ortb2Imp: {
ext: {
data: {
divId: "div-gpt-ad-1460505748561-0", // Required
}
}
},
}];
pbjs.setConfig({
// Params shared for the current page
ortb2: {
site: {
ext: {
data: {
pagetype: "article", // Recommended
category: "economy", // Optional
}
}
}
},
});

Review your technical integration