Skip to content

Latest commit

 

History

History
70 lines (51 loc) · 1.25 KB

missenaBidAdapter.md

File metadata and controls

70 lines (51 loc) · 1.25 KB

Overview

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

Introduction

Connects to Missena for bids.

Note: this adapter doesn't support SafeFrame.

Useful resources:

Develop

Setup the missena adapter in integrationExamples/gpt/userId_example.html.

For example:

const AD_UNIT_CODE = "test-div";
const PUBLISHER_MISSENA_TOKEN = "PA-34745704";

var adUnits = [
  {
    code: AD_UNIT_CODE,
    mediaTypes: {
      banner: {
        sizes: [1, 1],
      },
    },
    bids: [
      {
        bidder: "missena",
        params: {
          apiKey: PUBLISHER_MISSENA_TOKEN,
        },
      },
    ],
  },
];

Then start the demo app:

gulp serve-fast --modules=missenaBidAdapter

And open http://localhost:9999/integrationExamples/gpt/userId_example.html

Test

gulp test --file test/spec/modules/missenaBidAdapter_spec.js

Add the --watch option to re-run unit tests whenever the source code changes.

Build

gulp build --modules=missenaBidAdapter