Skip to content

AndBeyond.Media adapter: update bidder code #9005

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

Merged
merged 9 commits into from
Oct 6, 2022
Merged
Show file tree
Hide file tree
Changes from 8 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
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { registerBidder } from '../src/adapters/bidderFactory.js';
import { BANNER, NATIVE, VIDEO } from '../src/mediaTypes.js';
import { config } from '../src/config.js';

const BIDDER_CODE = 'beyondmedia';
const BIDDER_CODE = 'andbeyondmedia';
const AD_URL = 'https://backend.andbeyond.media/pbjs';
const SYNC_URL = 'https://cookies.andbeyond.media';

Expand Down Expand Up @@ -89,6 +89,7 @@ function getBidFloor(bid) {
export const spec = {
code: BIDDER_CODE,
supportedMediaTypes: [BANNER, VIDEO, NATIVE],
aliases: ['beyondmedia'],

isBidRequestValid: (bid = {}) => {
const { params, bidId, mediaTypes } = bid;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ AndBeyond.Media bid adapter supports Banner, Video (instream and outstream) and
},
bids: [
{
bidder: 'beyondmedia',
bidder: 'andbeyondmedia',
params: {
placementId: 'testBanner',
}
Expand All @@ -43,7 +43,7 @@ AndBeyond.Media bid adapter supports Banner, Video (instream and outstream) and
},
bids: [
{
bidder: 'beyondmedia',
bidder: 'andbeyondmedia',
params: {
placementId: 'testVideo',
}
Expand All @@ -68,12 +68,12 @@ AndBeyond.Media bid adapter supports Banner, Video (instream and outstream) and
},
bids: [
{
bidder: 'beyondmedia',
bidder: 'andbeyondmedia',
params: {
placementId: 'testNative',
}
}
]
}
];
```
```
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { spec } from '../../../modules/andBeyondMediaBidAdapter.js';
import { BANNER, VIDEO, NATIVE } from '../../../src/mediaTypes.js';
import { getUniqueIdentifierStr } from '../../../src/utils.js';

const bidder = 'beyondmedia'
const bidder = 'andbeyondmedia'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please see the circleci failures


describe('AndBeyondMediaBidAdapter', function () {
const bids = [
Expand Down