Skip to content

Latest commit

 

History

History
75 lines (70 loc) · 1.52 KB

adgenerationBidAdapter.md

File metadata and controls

75 lines (70 loc) · 1.52 KB

Overview

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

Description

Connects to AdGeneration exchange for bids.

AdGeneration bid adapter supports Banner and Native.

Test Parameters

var adUnits = [
    // Banner adUnit
    {
        code: 'banner-div', // banner
        mediaTypes: {
            banner: {
                sizes: [[300, 250]],
            }
        },
        bids: [
            {
                bidder: 'adg',
                params: {
                    id: '58278', // banner
                }
            },
        ]
    },
    // Native adUnit
    {
        code: 'native-div',
        sizes: [[1,1]],
        mediaTypes: {
            native: {
                image: {
                    required: true
                },
                title: {
                    required: true,
                    len: 80
                },
                sponsoredBy: {
                    required: true
                },
                clickUrl: {
                    required: true
                },
                body: {
                    required: true
                },
                icon: {
                    required: true
                },
                privacyLink: {
                    required: true
                },
            },
        },
        bids: [
            {
                bidder: 'adg',
                params: {
                    id: '58279', //native
                }
            },
        ]
   },
];