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

Adf adapter: new bidder params added, multiformat bids supported #3343

Merged
merged 1 commit into from
Oct 20, 2021
Merged
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
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.