Skip to content

Commit c873b53

Browse files
add banner support for showheroes (prebid#6184)
* add banner support for showheroes * fix lint issue
1 parent d6a63b7 commit c873b53

1 file changed

Lines changed: 33 additions & 1 deletion

File tree

dev-docs/bidders/showheroes-bs.md

Lines changed: 33 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ title: ShowHeroes
44
description: Prebid ShowHeroes Bidder Adapter
55
pbjs: true
66
biddercode: showheroes-bs
7-
media_types: video
7+
media_types: video, banner
88
gvl_id: 111
99
tcfeu_supported: true
1010
usp_supported: true
@@ -141,3 +141,35 @@ pbjs.que.push(function(){
141141
```
142142

143143
You could use this example and place it in the `test/pages/instream.html` example page inside the Prebid.js repository.
144+
145+
#### banner
146+
147+
Example of adunit configuration for banner ads:
148+
149+
```javascript
150+
var pbjs = pbjs || {};
151+
pbjs.que = pbjs.que || [];
152+
var adUnits = [
153+
{
154+
code: 'div-gpt-ad-1460505748561-0',
155+
mediaTypes: {
156+
banner: {
157+
sizes: [[300, 250]],
158+
}
159+
},
160+
bids: [{
161+
bidder: "showheroes-bs",
162+
params: {
163+
unitId: "1234abcd-5678efgh",
164+
}
165+
}],
166+
}
167+
];
168+
pbjs.que.push(function () {
169+
pbjs.setConfig({...});
170+
pbjs.addAdUnits(adUnits);
171+
pbjs.requestBids({ bidsBackHandler: sendAdServerRequest });
172+
})
173+
```
174+
175+
You can use this example and place in the `hello_world` gpt integration test page

0 commit comments

Comments
 (0)