Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MathildeAds Bid Adapter: add new bid adapter #7224

Merged
merged 3 commits into from
Aug 2, 2021

Conversation

mathilde-ads
Copy link
Contributor

Type of change

  • New bidder adapter

Description of change

MathildeAds bidder adapter

  • test parameters for validating bids
var adUnits = [
    // Will return static test banner
    {
        code: 'adunit1',
        mediaTypes: {
            banner: {
                sizes: [ [300, 250], [320, 50] ],
            }
        },
        bids: [
            {
                bidder: 'mathildeads',
                params: {
                    placementId: 'testBanner',
                }
            }
        ]
    },
    {
        code: 'addunit2',
        mediaTypes: {
            video: {
                playerSize: [ [640, 480] ],
                context: 'instream',
                minduration: 5,
                maxduration: 60,
            }
        },
        bids: [
            {
                bidder: 'mathildeads',
                params: {
                    placementId: 'testVideo',
                }
            }
        ]
    },
    {
        code: 'addunit3',
        mediaTypes: {
            native: {
                title: {
                    required: true
                },
                body: {
                    required: true
                },
                icon: {
                    required: true,
                    size: [64, 64]
                }
            }
        },
        bids: [
            {
                bidder: 'mathildeads',
                params: {
                    placementId: 'testNative',
                }
            }
        ]
    }
];

Mykhailo Yaremchuk and others added 3 commits July 26, 2021 21:12
@ChrisHuie ChrisHuie self-requested a review July 27, 2021 20:03
@ChrisHuie ChrisHuie self-assigned this Jul 27, 2021
@ChrisHuie ChrisHuie merged commit 89abb6f into prebid:master Aug 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants