Module Name: Start.io Bidder Adapter
Module Type: Bidder Adapter
Maintainer: prebid@start.io
The Start.io Bid Adapter enables publishers to integrate with Start.io's demand sources for banner, video and native ad formats. The adapter supports OpenRTB standards and processes bid requests efficiently using the Prebid.js framework.
var adUnits = [
{
code: 'test-div',
mediaTypes: {
banner: {
sizes: [[300,250], [728,90]]
}
},
bids: [
{
bidder: 'startio',
params: {
// REQUIRED - Publisher Account ID
publisherId: 'your-account-id',
// OPTIONAL - Enable test ads
testAdsEnabled: true
}
}
]
}
];
var videoAdUnits = [
{
code: 'test-div-video',
mediaTypes: {
video: {
context: 'instream',
placement: 1,
playerSize: [640, 360],
mimes: ['video/mp4'],
protocols: [2, 3, 5, 6],
api: [2],
maxduration: 30,
linearity: 1,
playbackmethod: [2]
}
},
bids: [
{
bidder: 'startio',
params: {
publisherId: 'your-account-id',
testAdsEnabled: true
}
}
]
}
];
var nativeAdUnits = [
{
code: 'test-div-native',
mediaTypes: {
native: {
title: { required: true, len: 80 },
body: { required: true },
image: { required: true, sizes: [150, 150] },
icon: { required: false, sizes: [50, 50] },
sponsoredBy: { required: true }
}
},
bids: [
{
bidder: 'startio',
params: {
publisherId: 'your-account-id',
testAdsEnabled: true
}
}
]
}
];
The adapter supports iframe-based user syncing. When iframeEnabled is set to true in the sync options, the adapter returns a single iframe sync URL. GDPR, USP (CCPA), and GPP consent strings are automatically appended as query parameters when present.
pbjs.setConfig({
userSync: {
iframeEnabled: true
}
});
Consent parameters included in the sync URL (when available):
gdpr–1if GDPR applies,0otherwisegdpr_consent– the TCF consent stringus_privacy– the USP/CCPA consent string (e.g.1YNN)gpp– the GPP consent stringgpp_sections– applicable GPP section IDs
- The adapter processes requests via OpenRTB 2.5 standards.
- Ensure that the
publisherIdparameter is set correctly for your integration. - Test ads can be enabled using
testAdsEnabled: trueduring development. - The adapter supports multiple ad formats, allowing publishers to serve banners, native ads and instream video ads seamlessly.