Skip to content

Latest commit

 

History

History
97 lines (89 loc) · 2.29 KB

smartadserverBidAdapter.md

File metadata and controls

97 lines (89 loc) · 2.29 KB

Overview

Module Name: Smart Ad Server Bidder Adapter
Module Type: Bidder Adapter
Maintainer: support@smartadserver.com

Description

Connect to Smart for bids.

The Smart adapter requires setup and approval from the Smart team. Please reach out to your Technical account manager for more information.

Test Parameters

Web

    var adUnits = [
        {
            code: 'test-div',
            mediaTypes: {
                banner: {
                    sizes: [[300, 250]]
                }
            },
            bids: [
                {
                    bidder: "smart",
                    params: {
                        domain: 'https://ww251.smartadserver.com',
                        siteId: 207435,
                        pageId: 896536,
                        formatId: 62913,
                        ckId: 1122334455 // optional
                    }
                }
            ]
        }
    ];

In-app

    var adUnits = [
        {
            code: 'test-div',
            mediaTypes: {
                banner: {
                    sizes: [[300, 250]]
                }
            },
            bids: [
                {
                    bidder: "smart",
                    params: {
                        domain: 'https://ww251.smartadserver.com',
                        siteId: 207435,
                        pageId: 896536,
                        formatId: 65906,
                        buId: "com.smartadserver.android.dashboard", // in-app only
                        appName: "Smart AdServer Preview", // in-app only
                        ckId: 1122334455 // optional
                    }
                }
            ]
        }
    ];

Instream Video

    var videoAdUnit = {
        code: 'test-div',
        mediaTypes: {
            video: {
                context: 'instream',
                playerSize: [640, 480]
            }
        },
        bids: [{
            bidder: "smart",
            params: {
                domain: 'https://ww251.smartadserver.com',
                siteId: 326147,
                pageId: 1153895,
                formatId: 55710
                bidfloor: 5,
                video: {
                    protocol: 6,
                    startDelay: 1
                }
            }
        }]
    };