From c51d130423a10949aa39a5589b6dca7317aa71b6 Mon Sep 17 00:00:00 2001 From: brightmountainmediainc Date: Mon, 14 Sep 2020 15:46:55 +0530 Subject: [PATCH 1/3] Update BrightMountainMedia cookie sync URL --- modules/brightMountainMediaBidAdapter.js | 2 +- test/spec/modules/brightMountainMediaBidAdapter_spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/brightMountainMediaBidAdapter.js b/modules/brightMountainMediaBidAdapter.js index 5a285be71c0..aa1076e798a 100644 --- a/modules/brightMountainMediaBidAdapter.js +++ b/modules/brightMountainMediaBidAdapter.js @@ -79,7 +79,7 @@ export const spec = { if (syncOptions.iframeEnabled) { return [{ type: 'iframe', - url: 'https://console.brightmountainmedia.com:4444/cookieSync' + url: 'https://console.brightmountainmedia.com:8443/cookieSync' }]; } }, diff --git a/test/spec/modules/brightMountainMediaBidAdapter_spec.js b/test/spec/modules/brightMountainMediaBidAdapter_spec.js index 3b7e46e55a7..f6312253722 100644 --- a/test/spec/modules/brightMountainMediaBidAdapter_spec.js +++ b/test/spec/modules/brightMountainMediaBidAdapter_spec.js @@ -133,7 +133,7 @@ describe('brightMountainMediaBidAdapter_spec', function () { expect(spec.getUserSyncs(syncoptionsIframe)[0].type).to.exist; expect(spec.getUserSyncs(syncoptionsIframe)[0].url).to.exist; expect(spec.getUserSyncs(syncoptionsIframe)[0].type).to.equal('iframe') - expect(spec.getUserSyncs(syncoptionsIframe)[0].url).to.equal('https://console.brightmountainmedia.com:4444/cookieSync') + expect(spec.getUserSyncs(syncoptionsIframe)[0].url).to.equal('https://console.brightmountainmedia.com:8443/cookieSync') }); }); }); From 0bc17ffefa8e24a6d5d33391c20abb44220e0c34 Mon Sep 17 00:00:00 2001 From: BrightMountainMediaInc Date: Mon, 12 Apr 2021 18:02:54 +0530 Subject: [PATCH 2/3] Bright Mountain Media: Update bidder code --- modules/brightMountainMediaBidAdapter.js | 2 +- modules/brightMountainMediaBidAdapter.md | 2 +- test/spec/modules/brightMountainMediaBidAdapter_spec.js | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/brightMountainMediaBidAdapter.js b/modules/brightMountainMediaBidAdapter.js index aa1076e798a..22944e3b556 100644 --- a/modules/brightMountainMediaBidAdapter.js +++ b/modules/brightMountainMediaBidAdapter.js @@ -2,7 +2,7 @@ import { registerBidder } from '../src/adapters/bidderFactory.js'; import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js'; import * as utils from '../src/utils.js'; -const BIDDER_CODE = 'brightmountainmedia'; +const BIDDER_CODE = 'bmtm'; const AD_URL = 'https://console.brightmountainmedia.com/hb/bid'; export const spec = { diff --git a/modules/brightMountainMediaBidAdapter.md b/modules/brightMountainMediaBidAdapter.md index a9900b5264d..8dba3a4e6e5 100644 --- a/modules/brightMountainMediaBidAdapter.md +++ b/modules/brightMountainMediaBidAdapter.md @@ -23,7 +23,7 @@ Bright Mountain Media bid adapter currently supports Banner. }, bids: [ { - bidder: 'brightmountainmedia', + bidder: 'bmtm', params: { placement_id: '5f21784949be82079d08c', traffic: 'banner' diff --git a/test/spec/modules/brightMountainMediaBidAdapter_spec.js b/test/spec/modules/brightMountainMediaBidAdapter_spec.js index f6312253722..7511b5bf239 100644 --- a/test/spec/modules/brightMountainMediaBidAdapter_spec.js +++ b/test/spec/modules/brightMountainMediaBidAdapter_spec.js @@ -4,7 +4,7 @@ import { spec } from '../../../modules/brightMountainMediaBidAdapter.js'; describe('brightMountainMediaBidAdapter_spec', function () { let bid = { bidId: '2dd581a2b6281d', - bidder: 'brightmountainmedia', + bidder: 'bmtm', bidderRequestId: '145e1d6a7837c9', params: { placement_id: '123qwerty' @@ -19,7 +19,7 @@ describe('brightMountainMediaBidAdapter_spec', function () { transactionId: '3bb2f6da-87a6-4029-aeb0-bfe951372e62', }; let bidderRequest = { - bidderCode: 'brightmountainmedia', + bidderCode: 'bmtm', auctionId: 'fffffff-ffff-ffff-ffff-ffffffffffff', bidderRequestId: 'ffffffffffffff', start: 1472239426002, From 82136def60247d735a22043ea5bac22028808b6e Mon Sep 17 00:00:00 2001 From: BrightMountainMediaInc Date: Tue, 13 Apr 2021 16:49:14 +0530 Subject: [PATCH 3/3] Bright Mountain Media: Add brightmountainmedia as alias --- modules/brightMountainMediaBidAdapter.js | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/brightMountainMediaBidAdapter.js b/modules/brightMountainMediaBidAdapter.js index 22944e3b556..6434d8b2b81 100644 --- a/modules/brightMountainMediaBidAdapter.js +++ b/modules/brightMountainMediaBidAdapter.js @@ -7,6 +7,7 @@ const AD_URL = 'https://console.brightmountainmedia.com/hb/bid'; export const spec = { code: BIDDER_CODE, + aliases: ['brightmountainmedia'], supportedMediaTypes: [BANNER, VIDEO, NATIVE], isBidRequestValid: (bid) => {