Skip to content

Commit b7bc988

Browse files
GeneGeniejorgeluisrocha
authored andcommitted
Add 9 Dots Media alias (prebid#9699)
* Add 9 Dots Media alias * lint * Wrap aliases in quotes in test
1 parent b96d5ea commit b7bc988

File tree

3 files changed

+20
-12
lines changed

3 files changed

+20
-12
lines changed

modules/adtelligentBidAdapter.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ const HOST_GETTERS = {
2424
pgam: () => 'ghb.pgamssp.com',
2525
ocm: () => 'ghb.cenarius.orangeclickmedia.com',
2626
vidcrunchllc: () => 'ghb.platform.vidcrunch.com',
27+
'9dotsmedia': () => 'ghb.platform.audiodots.com'
2728
}
2829
const getUri = function (bidderCode) {
2930
let bidderWithoutSuffix = bidderCode.split('_')[0];
@@ -39,12 +40,18 @@ const syncsCache = {};
3940
export const spec = {
4041
code: BIDDER_CODE,
4142
gvlid: 410,
42-
aliases: ['onefiftytwomedia', 'appaloosa', 'bidsxchange', 'streamkey', 'janet',
43+
aliases: [
44+
'onefiftytwomedia',
45+
'appaloosa',
46+
'bidsxchange',
47+
'streamkey',
48+
'janet',
4349
{ code: 'selectmedia', gvlid: 775 },
4450
{ code: 'navelix', gvlid: 380 },
4551
'pgam',
4652
{ code: 'ocm', gvlid: 1148 },
4753
{ code: 'vidcrunchllc', gvlid: 1145 },
54+
'9dotsmedia'
4855
],
4956
supportedMediaTypes: [VIDEO, BANNER],
5057
isBidRequestValid: function (bid) {

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

test/spec/modules/adtelligentBidAdapter_spec.js

Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,17 @@ const EXPECTED_ENDPOINTS = [
1111
'https://ghb.adtelligent.com/v2/auction/'
1212
];
1313
const aliasEP = {
14-
appaloosa: 'https://ghb.hb.appaloosa.media/v2/auction/',
15-
appaloosa_publisherSuffix: 'https://ghb.hb.appaloosa.media/v2/auction/',
16-
onefiftytwomedia: 'https://ghb.ads.152media.com/v2/auction/',
17-
navelix: 'https://ghb.hb.navelix.com/v2/auction/',
18-
bidsxchange: 'https://ghb.hbd.bidsxchange.com/v2/auction/',
19-
streamkey: 'https://ghb.hb.streamkey.net/v2/auction/',
20-
janet: 'https://ghb.bidder.jmgads.com/v2/auction/',
21-
pgam: 'https://ghb.pgamssp.com/v2/auction/',
22-
ocm: 'https://ghb.cenarius.orangeclickmedia.com/v2/auction/',
23-
vidcrunchllc: 'https://ghb.platform.vidcrunch.com/v2/auction/',
14+
'appaloosa': 'https://ghb.hb.appaloosa.media/v2/auction/',
15+
'appaloosa_publisherSuffix': 'https://ghb.hb.appaloosa.media/v2/auction/',
16+
'onefiftytwomedia': 'https://ghb.ads.152media.com/v2/auction/',
17+
'navelix': 'https://ghb.hb.navelix.com/v2/auction/',
18+
'bidsxchange': 'https://ghb.hbd.bidsxchange.com/v2/auction/',
19+
'streamkey': 'https://ghb.hb.streamkey.net/v2/auction/',
20+
'janet': 'https://ghb.bidder.jmgads.com/v2/auction/',
21+
'pgam': 'https://ghb.pgamssp.com/v2/auction/',
22+
'ocm': 'https://ghb.cenarius.orangeclickmedia.com/v2/auction/',
23+
'vidcrunchllc': 'https://ghb.platform.vidcrunch.com/v2/auction/',
24+
'9dotsmedia': 'https://ghb.platform.audiodots.com/v2/auction/',
2425
};
2526

2627
const DEFAULT_ADATPER_REQ = { bidderCode: 'adtelligent' };

0 commit comments

Comments
 (0)