From a4eb8c3b423d1ce9f2b19a7ca199df312541dcbe Mon Sep 17 00:00:00 2001 From: moroz Date: Fri, 12 Feb 2021 13:50:40 +0200 Subject: [PATCH 1/2] Navelix bidder --- modules/adtelligentBidAdapter.js | 16 +++++----------- test/spec/modules/adtelligentBidAdapter_spec.js | 3 ++- 2 files changed, 7 insertions(+), 12 deletions(-) diff --git a/modules/adtelligentBidAdapter.js b/modules/adtelligentBidAdapter.js index 0964de397d1..a81b85e20d3 100644 --- a/modules/adtelligentBidAdapter.js +++ b/modules/adtelligentBidAdapter.js @@ -15,16 +15,10 @@ const HOST_GETTERS = { return 'ghb' + subdomainSuffixes[num++ % subdomainSuffixes.length] + '.adtelligent.com'; } }()), - appaloosa: function () { - return 'ghb.hb.appaloosa.media'; - }, - onefiftytwomedia: function () { - return 'ghb.ads.152media.com'; - }, - mediafuse: function () { - return 'ghb.hbmp.mediafuse.com'; - } - + navelix: () => 'ghb.hb.navelix.com', + appaloosa: () => 'ghb.hb.appaloosa.media', + onefiftytwomedia: () => 'ghb.ads.152media.com', + mediafuse: () => 'ghb.hbmp.mediafuse.com', } const getUri = function (bidderCode) { let bidderWithoutSuffix = bidderCode.split('_')[0]; @@ -40,7 +34,7 @@ const syncsCache = {}; export const spec = { code: BIDDER_CODE, gvlid: 410, - aliases: ['onefiftytwomedia', 'selectmedia', 'appaloosa', + aliases: ['onefiftytwomedia', 'selectmedia', 'appaloosa', 'navelix', { code: 'mediafuse', skipPbsAliasing: true diff --git a/test/spec/modules/adtelligentBidAdapter_spec.js b/test/spec/modules/adtelligentBidAdapter_spec.js index 7a0d704d7c2..67372216e96 100644 --- a/test/spec/modules/adtelligentBidAdapter_spec.js +++ b/test/spec/modules/adtelligentBidAdapter_spec.js @@ -14,7 +14,8 @@ const aliasEP = { appaloosa: 'https://ghb.hb.appaloosa.media/v2/auction/', appaloosa_publisherSuffix: 'https://ghb.hb.appaloosa.media/v2/auction/', onefiftytwomedia: 'https://ghb.ads.152media.com/v2/auction/', - mediafuse: 'https://ghb.hbmp.mediafuse.com/v2/auction/' + mediafuse: 'https://ghb.hbmp.mediafuse.com/v2/auction/', + navelix: 'https://ghb.hb.navelix.com/v2/auction/', }; const DEFAULT_ADATPER_REQ = { bidderCode: 'adtelligent' }; From db8f56d3f3b0a4f8c9ed92ee2755e75c569b857d Mon Sep 17 00:00:00 2001 From: moroz Date: Fri, 12 Feb 2021 14:23:37 +0200 Subject: [PATCH 2/2] gvlID --- modules/adtelligentBidAdapter.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/adtelligentBidAdapter.js b/modules/adtelligentBidAdapter.js index a81b85e20d3..669feeedb04 100644 --- a/modules/adtelligentBidAdapter.js +++ b/modules/adtelligentBidAdapter.js @@ -34,7 +34,8 @@ const syncsCache = {}; export const spec = { code: BIDDER_CODE, gvlid: 410, - aliases: ['onefiftytwomedia', 'selectmedia', 'appaloosa', 'navelix', + aliases: ['onefiftytwomedia', 'selectmedia', 'appaloosa', + { code: 'navelix', gvlid: 380 }, { code: 'mediafuse', skipPbsAliasing: true