Skip to content

Latest commit

 

History

History
56 lines (45 loc) · 1.19 KB

brainxBidAdapter.md

File metadata and controls

56 lines (45 loc) · 1.19 KB

brianx Bidder Adapter

Overview

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

Description

Module that connects to brianx's demand sources

Bid Parameters

Name Scope Type Description Example
pubId required String The Pub Id provided by Brainx Ads. F7B53DBC-85C1-4685-9A06-9CF4B6261FA3
endpoint optional String The endpoint provided by Brainx Url. https://dsp.brainx.tech/bid

Example

Banner Ads

var adUnits = [{
  code: 'banner-ad-div',
  mediaTypes: {
    banner: {
      sizes: [
            [320, 250],
            [320, 480]
        ]
    }
  },
  bids: [{
    bidder: 'brianx',
    params: {
      pubId: 'F7B53DBC-85C1-4685-9A06-9CF4B6261FA3',
      endpoint: 'https://dsp.brainx.tech/bid'
    }
  }]
}];
  • For video ads, enable prebid cache.
pbjs.setConfig({
    ortb2: {
        ortbVersion: '2.5'
    },
    debug: false // or true
});