Skip to content

Latest commit

 

History

History
119 lines (111 loc) · 3.14 KB

beachfrontBidAdapter.md

File metadata and controls

119 lines (111 loc) · 3.14 KB

Overview

Module Name: Beachfront Bid Adapter

Module Type: Bidder Adapter

Maintainer: [email protected]

Description

Module that connects to Beachfront's demand sources

Test Parameters

    var adUnits = [
        {
            code: 'test-video',
            mediaTypes: {
                video: {
                    context: 'instream',
                    playerSize: [640, 360],
                    mimes: ['video/mp4', 'application/javascript']
                }
            },
            bids: [
                {
                    bidder: 'beachfront',
                    params: {
                        bidfloor: 0.01,
                        appId: '11bc5dd5-7421-4dd8-c926-40fa653bec76'
                    }
                }
            ]
        }, {
            code: 'test-banner',
            mediaTypes: {
                banner: {
                    sizes: [300, 250]
                }
            },
            bids: [
                {
                    bidder: 'beachfront',
                    params: {
                        bidfloor: 0.01,
                        appId: '3b16770b-17af-4d22-daff-9606bdf2c9c3'
                    }
                }
            ]
        }
    ];

Multi-Format Ad Unit Example

    var adUnits = [
        {
            code: 'test-video-banner',
            mediaTypes: {
                video: {
                    context: 'outstream',
                    playerSize: [640, 360],
                    mimes: ['video/mp4', 'application/javascript']
                },
                banner: {
                    sizes: [300, 250]
                }
            },
            bids: [
                {
                    bidder: 'beachfront',
                    params: {
                        video: {
                            bidfloor: 0.01,
                            appId: '11bc5dd5-7421-4dd8-c926-40fa653bec76',
                        },
                        banner: {
                            bidfloor: 0.01,
                            appId: '3b16770b-17af-4d22-daff-9606bdf2c9c3'
                        }
                    }
                }
            ]
        }
    ];

Outstream Player Params Example

    var adUnits = [
        {
            code: 'test-video-outstream',
            mediaTypes: {
                video: {
                    context: 'outstream',
                    playerSize: [ 640, 360 ],
                    mimes: ['video/mp4', 'application/javascript']
                }
            },
            bids: [
                {
                    bidder: 'beachfront',
                    params: {
                        video: {
                            bidfloor: 0.01,
                            appId: '11bc5dd5-7421-4dd8-c926-40fa653bec76'
                        },
                        player: {
                            progressColor: '#50A8FA',
                            adPosterColor: '#FFF',
                            expandInView: false,
                            collapseOnComplete: true
                        }
                    }
                }
            ]
        }
    ];