Skip to content

Commit

Permalink
Update cleanmedianetBidAdapter.md
Browse files Browse the repository at this point in the history
  • Loading branch information
CleanMediaNet authored Feb 28, 2023
1 parent 8612306 commit f7d3e50
Showing 1 changed file with 73 additions and 18 deletions.
91 changes: 73 additions & 18 deletions modules/cleanmedianetBidAdapter.md
Original file line number Diff line number Diff line change
@@ -1,66 +1,121 @@
# Overview

```
Module Name: Clean Media Net Adapter
Module Name: CleanMedia Bid Adapter
Module Type: Bidder Adapter
Maintainer: dev@cleanmedia.net
Maintainer: dev@CleanMedia.net
```

# Description

Connects to Clean Media Net's Programmatic advertising platform as a service.
Connects to CleanMedia's Programmatic advertising platform as a service.

Clean Media bid adapter supports Banner & Video (Instream and Outstream).
The *only* required parameter (in the `params` section) is the `supplyPartnerId` parameter.
CleanMedia bid adapter supports Banner & Outstream Video. The *only* required parameter (in the `params` section) is the `supplyPartnerId` parameter.

# Test Parameters
```
var adUnits = [
// Banner adUnit
// Banner adUnit
{
code: 'banner-div',
sizes: [[300, 250]],
bids: [{
bidder: 'cleanmedianet',
params: {
// ID of the supply partner you created in the Clean Media Net dashboard
// ID of the supply partner you created in the CleanMedia dashboard
supplyPartnerId: '1253',
// OPTIONAL: custom bid floor
// OPTIONAL: if you have a whitelabel account on CleanMedia, specify it here
//rtbEndpoint: 'https://my.custom-whitelabel-domain.io',
// OPTIONAL: custom bid floor
bidfloor: 0.01,
// OPTIONAL: if you know the ad position on the page, specify it here
// OPTIONAL: if you know the ad position on the page, specify it here
// (this corresponds to "Ad Position" in OpenRTB 2.3, section 5.4)
//adpos: 1,
// OPTIONAL: whether this is an interstitial placement (0 or 1)
// OPTIONAL: whether this is an interstitial placement (0 or 1)
// (see "instl" property in "Imp" object in the OpenRTB 2.3, section 3.2.2)
//instl: 0
}
}]
},
// Video outstream adUnit
// Video outstream adUnit
{
code: 'video-outstream',
sizes: [[300, 250]],
mediaTypes: {
video: {
context: 'outstream',
playerSize: [300, 250]
}
},
bids: [ {
bidder: 'cleanmedianet',
bidder: 'CleanMedia',
params: {
// ID of the supply partner you created in the dashboard
// ID of the supply partner you created in the dashboard
supplyPartnerId: '1254',
// OPTIONAL: custom bid floor
// OPTIONAL: if you have a whitelabel account on CleanMedia, specify it here
//rtbEndpoint: 'https://my.custom-whitelabel-domain.io',
// OPTIONAL: custom bid floor
bidfloor: 0.01,
// OPTIONAL: if you know the ad position on the page, specify it here
// OPTIONAL: if you know the ad position on the page, specify it here
// (this corresponds to "Ad Position" in OpenRTB 2.3, section 5.4)
//adpos: 1,
// OPTIONAL: whether this is an interstitial placement (0 or 1)
// OPTIONAL: whether this is an interstitial placement (0 or 1)
// (see "instl" property in "Imp" object in the OpenRTB 2.3, section 3.2.2)
//instl: 0
}
}]
}
},
// Multi-Format adUnit
{
code: 'banner-div',
mediaTypes: {
video: {
context: 'outstream',
playerSize: [300, 250]
},
banner: {
sizes: [[300, 250]]
}
},
bids: [{
bidder: 'CleanMedia',
params: {
// ID of the supply partner you created in the CleanMedia dashboard
supplyPartnerId: '1253',
// OPTIONAL: if you have a whitelabel account on CleanMedia, specify it here
//rtbEndpoint: 'https://my.custom-whitelabel-domain.io',
// OPTIONAL: custom bid floor
bidfloor: 0.01,
// OPTIONAL: if you know the ad position on the page, specify it here
// (this corresponds to "Ad Position" in OpenRTB 2.3, section 5.4)
//adpos: 1,
// OPTIONAL: whether this is an interstitial placement (0 or 1)
// (see "instl" property in "Imp" object in the OpenRTB 2.3, section 3.2.2)
//instl: 0,
// OPTIONAL: enable enforcement bids of a specific media type (video, banner)
// in this ad placement
// query: 'key1=value1&k2=value2',
// favoredMediaType: 'video',
}
}]
},
];
```

0 comments on commit f7d3e50

Please sign in to comment.