Skip to content

Latest commit

 

History

History
73 lines (68 loc) · 1.95 KB

dianomiBidAdapter.md

File metadata and controls

73 lines (68 loc) · 1.95 KB

Overview

Module Name: Dianomi Bidder Adapter
Module Type: Bidder Adapter
Maintainer: [email protected]

Description

Module that connects to Dianomi's demand sources. Both Native and Banner formats supported. Using oRTB standard.

Test Parameters

    var adUnits = [
        {
            code: 'test-div-1',
            mediaTypes: {
                native: {
                    rendererUrl: "https://dev.dianomi.com/chris/prebid/dianomiRenderer.js",
                    image: {
                        required: true,
                        sizes: [360, 360]
                    },
                    title: {
                        required: true,
                        len: 800
                    },
                    sponsoredBy: {
                        required: true
                    },
                    clickUrl: {
                        required: true
                    },
                    privacyLink: {
                        required: false
                    },
                    body: {
                        required: false
                    },
                    icon: {
                        required: false,
                        sizes: [75, 75]
                    },
                }
            },
            bids: [
                {
                    bidder: "dianomi",
                    params: {
                        smartadId: 12345   // required, provided by Account Manager
                    }
                }
            ]
        },{
            code: 'test-div-2',
            mediaTypes: {
                banner: {
                    sizes: [750, 650],   // a below-article size
                }
            },
            bids: [
                {
                    bidder: "dianomi",
                    params: {
                        smartadId: 23456,  // required provided by Account Manager
                    }
                }
            ]
        }
    ];