From ea90c91230fd1a95ad3f6aaad06051edc70b24a6 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Thu, 11 Feb 2021 19:07:18 -0500 Subject: [PATCH 1/3] Update tripleliftBidAdapter.js --- modules/tripleliftBidAdapter.js | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/modules/tripleliftBidAdapter.js b/modules/tripleliftBidAdapter.js index f97165f3d1c..beb2a78a551 100644 --- a/modules/tripleliftBidAdapter.js +++ b/modules/tripleliftBidAdapter.js @@ -322,6 +322,14 @@ function _buildResponseObject(bidderRequest, bid) { if (bid.adomain && bid.adomain.length) { bidResponse.meta.advertiserDomains = bid.adomain; } + + if (bid.tl_source && bid.tl_source == 'hdx') { + bidResponse.meta.mediaType = 'banner' + } + + if (bid.tl_source && bid.tl_source == 'tlx') { + bidResponse.meta.mediaType = 'native' + } }; return bidResponse; } From 554a9b98592bd6449bd86b41e17bc10046ee940b Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Thu, 11 Feb 2021 19:08:48 -0500 Subject: [PATCH 2/3] Update tripleliftBidAdapter.js --- modules/tripleliftBidAdapter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tripleliftBidAdapter.js b/modules/tripleliftBidAdapter.js index beb2a78a551..abf84aea509 100644 --- a/modules/tripleliftBidAdapter.js +++ b/modules/tripleliftBidAdapter.js @@ -324,11 +324,11 @@ function _buildResponseObject(bidderRequest, bid) { } if (bid.tl_source && bid.tl_source == 'hdx') { - bidResponse.meta.mediaType = 'banner' + bidResponse.meta.mediaType = 'banner'; } if (bid.tl_source && bid.tl_source == 'tlx') { - bidResponse.meta.mediaType = 'native' + bidResponse.meta.mediaType = 'native'; } }; return bidResponse; From f328831f5e4758cc6c946a47a2bd2fcf9d356b21 Mon Sep 17 00:00:00 2001 From: Patrick McCann Date: Thu, 11 Feb 2021 19:15:20 -0500 Subject: [PATCH 3/3] Update tripleliftBidAdapter.js --- modules/tripleliftBidAdapter.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/tripleliftBidAdapter.js b/modules/tripleliftBidAdapter.js index abf84aea509..029cdd68331 100644 --- a/modules/tripleliftBidAdapter.js +++ b/modules/tripleliftBidAdapter.js @@ -322,11 +322,11 @@ function _buildResponseObject(bidderRequest, bid) { if (bid.adomain && bid.adomain.length) { bidResponse.meta.advertiserDomains = bid.adomain; } - + if (bid.tl_source && bid.tl_source == 'hdx') { bidResponse.meta.mediaType = 'banner'; } - + if (bid.tl_source && bid.tl_source == 'tlx') { bidResponse.meta.mediaType = 'native'; }