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

NextRoll Bid Adapter docs #1796

Merged
merged 6 commits into from
Mar 2, 2020
Merged
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
58 changes: 58 additions & 0 deletions dev-docs/bidders/nextroll.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
---
layout: bidder
title: NextRoll
description: Prebid NextRoll Bidder Adapter
hide: true
biddercode: nextroll
media_types: display
gdpr_supported: false
usp_supported: false
---

### Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|----------------|----------|---------------------------------------------------------------------------------------------------|---------------------------|----------|
| `sellerId` | required | The seller ID from NextRoll.Please reach out your NextRoll representative for more details. | `541459` | `number` |
| `publisherId` | optional | The publisher ID from NextRoll.Please reach out your NextRoll representative for more details. | `956812` | `number` |
| `zoneId` | optional | Descriptive or unique identifier for the ad position | `main-banner-505/600x160` | `string` |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please put quotes around the string example here

| `bidfloor` | optional | Per ad-unit bid floor | `2.3` | `number` |

#### Example of Banner Ad-unit
```
var adUnits = [
{
code: 'div-1',
mediaTypes: {
banner: {sizes: [[300, 250], [160, 600]]}
},
bids: [{
bidder: 'nextroll',
params: {
bidfloor: 1,
zoneId: 13144370,
publisherId: "publisherId",
sellerId: "sellerId",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just noticed that these examples don't match the types defined above: zoneId is an integer here, string above. pub and seller IDs are strings here, ints above.

Same with the example below.

}
}]
},
{
code: 'div-2',
mediaTypes: {
banner: {
sizes: [[728, 90], [970, 250]]
}
},
bids: [{
bidder: 'nextroll',
params: {
bidfloor: 2.3,
zoneId: 13144370,
publisherId: "publisherId",
sellerId: "sellerId",
}
}]
}
];
```