From 96b26153de22a30626ef77bef660c93d73b2c8fe Mon Sep 17 00:00:00 2001 From: Nick Narbone Date: Fri, 2 Feb 2018 11:52:40 -0500 Subject: [PATCH 1/2] Update Sonobi Bidder Adapter Documentation --- dev-docs/bidders/sonobi.md | 41 +++++++++++++------------------------- 1 file changed, 14 insertions(+), 27 deletions(-) diff --git a/dev-docs/bidders/sonobi.md b/dev-docs/bidders/sonobi.md index 5d6c510420..773a17350c 100644 --- a/dev-docs/bidders/sonobi.md +++ b/dev-docs/bidders/sonobi.md @@ -2,43 +2,30 @@ layout: bidder title: Sonobi description: Prebid Sonobi Bidder Adaptor - top_nav_section: dev_docs nav_section: reference - hide: true - biddercode: sonobi - biddercode_longer_than_12: false - +prebid_1_0_supported : true --- +### Note: +The Sonobi Bidder adapter requires setup and approval from your Sonobi Account Manager. If you require assistance +implementing our adapter please don't hesitate to contact us at apex.prebid@sonobi.com. - -### release version: -`0.8.0` - -### bid params : DFP adUnit Code format +### bid params {: .table .table-bordered .table-striped } -| Name | Scope | Description | Example | -| :--- | :---- | :---------- | :------ | -| `ad_unit` | required | The ad unit ID | "/1234567/example/adUnit/code" | -| `dom_id` | optional | The DOM Id of the ad slot | "div-gpt-ad-12345-0" | -| `floor` | optional | The numerical floor value desired | 1 | +| Name | Scope | Description | Type | Example | +|:---------------|:---------|:---------------------------------------------|:--------------|:---------------------------------| +| `placement_id` | required | The placement ID | String | `'1a2b3c4d5e6f1a2b3c4d'` | +| `ad_unit` | required | The adunit ID | String | `'/1234567/example/adUnit/code'` | +| `floor` | optional | Bid floor for this placement in USD | Integer | `0.50` | +| `sizes` | optional | Adunit sizes that will override global sizes | Array[String] | `[[300, 250], [300, 600]]` | -### bid params : Sonobi Placement Id format - -{: .table .table-bordered .table-striped } -| Name | Scope | Description | Example | -| :--- | :---- | :---------- | :------ | -| `placement_id` | required | The placement ID | "1a2b3c4d5e6f1a2b3c4d" | -| `dom_id` | optional | The DOM Id of the ad slot | "div-gpt-ad-12345-0" | -| `floor` | optional | The numerical floor value desired | 1 | +### Configuration -### Caveats +The `ad_unit` and `placement_id` are **mutually exclusive** but at least one is required. If you pass both, `ad_unit` takes precedence. -* The Placement Id format is now deprecated. Your account manager will be in contact to help with transitioning to the adUnit format. -* More detailed instructions can be found [here](https://sonobi.atlassian.net/wiki/display/PP/Prebid.js+Implementation+Guide). -* If you require assistance with any of our open source code, please email support at github@sonobi.com +If you pass the optional `sizes` Array in your bid params it will override the global config sizes for the Sonobi Adapter only. From 40fec92269956e28bcb2c2279f02a11a3af1e725 Mon Sep 17 00:00:00 2001 From: Nick Narbone Date: Tue, 6 Feb 2018 10:47:19 -0500 Subject: [PATCH 2/2] Add Documentation for hfa key. --- dev-docs/bidders/sonobi.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-docs/bidders/sonobi.md b/dev-docs/bidders/sonobi.md index 773a17350c..160d3be5c6 100644 --- a/dev-docs/bidders/sonobi.md +++ b/dev-docs/bidders/sonobi.md @@ -23,9 +23,12 @@ implementing our adapter please don't hesitate to contact us at apex.prebid@sono | `ad_unit` | required | The adunit ID | String | `'/1234567/example/adUnit/code'` | | `floor` | optional | Bid floor for this placement in USD | Integer | `0.50` | | `sizes` | optional | Adunit sizes that will override global sizes | Array[String] | `[[300, 250], [300, 600]]` | +| `hfa` | optional | Publisher Unique Identifier | String | `'123985'` | ### Configuration The `ad_unit` and `placement_id` are **mutually exclusive** but at least one is required. If you pass both, `ad_unit` takes precedence. If you pass the optional `sizes` Array in your bid params it will override the global config sizes for the Sonobi Adapter only. + +The `hfa` parameter requires your Sonobi Account Manager to enable this feature for you. Please contact them for further information.