Skip to content

Commit

Permalink
Add OCM alias (prebid#8814)
Browse files Browse the repository at this point in the history
  • Loading branch information
GeneGenie authored and JacobKlein26 committed Feb 8, 2023
1 parent 7ad9e56 commit 415c313
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion modules/adtelligentBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const HOST_GETTERS = {
streamkey: () => 'ghb.hb.streamkey.net',
janet: () => 'ghb.bidder.jmgads.com',
pgam: () => 'ghb.pgamssp.com',
ocm: () => 'ghb.cenarius.orangeclickmedia.com',
}
const getUri = function (bidderCode) {
let bidderWithoutSuffix = bidderCode.split('_')[0];
Expand All @@ -40,7 +41,8 @@ export const spec = {
aliases: ['onefiftytwomedia', 'appaloosa', 'bidsxchange', 'streamkey', 'janet',
{ code: 'selectmedia', gvlid: 775 },
{ code: 'navelix', gvlid: 380 },
'pgam'
'pgam',
'ocm',
],
supportedMediaTypes: [VIDEO, BANNER],
isBidRequestValid: function (bid) {
Expand Down
1 change: 1 addition & 0 deletions test/spec/modules/adtelligentBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ const aliasEP = {
streamkey: 'https://ghb.hb.streamkey.net/v2/auction/',
janet: 'https://ghb.bidder.jmgads.com/v2/auction/',
pgam: 'https://ghb.pgamssp.com/v2/auction/',
ocm: 'https://ghb.cenarius.orangeclickmedia.com/v2/auction/',
};

const DEFAULT_ADATPER_REQ = { bidderCode: 'adtelligent' };
Expand Down

0 comments on commit 415c313

Please sign in to comment.