Skip to content

Latest commit

 

History

History
162 lines (157 loc) · 3.12 KB

gumgumBidAdapter.md

File metadata and controls

162 lines (157 loc) · 3.12 KB

Overview

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

Description

GumGum adapter for Prebid.js Please note that both video and in-video products require a mediaType of video. In-screen, slot, and skins products should have a mediaType of banner.

Test Parameters

var adUnits = [
  {
    code: 'slot-placement',
    sizes: [[300, 250]],
    mediaTypes: {
        banner: {
          sizes: [[300, 250]],
        }
    },
    bids: [
      {
        bidder: 'gumgum',
        params: {
          zone: 'dc9d6be1', // GumGum Zone ID given to the client
          slot: '15901', // GumGum Slot ID given to the client,
          bidfloor: 0.03 // CPM bid floor
        }
      }
    ]
  },{
    code: 'inscreen-placement',
    sizes: [[300, 50]],
    mediaTypes: {
        banner: {
          sizes: [[1, 1]],
        }
    },
    bids: [
      {
        bidder: 'gumgum',
        params: {
          zone: 'dc9d6be1', // GumGum Zone ID given to the client
          bidfloor: 0.03 // CPM bid floor
        }
      }
    ]
  },{
    code: 'skins-placement',
    sizes: [[300, 50]],
    mediaTypes: {
        banner: {
          sizes: [[1, 1]],
        }
    },
    bids: [
      {
        bidder: 'gumgum',
        params: {
          zone: 'dc9d6be1', // GumGum Zone ID given to the client
          product: 'skins',
          bidfloor: 0.03 // CPM bid floor
        }
      }
    ]
  },{
    code: 'video-placement',
    sizes: [[300, 50]],
    mediaTypes: {
      video: {
        context: 'instream',
        playerSize: [640, 480],
        minduration: 1,
        maxduration: 2,
        linearity: 1,
        startdelay: 1,
        placement: 1,
        protocols: [1, 2]
      }
    },
    bids: [
      {
        bidder: 'gumgum',
        params: {
          zone: 'ggumtest', // GumGum Zone ID given to the client
          bidfloor: 0.03 // CPM bid floor
        }
      }
    ]
  }
];

Legacy Test Parameters

var adUnits = [
  {
    code: 'test-div',
    sizes: [[300, 250]],
    mediaTypes: {
        banner: {
          sizes: [[300, 250]],
        }
    },
    bids: [
      {
        bidder: 'gumgum',
        params: {
          inSlot: '15901', // GumGum Slot ID given to the client,
          bidfloor: 0.03 // CPM bid floor
        }
      }
    ]
  },{
    code: 'test-div',
    sizes: [[300, 50]],
    mediaTypes: {
        banner: {
          sizes: [[1, 1]],
        }
    },
    bids: [
      {
        bidder: 'gumgum',
        params: {
          inScreen: 'dc9d6be1', // GumGum Zone ID given to the client
          bidfloor: 0.03 // CPM bid floor
        }
      }
    ]
  },{
    code: 'test-div',
    sizes: [[300, 50]],
    mediaTypes: {
      video: {
        context: 'instream',
        playerSize: [640, 480],
        minduration: 1,
        maxduration: 2,
        linearity: 2,
        startdelay: 1,
        placement: 1,
        protocols: [1, 2]
      }
    }
    bids: [
      {
        bidder: 'gumgum',
        params: {
          inVideo: 'ggumtest', // GumGum Zone ID given to the client
          bidfloor: 0.03 // CPM bid floor
        }
      }
    ]
  }
];