Skip to content

Latest commit

 

History

History
129 lines (116 loc) · 2.6 KB

aniview.md

File metadata and controls

129 lines (116 loc) · 2.6 KB
layout title description pbjs biddercode media_types gpp_sids ortb_blocking_supported multiformat_supported tcfeu_supported floors_supported usp_supported schain_supported safeframes_ok gvl_id sidebarType userIds
bidder
Aniview
Prebid Aniview Bidder Adapter
true
aniview
banner, video
tcfeu, tcfca, usnat, usstate_all, usp
true
will-bid-on-any
true
true
true
true
true
780
1
all

Note

For more information about Aniview Ad Server, please contact info@aniview.com.

Bid Params

{: .table .table-bordered .table-striped }

Name Scope Description Example Type
AV_PUBLISHERID required Publisher/Network ID 'Get from Aniview' string
AV_CHANNELID required Channel ID 'Get from Aniview' string

Setup for Video

const adUnit = [{
  code: 'videoAdUnit',
  mediaTypes: {
    video: {
      // Required
      playerSize: [[640, 480]],
      context: 'outstream',
      mimes: ['video/mp4', 'video/mpeg', 'application/javascript'],
      
      // Optional
      playbackmethod: [1, 2],
      protocols: [1, 2, 3, 5, 6, 7, 8],
      api: [1, 2],
      maxduration: 60,
      plcmt: 4,
    },
  },
  bids: [{
    bidder: 'aniview',
    params: {
      // Required
      AV_PUBLISHERID: 'Get from Aniview',
      AV_CHANNELID: 'Get from Aniview',
    },
  }],
}];

Setup for Banner

const adUnit = [{
  code: 'bannerAdUnit',
  mediaTypes: {
    banner: {
      // Required
      sizes: [[300, 250], [300, 600]],
    },
  },
  bids: [{
    bidder: 'aniview',
    params: {
      // Required
      AV_PUBLISHERID: 'Get from Aniview',
      AV_CHANNELID: 'Get from Aniview',
    },
  }],
}];

Setup for Multi-format (Banner & Video)

const adUnit = [{
  code: 'multiformatAdUnit',
  mediaTypes: {
    banner: {
      // Required
      sizes: [[300, 250], [300, 600]],
    },
    video: {
      // Required
      playerSize: [[640, 480]],
      context: 'outstream', 
      mimes: ['video/mp4', 'video/mpeg', 'application/javascript'],
    },
  },
  bids: [{
    bidder: 'aniview',
    params: {
      // Required
      AV_PUBLISHERID: 'Get from Aniview',
      AV_CHANNELID: 'Get from Aniview',
    },
  }],
}];

Bidder specific configs

pbjs.setBidderConfig({
  bidders: ['aniview'],
  config: {
    ortb2: {
      ext: {
        aniview: {
          // Additional data to send to the Ad Server
        },
      },
    },
  },
}, true);