Skip to content

Latest commit

 

History

History
93 lines (83 loc) · 1.82 KB

a1MediaBidAdapter.md

File metadata and controls

93 lines (83 loc) · 1.82 KB

Overview

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

Description

Connects to A1Media exchange for bids.

Test Parameters

Sample Banner Ad Unit

var adUnits = [
    {
        code: 'test-div',
        mediaTypes: {
            banner: {
                sizes: [[320, 100]],
            }
        },
        bids: [
            {
                bidder: "a1media",
                params: {
                    bidfloor: 0.9,      //optional
                    currency: 'JPY'     //optional
                    battr: [ 13 ],      //optional
                    bcat: ['IAB1-1']    //optional
                }
            }
        ]
    }
]

Sample Video Ad Unit

var adUnits = [
    {
        code: 'test-div',
        mediaTypes: {
            video: {
                mimes: ['video/mp4'],
            }
        },
        bids: [
            {
                bidder: "a1media",
                params: {
                    bidfloor: 0.9,      //optional
                    currency: 'JPY'     //optional
                    battr: [ 13 ],      //optional
                    bcat: ['IAB1-1']    //optional
                }
            }
        ]
    }
]

Sample Native Ad Unit

var adUnits = [
    {
        code: 'test-div',
        mediaTypes: {
            native: {
                title: {
                    len: 140
                },
            }
        },
        bids: [
            {
                bidder: "a1media",
                params: {
                    bidfloor: 0.9,      //optional
                    currency: 'JPY'     //optional
                    battr: [ 13 ],      //optional
                    bcat: ['IAB1-1']    //optional
                }
            }
        ]
    }
]