Module Name: MgidX Bidder Adapter
Module Type: MgidX Bidder Adapter
Maintainer: [email protected]
One of the easiest way to gain access to MGID demand sources - MGIDX header bidding adapter. MGIDX header bidding adapter connects with MGID demand sources to fetch bids for display placements
var adUnits = [
// Will return static test banner
{
code: 'adunit1',
mediaTypes: {
banner: {
sizes: [ [300, 250], [320, 50] ],
}
},
bids: [
{
bidder: 'mgidX',
params: {
placementId: 'testBanner',
}
}
]
},
{
code: 'addunit2',
mediaTypes: {
video: {
playerSize: [ [640, 480] ],
context: 'instream',
minduration: 5,
maxduration: 60,
}
},
bids: [
{
bidder: 'mgidX',
params: {
placementId: 'testVideo',
}
}
]
},
{
code: 'addunit3',
mediaTypes: {
native: {
title: {
required: true
},
body: {
required: true
},
icon: {
required: true,
size: [64, 64]
}
}
},
bids: [
{
bidder: 'mgidX',
params: {
placementId: 'testNative',
}
}
]
}
];