From 02091e04ce4e021290e47ed02bc397e877cfe630 Mon Sep 17 00:00:00 2001 From: Filip Stamenkovic Date: Wed, 30 Jul 2025 13:12:15 +0200 Subject: [PATCH 1/2] add banner support for showheroes --- dev-docs/bidders/showheroes-bs.md | 35 ++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/dev-docs/bidders/showheroes-bs.md b/dev-docs/bidders/showheroes-bs.md index 198ea27242..65c719d6d1 100644 --- a/dev-docs/bidders/showheroes-bs.md +++ b/dev-docs/bidders/showheroes-bs.md @@ -4,7 +4,7 @@ title: ShowHeroes description: Prebid ShowHeroes Bidder Adapter pbjs: true biddercode: showheroes-bs -media_types: video +media_types: video, banner gvl_id: 111 tcfeu_supported: true usp_supported: true @@ -141,3 +141,36 @@ pbjs.que.push(function(){ ``` You could use this example and place it in the `test/pages/instream.html` example page inside the Prebid.js repository. + +#### banner + +Example of adunit configuration for banner ads: +```javascript + + +var pbjs = pbjs || {}; +pbjs.que = pbjs.que || []; +var adUnits = [ + { + code: 'div-gpt-ad-1460505748561-0', + mediaTypes: { + banner: { + sizes: [[300, 250]], + } + }, + bids: [{ + bidder: "showheroes-bs", + params: { + unitId: "1234abcd-5678efgh", + } + }], + } +]; +pbjs.que.push(function () { + pbjs.setConfig({...}); + pbjs.addAdUnits(adUnits); + pbjs.requestBids({ bidsBackHandler: sendAdServerRequest }); +}) +``` + +You can use this example and place in the `hello_world` gpt integration test page From de2ba7c34f317ad3be21fb72aff3da27d3f5d309 Mon Sep 17 00:00:00 2001 From: Filip Stamenkovic Date: Wed, 30 Jul 2025 13:22:16 +0200 Subject: [PATCH 2/2] fix lint issue --- dev-docs/bidders/showheroes-bs.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dev-docs/bidders/showheroes-bs.md b/dev-docs/bidders/showheroes-bs.md index 65c719d6d1..b1e0d47d70 100644 --- a/dev-docs/bidders/showheroes-bs.md +++ b/dev-docs/bidders/showheroes-bs.md @@ -145,9 +145,8 @@ You could use this example and place it in the `test/pages/instream.html` exampl #### banner Example of adunit configuration for banner ads: -```javascript - +```javascript var pbjs = pbjs || {}; pbjs.que = pbjs.que || []; var adUnits = [