Skip to content

Commit

Permalink
adWMG Adapter: documentation (#2546)
Browse files Browse the repository at this point in the history
* Add adWMG Bid Adapter MD file

* typo

* Update test setup

* Fix in test settings
  • Loading branch information
nyakove authored Dec 11, 2020
1 parent c65418e commit 268f9df
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions dev-docs/bidders/adWMG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
---
layout: bidder
title: adWMG
description: Prebid adWMG Bidder Adapter
pbjs: true
biddercode: adWMG
media_types: banner
gdpr_supported: true
tcf2_supported: true
---

##BidParams
{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|------------|----------|----------------------|------------|----------|
| `publisherId` | required | Publisher ID from WMG Dashboard | `'5cebea3c9eea646c7b623d5e'` | `string` |
| `IABCategories` | optional |IAB ad categories for adUnit | `['IAB1', 'IAB5']` | `array of strings` |

### Ad Unit Setup for Banner
```javascript
var adUnits = [
{
code: 'test-hb-ad-11111-1',
mediaTypes: {
banner: {
sizes: [
[300, 250]
]
}
},
bids: [{
bidder: 'adWMG',
params: {
publisherId: '5cebea3c9eea646c7b623d5e',
IABCategories: ['IAB1', 'IAB5']
}
}]
}
]
```

0 comments on commit 268f9df

Please sign in to comment.