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

Admixer Bid Adapter : add smn alias #9290

Merged
merged 2 commits into from
Nov 28, 2022
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
2 changes: 1 addition & 1 deletion modules/admixerBidAdapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {BANNER, VIDEO, NATIVE} from '../src/mediaTypes.js';
import { convertOrtbRequestToProprietaryNative } from '../src/native.js';

const BIDDER_CODE = 'admixer';
const ALIASES = ['go2net', 'adblender', 'adsyield', 'futureads'];
const ALIASES = ['go2net', 'adblender', 'adsyield', 'futureads', 'smn'];
const ENDPOINT_URL = 'https://inv-nets.admixer.net/prebid.1.2.aspx';
export const spec = {
code: BIDDER_CODE,
Expand Down
52 changes: 52 additions & 0 deletions modules/smnBidAdapter.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
# Overview

Module Name: SMN Bidder Adapter
Module Type: Bidder Adapter
Maintainer: [email protected]

# Description

Connects to SMN demand source to fetch bids.
Banner and Video formats are supported.
Please use ```smn``` as the bidder code.

# Test Parameters
```
var adUnits = [
{
code: 'desktop-banner-ad-div',
sizes: [[300, 250]], // a display size
bids: [
{
bidder: "smn",
params: {
zone: '2eb6bd58-865c-47ce-af7f-a918108c3fd2'
}
}
]
},{
code: 'mobile-banner-ad-div',
sizes: [[300, 50]], // a mobile size
bids: [
{
bidder: "smn",
params: {
zone: '62211486-c50b-4356-9f0f-411778d31fcc'
}
}
]
},{
code: 'video-ad',
sizes: [[300, 50]],
mediaType: 'video',
bids: [
{
bidder: "smn",
params: {
zone: 'ebeb1e79-8cb4-4473-b2d0-2e24b7ff47fd'
}
}
]
},
];
```