Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bright Mountain Media Bid Adapter: change bidder code to bmtm #6574

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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