File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ title: ShowHeroes
44description : Prebid ShowHeroes Bidder Adapter
55pbjs : true
66biddercode : showheroes-bs
7- media_types : video
7+ media_types : video, banner
88gvl_id : 111
99tcfeu_supported : true
1010usp_supported : true
@@ -141,3 +141,35 @@ pbjs.que.push(function(){
141141```
142142
143143You 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
You can’t perform that action at this time.
0 commit comments