-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
MimuteMedia - Add support for Banner #3708
Changes from all commits
6c1ddae
5c15801
fdcf3cf
93d54aa
88d32a4
c6d36e7
7d7d74d
993a8fc
a77d31a
59f3e9d
f9cf079
224c8bc
cc1e65e
42ded1b
59d2888
bedf319
01d147f
e3e1956
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,11 @@ | ||
--- | ||
layout: bidder | ||
title: MinuteMedia | ||
description: Prebid Bidder Adaptor | ||
description: Prebid MinuteMedia Bidder Adapter | ||
pbjs: true | ||
biddercode: minutemedia | ||
media_types: video | ||
media_types: banner, video | ||
multiformat_supported: will-bid-on-any | ||
schain_supported: true | ||
gdpr_supported: true | ||
usp_supported: true | ||
|
@@ -20,7 +21,7 @@ The MinuteMedia adapter requires setup and approval. Please reach out to hb@minu | |
|
||
### Bid Parameters | ||
|
||
#### Video | ||
#### Banner ,Video | ||
|
||
{: .table .table-bordered .table-striped } | ||
| Name | Scope | Type | Description | Example | ||
|
@@ -32,27 +33,50 @@ The MinuteMedia adapter requires setup and approval. Please reach out to hb@minu | |
|
||
## Example | ||
```javascript | ||
var adUnits = [ | ||
{ | ||
code: 'dfp-video-div', | ||
sizes: [[640, 480]], | ||
mediaTypes: { | ||
var adUnits = [{ | ||
code: 'banner-div', | ||
mediaTypes: { | ||
banner: { | ||
sizes: [ | ||
[300, 250], | ||
[728, 90] | ||
] | ||
} | ||
}, | ||
bids: [{ | ||
bidder: 'minutemedia', | ||
params: { | ||
org: '56f91cd4d3e3660002000033', // Required | ||
floorPrice: 0.05, // Optional | ||
placementId: '12345678', // Optional | ||
testMode: false // Optional | ||
} | ||
}] | ||
}, | ||
{ | ||
code: 'dfp-video-div', | ||
sizes: [ | ||
[640, 480] | ||
], | ||
mediaTypes: { | ||
video: { | ||
playerSize: [[640, 480]], | ||
context: 'instream' | ||
playerSize: [ | ||
[640, 480] | ||
], | ||
context: 'instream' | ||
} | ||
}, | ||
bids: [{ | ||
}, | ||
bids: [{ | ||
bidder: 'minutemedia', | ||
params: { | ||
org: '56f91cd4d3e3660002000033', // Required | ||
floorPrice: 5.00, // Optional | ||
placementId: '12345678', // Optional | ||
testMode: false // Optional | ||
org: '56f91cd4d3e3660002000033', // Required | ||
floorPrice: 5.00, // Optional | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Is this still relevant? Shouldn't the floor price module take care of it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the adapter preferring the floor price module. but in case he doesn't exists , the adapter will take the value from the param |
||
placementId: '12345678', // Optional | ||
testMode: false // Optional | ||
} | ||
}] | ||
} | ||
]; | ||
}] | ||
} | ||
]; | ||
``` | ||
|
||
### Configuration | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for updating the docs. Could you add the flag
multiformat_supported
(introduced in #3694 ) as well?It allows sales houses / publishers to better understand the behaviour of the bid adapter for multi format ad units.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done