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

Extend Kobler adapter with prebid-server #5587

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Changes from all 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
9 changes: 5 additions & 4 deletions dev-docs/bidders/kobler.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ title: Kobler
description: Kobler Bidder Adapter
biddercode: kobler
pbjs: true
pbs: true
media_types: banner
floors_supported: true
deals_supported: true
Expand All @@ -15,7 +16,7 @@ sidebarType: 1
The Kobler Bidder Adapter requires setup and approval from Kobler AS.
Please reach out to <[email protected]> for more information.

### Bid Params
### Prebid.js Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
Expand All @@ -24,7 +25,7 @@ Please reach out to <[email protected]> for more information.
| `floorPrice` | optional | Floor price in CPM and in USD. Can be used as an alternative to the [Floors module](https://docs.prebid.org/dev-docs/modules/floors.html), which is also supported by this adapter. Defaults to 0. | `5.0` | `float` |
| `dealIds` | optional | Array of deal IDs. | `['abc328745', 'mxw243253']` | `array of strings` |

### Implicit parameters
### Prebid.js Implicit parameters

Kobler identifies the placement using the combination of the page URL and the allowed sizes. As a result, it's important that the correct sizes are provided in `banner.sizes` in order for Kobler to correctly identify the placement. The main, desired format should be the first element of this array.

Expand All @@ -46,8 +47,8 @@ Kobler identifies the placement using the combination of the page URL and the al

In order to see a sample bid from Kobler (without a proper setup), you have to also do the following:

- Set the `test` parameter to `true`.
- Set `config.pageUrl` to `'https://www.tv2.no/mening-og-analyse/14555348/'`. This is necessary because Kobler only bids on recognized articles. Kobler runs its own test campaign to make sure there is always a bid for this specific page URL.
- Prebid.js: Set the `test` parameter of Kobler's adapter to `true`. Prebid-server: Set the `test` parameter of the bid request to `1`.
- Prebid.js: Set `config.pageUrl` to `'https://www.tv2.no/mening-og-analyse/14555348/'`. Prebid-server: Set the `site.page` parameter of the bid request to `'https://www.tv2.no/mening-og-analyse/14555348/'`. This is necessary because Kobler only bids on recognized articles. Kobler runs its own test campaign to make sure there is always a bid for this specific page URL.

### Example With Optional Parameters

Expand Down