Skip to content

Latest commit

 

History

History
109 lines (104 loc) · 1.81 KB

blastoBidAdapter.md

File metadata and controls

109 lines (104 loc) · 1.81 KB

Overview

Module Name: Blasto SSP Bidder Adapter
Module Type: Bidder Adapter
Maintainer: [email protected]

Description

Module that connects to Blasto SSP demand sources

Test Parameters

const adUnits = [
  {
    code: "placementId",
    mediaTypes: {
      banner: {
        sizes: [
          [300, 250],
          [300, 600],
        ],
      },
    },
    bids: [
      {
        bidder: "blasto",
        params: {
          placementId: "hash",
          accountId: "accountId",
          host: "host",
        },
      },
    ],
  },
  {
    code: "native_example",
    // sizes: [[1, 1]],
    mediaTypes: {
      native: {
        title: {
          required: true,
          len: 800,
        },
        image: {
          required: true,
          len: 80,
        },
        sponsoredBy: {
          required: true,
        },
        clickUrl: {
          required: true,
        },
        privacyLink: {
          required: false,
        },
        body: {
          required: true,
        },
        icon: {
          required: true,
          sizes: [50, 50],
        },
      },
    },
    bids: [
      {
        bidder: "blasto",
        params: {
          placementId: "hash",
          accountId: "accountId",
          host: "host",
        },
      },
    ],
  },
  {
    code: "video1",
    sizes: [640, 480],
    mediaTypes: {
      video: {
        minduration: 0,
        maxduration: 999,
        boxingallowed: 1,
        skip: 0,
        mimes: ["application/javascript", "video/mp4"],
        w: 1920,
        h: 1080,
        protocols: [2],
        linearity: 1,
        api: [1, 2],
      },
    },
    bids: [
      {
        bidder: "blasto",
        params: {
          placementId: "hash",
          accountId: "accountId",
          host: "host",
        },
      },
    ],
  },
];