Skip to content

Commit

Permalink
add smn alias (#9290)
Browse files Browse the repository at this point in the history
  • Loading branch information
AdmixerTech authored Nov 28, 2022
1 parent e32be90 commit 149d76b
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 1 deletion.
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'
}
}
]
},
];
```

0 comments on commit 149d76b

Please sign in to comment.