Skip to content

Latest commit

 

History

History
106 lines (94 loc) · 1.64 KB

nativoBidAdapter.md

File metadata and controls

106 lines (94 loc) · 1.64 KB

Overview

Module Name: Nativo Bid Adapter
Module Type: Bidder Adapter
Maintainer: [email protected]

Description

Module that connects to Nativo's demand sources

Dev

gulp serve --modules=nativoBidAdapter

Test Parameters

Banner

var adUnits = [
  {
    code: 'div-gpt-ad-1460505748561-0',
    mediaTypes: {
      banner: {
        sizes: [
          [300, 250],
          [300, 600],
        ],
      },
    },
    // Replace this object to test a new Adapter!
    bids: [
      {
        bidder: 'nativo',
        params: {
          url: 'https://test-sites.internal.nativo.net/testing/prebid_adpater.html',
        },
      },
    ],
  },
]

Video

var adUnits = [
  {
    code: 'ntvPlaceholder-1',
    mediaTypes: {
      video: {
        mimes: ['video/mp4'],
        protocols: [2, 3, 5, 6],
        playbackmethod: [1, 2],
        skip: 1,
        skipafter: 5,
      },
    },
    video: {
      divId: 'player',
    },
    bids: [
      {
        bidder: 'nativo',
        params: {
          url: 'https://test-sites.internal.nativo.net/testing/prebid_adpater.html',
        },
      },
    ],
  },
]

Native

var adUnits = [
  {
    code: '/416881364/prebid-native-test-unit',
    sizes: [[300, 250]],
    mediaTypes: {
      native: {
        title: {
          required: true,
        },
        image: {
          required: true,
        },
        sponsoredBy: {
          required: true,
        },
      },
    },
    bids: [
      {
        bidder: 'nativo',
        params: {
          url: 'https://test-sites.internal.nativo.net/testing/prebid_adpater.html',
        },
      },
    ],
  },
]