Skip to content

Commit

Permalink
Adtelligent Bid Adapter: Add Navelix as alias (prebid#6306)
Browse files Browse the repository at this point in the history
* Navelix bidder

* gvlID
  • Loading branch information
GeneGenie authored and stsepelin committed May 28, 2021
1 parent bd49eb1 commit 47ba1d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
15 changes: 5 additions & 10 deletions modules/adtelligentBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand All @@ -41,6 +35,7 @@ export const spec = {
code: BIDDER_CODE,
gvlid: 410,
aliases: ['onefiftytwomedia', 'selectmedia', 'appaloosa',
{ code: 'navelix', gvlid: 380 },
{
code: 'mediafuse',
skipPbsAliasing: true
Expand Down
3 changes: 2 additions & 1 deletion test/spec/modules/adtelligentBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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' };
Expand Down

0 comments on commit 47ba1d8

Please sign in to comment.