Skip to content

Commit 9655bd4

Browse files
vadim-mazzherinveraneverah2p4x8
authored and
Chris Pabst
committed
showheroes-bs Bid Adapter: fix for outstream render (prebid#7604)
* add ShowHeroes Adapter * ShowHeroes adapter - expanded outstream support * Revert "ShowHeroes adapter - expanded outstream support" This reverts commit bfcdb91. * ShowHeroes adapter - expanded outstream support * ShowHeroes adapter - fixes (prebid#4222) * ShowHeroes adapter - banner and outstream fixes (prebid#4222) * ShowHeroes adapter - description and outstream changes (prebid#4222) * ShowHeroes adapter - increase test coverage and small fix * ShowHeroes Adapter - naming convention issue * Mixed AdUnits declaration support * ITDEV-4723 PrebidJS adapter support with SupplyChain module object * ITDEV-4723 Fix tests * ITDEV-4723 New entry point * showheroes-bsBidAdapter: Add support for advertiserDomains * showheroes-bsBidAdapter: hotfix for outstream render * showheroes-bsBidAdapter: update renderer url Co-authored-by: veranevera <[email protected]> Co-authored-by: Elizaveta Voziyanova <[email protected]>
1 parent 955eb36 commit 9655bd4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

modules/showheroes-bsBidAdapter.js

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ export const spec = {
6363

6464
return {
6565
type: streamType,
66+
adUnitCode: bid.adUnitCode,
6667
bidId: bid.bidId,
6768
mediaType: type,
6869
context: context,
@@ -159,6 +160,7 @@ function createBids(bidRes, reqData) {
159160
let bidUnit = {};
160161
bidUnit.cpm = bid.cpm;
161162
bidUnit.requestId = bid.bidId;
163+
bidUnit.adUnitCode = reqBid.adUnitCode;
162164
bidUnit.currency = bid.currency;
163165
bidUnit.mediaType = bid.mediaType || VIDEO;
164166
bidUnit.ttl = TTL;
@@ -183,7 +185,8 @@ function createBids(bidRes, reqData) {
183185
} else if (bid.context === 'outstream') {
184186
const renderer = Renderer.install({
185187
id: bid.bidId,
186-
url: '//',
188+
url: 'https://static.showheroes.com/renderer.js',
189+
adUnitCode: reqBid.adUnitCode,
187190
config: {
188191
playerId: reqBid.playerId,
189192
width: bid.size.width,

0 commit comments

Comments
 (0)