Skip to content

Commit

Permalink
Bright Mountain Media Bid Adapter: change bidder code to bmtm; alias …
Browse files Browse the repository at this point in the history
…old name (#6574)
  • Loading branch information
BrightMountainMediaInc committed Apr 13, 2021
1 parent 37de88e commit e397325
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion modules/brightMountainMediaBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,12 @@ 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 = {
code: BIDDER_CODE,
aliases: ['brightmountainmedia'],
supportedMediaTypes: [BANNER, VIDEO, NATIVE],

isBidRequestValid: (bid) => {
Expand Down
2 changes: 1 addition & 1 deletion modules/brightMountainMediaBidAdapter.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Bright Mountain Media bid adapter currently supports Banner.
},
bids: [
{
bidder: 'brightmountainmedia',
bidder: 'bmtm',
params: {
placement_id: '5f21784949be82079d08c',
traffic: 'banner'
Expand Down
4 changes: 2 additions & 2 deletions test/spec/modules/brightMountainMediaBidAdapter_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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,
Expand Down

0 comments on commit e397325

Please sign in to comment.