Back to Bidders

Clean Media Net

Features

Bidder Code cleanmedianet Prebid.org Member no
Prebid.js Adapter yes Prebid Server Adapter yes
Media Types display, video Multi Format Support will-bid-on-one
TCF-EU Support yes IAB GVL ID 644
GPP Support check with bidder DSA Support check with bidder
USP/CCPA Support yes COPPA Support check with bidder
Supply Chain Support yes Demand Chain Support check with bidder
Safeframes OK check with bidder Supports Deals check with bidder
Floors Module Support check with bidder First Party Data Support check with bidder
Endpoint Compression check with bidder ORTB Blocking Support yes
User IDs all Privacy Sandbox check with bidder
Prebid Server App Support check with bidder

Bid params

Name Scope Description Example Type
supplyPartnerId or inventory_id or supply_partner_id required ID of the supply partner. This parameter can be either a string or integer for Prebid.js, however integer is preferred 12345 integer
bidfloor optional Minimum acceptable bid price. Must be a positive number. 0.5 number
instl optional Interstitial flag (1 for interstitial, 0 for non-interstitial). 1 integer
pos optional Ad position on the page. 1 integer
video optional Object containing video targeting parameters. See Video Object for details. video: { playback_method: ['auto_play_sound_off'] } object

This adapter only requires you to provide your Inventory Id (Supply partner id), and optionally your RTB endpoint.

Video Object

For details on how these video params work with the params set in the adUnit.mediaTypes.video object.

Name Description Type
minduration Integer that defines the minimum video ad duration in seconds. integer
maxduration Integer that defines the maximum video ad duration in seconds. integer
protocols Array of integers listing the supported video protocols (VAST versions). Array<integer>
mimes Array of strings listing the supported MIME types for the video creative. Array<string>
pos Ad position on the screen. integer
api Array of integers listing the supported API frameworks. Array<integer>
skip Indicates if the player will allow the video to be skipped (0 = no, 1 = yes). integer
plcmt Video placement type. integer
placement Placement type for the impression. integer
playbackmethod Array of integers listing the playback methods. Array<integer>
startdelay Indicates the offset of the ad placement from the start of the video content. integer
context Content context (e.g., ‘instream’, ‘outstream’). string

Example Ad Unit Configurations

var adUnits = [
    {
        code: 'banner-div',
        mediaTypes: {
            banner: {
                sizes: [[300, 250], [728, 90]]
            }
        },
        bids: [
            {
                bidder: 'cleanmedianet',
                params: {
                    supplyPartnerId: 12345,
                    bidfloor: 0.5,
                    pos: 1
                }
            }
        ]
    }
];

Video Ad Unit (Instream)

var adUnits = [
    {
        code: 'video-div',
        mediaTypes: {
            video: {
                playerSize: [[640, 480]],
                context: 'instream',
                mimes: ['video/mp4', 'video/webm'],
                protocols: [2, 3, 5, 6],
                maxduration: 30,
                api: [1, 2]
            }
        },
        bids: [
            {
                bidder: 'cleanmedianet',
                params: {
                    supplyPartnerId: 12345,
                    video: {
                        minduration: 5,
                        maxduration: 30,
                        protocols: [2, 3, 5, 6],
                        mimes: ['video/mp4', 'video/webm'],
                        playbackmethod: [2],
                        skip: 1,
                        startdelay: 0,
                        api: [1, 2],
                        plcmt: 1
                    }
                }
            }
        ]
    }
];

Video Ad Unit (Outstream)

var adUnits = [
    {
        code: 'outstream-div',
        mediaTypes: {
            video: {
                playerSize: [[640, 480]],
                context: 'outstream',
                mimes: ['video/mp4', 'video/webm']
            }
        },
        bids: [
            {
                bidder: 'cleanmedianet',
                params: {
                    supplyPartnerId: 12345,
                    rendererUrl: 'https://example.com/outstream-renderer.js',
                    video: {
                        minduration: 5,
                        maxduration: 30,
                        protocols: [2, 3, 5, 6],
                        mimes: ['video/mp4', 'video/webm'],
                        playbackmethod: [2],
                        placement: 3,
                        plcmt: 3,
                        context: 'outstream'
                    }
                }
            }
        ]
    }
];

"Send All Bids" Ad Server Keys

These are the bidder-specific keys that would be targeted within GAM in a Send-All-Bids scenario. GAM truncates keys to 20 characters.
hb_pb_cleanmedianet hb_bidder_cleanmedia hb_adid_cleanmediane
hb_size_cleanmediane hb_source_cleanmedia hb_format_cleanmedia
hb_cache_host_cleanm hb_cache_id_cleanmed hb_uuid_cleanmediane
hb_cache_path_cleanm hb_deal_cleanmediane

Back to Bidders