ShowHeroes
Features
Bidder Code | showheroes-bs | Prebid.org Member | no |
---|---|---|---|
Prebid.js Adapter | yes | Prebid Server Adapter | no |
Media Types | display, video | Multi Format Support | will-bid-on-one |
TCF-EU Support | yes | IAB GVL ID | 111 |
GPP Support | check with bidder | DSA Support | check with bidder |
USP/CCPA Support | yes | COPPA Support | check with bidder |
Supply Chain Support | yes | Demand Chain Support | check with bidder |
Safeframes OK | check with bidder | Supports Deals | check with bidder |
Floors Module Support | yes | First Party Data Support | yes |
User IDs | none | ORTB Blocking Support | check with bidder |
Privacy Sandbox | check with bidder |
bid params
Name | Scope | Description | Example | Type |
---|---|---|---|---|
unitId |
required | ShowHeroes MAX unit ID | '1234abcd-5678efgh' |
string |
All other parameters should be sent inside openRTB request.
openRTB2 support
Starting with Prebid.js version 9.18 ShowHeores bidder adapter is requesting bids via openRTB protocol.
Publishers can use the ortb2
method of setting First Party Data. Bidder supports all first-party data fields: site, user, segments, and imp-level first-party data.
testing
While developing or testing locally, you can request a test request by marking the openRTB as a test.
To do that specifically for showheroes-Bs
you can do:
pbjs.setBidderConfig({
bidders: ['showheroesBs'],
config: {
ortb2: {
test:1
}
}
})
Or, more easily you can mark the whole request as a test request by doing:
pbjs.setConfig({ortb2: {test: 1}})
Outstream
Example of adunit configuration for the outstream unit:
var pbjs = pbjs || {};
pbjs.que = pbjs.que || [];
var adUnits = [
{
// Video adUnit
code: 'video-div-1',
mediaTypes: {
video: {
context: 'outstream',
playerSize: [640, 480],
mimes: ['video/mp4'],
playbackmethod: [2, 4, 6],
api: [1, 2, 4, 6],
protocols: [3, 4, 7, 8, 10],
placement: 1,
minduration: 0,
maxduration: 60,
startdelay: 0,
skip: 1
},
},
bids: [{
bidder: "showheroes-bs",
params: {
unitId: "1234abcd-5678efgh",
}
}],
}
];
pbjs.que.push(function () {
pbjs.setConfig({...});
pbjs.addAdUnits(adUnits);
pbjs.requestBids({ bidsBackHandler: sendAdServerRequest });
});
You could use this example and place it in .html example pages inside the Prebid.js repository.
instream
Example of adunit configuration for the instream unit:
var pbjs = pbjs || {};
pbjs.que = pbjs.que || [];
var videoAdUnit = {
code: 'video1',
sizes: [640,480],
mediaTypes: {
video: {context: 'instream', playerSize: [640, 480]}
},
bids: [
{
bidder: 'showheroesBs',
params: {
unitId: "1234abcd-5678efgh",
}
}
]
};
pbjs.que.push(function(){
pbjs.addAdUnits(videoAdUnit);
pbjs.setConfig({
cache: {
url: 'https://prebid.adnxs.com/pbc/v1/cache'
},
...,
});
pbjs.requestBids({
timeout: 10000,
bidsBackHandler : function(bids) {
var vastUrl = bids["video1"].bids[0].vastUrl
invokeVideoPlayer(vastUrl);
}
});
});
You could use this example and place it in the test/pages/instream.html
example page inside the Prebid.js repository.
"Send All Bids" Ad Server Keys
These are the bidder-specific keys that would be targeted within GAM in a Send-All-Bids scenario. GAM truncates keys to 20 characters.hb_pb_showheroes-bs |
hb_bidder_showheroes |
hb_adid_showheroes-b |
hb_size_showheroes-b |
hb_source_showheroes |
hb_format_showheroes |
hb_cache_host_showhe |
hb_cache_id_showhero |
hb_uuid_showheroes-b |
hb_cache_path_showhe |
hb_deal_showheroes-b |