Skip to content

Commit

Permalink
Adf adapter: new params added, multiformat bids supported (#3343)
Browse files Browse the repository at this point in the history
  • Loading branch information
braizhas authored Oct 20, 2021
1 parent ffa458c commit 74768fb
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions dev-docs/bidders/adf.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,15 @@ fpd_supported: true
### Bid params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|-------------|----------|----------------------|--------------------|-----------|
| `mid` | required | | `12345` | `integer` |
| `adxDomain` | optional | The Adform domain | `'adx.adform.net'` | `string` |
| `priceType` | optional | Price type | `'gross'` | `string` |
| Name | Scope | Description | Example | Type |
|-------------|----------------------------|----------------------|--------------------|-----------|
| `mid` | required, if `inv` and `nmane` not set | Placement ID | `12345` | `integer` |
| `inv` | required, if `mid` not set | Inventory source ID | `1234` | `integer` |
| `mname` | required, if `mid` not set | Placement name | `"Leaderboard"` | `string` |
| `adxDomain` | optional, Prebid.js only | The Adform domain | `"adx.adform.net"` | `string` |
| `priceType` | optional, Prebid.js only | Price type | `"gross"` | `string` |

Note: prebid-server adapter supports only `mid` parameter - other params could be set by adjusting prebid-server openRTB request.
Note: Bid placement should be defined using the `mid` parameter or `inv` and `mname` parameters (dynamic master tag) but not both.

### OpenRTB request config

Expand All @@ -41,7 +43,3 @@ pbjs.setConfig({
}
});
```

### Multi-format ads

Adform bid adapter does not support multi-format ad unit setup. Please use [twin ad unit codes]({{site.baseurl}}/dev-docs/adunit-reference.html#twin-adunit-codes) to enable multi-format auctions.

0 comments on commit 74768fb

Please sign in to comment.