diff --git a/modules/admixerBidAdapter.js b/modules/admixerBidAdapter.js index c5a26d47f89..ee224dc6a5c 100644 --- a/modules/admixerBidAdapter.js +++ b/modules/admixerBidAdapter.js @@ -2,10 +2,11 @@ import * as utils from '../src/utils'; import {registerBidder} from '../src/adapters/bidderFactory'; const BIDDER_CODE = 'admixer'; +const ALIASES = ['go2net']; const ENDPOINT_URL = '//inv-nets.admixer.net/prebid.1.0.aspx'; export const spec = { code: BIDDER_CODE, - aliases: [], + aliases: ALIASES, supportedMediaTypes: ['banner', 'video'], /** * Determines whether or not the given bid request is valid. @@ -28,7 +29,7 @@ export const spec = { referrer: encodeURIComponent(utils.getTopWindowUrl()), }; bidderRequest.forEach((bid) => { - if (bid.bidder === BIDDER_CODE) { + if (bid.bidder === BIDDER_CODE || ALIASES.indexOf(bid.bidder) > -1) { payload.imps.push(bid); } }); diff --git a/modules/go2net.md b/modules/go2net.md new file mode 100644 index 00000000000..acea57b1c55 --- /dev/null +++ b/modules/go2net.md @@ -0,0 +1,29 @@ +# Overview + +Module Name: Go2Net Bidder Adapter +Module Type: Bidder Adapter +Maintainer: vprytuzhalova@go2net.com.ua + +# Description + +Connects to Go2Net demand source to fetch bids. +Banner and Video formats are supported. +Please use ```go2net``` as the bidder code. + +# Ad Unit Example +``` + var adUnits = [ + { + code: 'desktop-banner-ad-div', + sizes: [[300, 250]], // a display size + bids: [ + { + bidder: "go2net", + params: { + zone: 'fb3d34d0-7a88-4a4a-a5c9-8088cd7845f4' + } + } + ] + } + ]; +```