From b9042c3c56dfdfe77f877c53533e76592ef41f0e Mon Sep 17 00:00:00 2001 From: Filip Witkowski Date: Mon, 10 May 2021 15:18:15 +0200 Subject: [PATCH] includes fix --- modules/rtbhouseBidAdapter.js | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/modules/rtbhouseBidAdapter.js b/modules/rtbhouseBidAdapter.js index 88e92d8a90d..e516a6423ff 100644 --- a/modules/rtbhouseBidAdapter.js +++ b/modules/rtbhouseBidAdapter.js @@ -111,7 +111,7 @@ function applyFloor(slot) { const floors = []; if (typeof slot.getFloor === 'function') { Object.keys(slot.mediaTypes).forEach(type => { - if (SUPPORTED_MEDIA_TYPES.includes(type)) { + if (includes(SUPPORTED_MEDIA_TYPES, type)) { floors.push(slot.getFloor({ currency: DEFAULT_CURRENCY_ARR[0], mediaType: type, size: slot.sizes || '*' }).floor); } }); @@ -331,9 +331,6 @@ function interpretBannerBid(serverBid) { width: serverBid.w, height: serverBid.h, ttl: TTL, - meta: { - advertiserDomains: serverBid.adomain - }, netRevenue: true, currency: 'USD' } @@ -352,9 +349,6 @@ function interpretNativeBid(serverBid) { width: 1, height: 1, ttl: TTL, - meta: { - advertiserDomains: serverBid.adomain - }, netRevenue: true, currency: 'USD', native: interpretNativeAd(serverBid.adm),