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

Adtarget documentation #2006

Merged
merged 1 commit into from
Jun 1, 2020
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
80 changes: 80 additions & 0 deletions dev-docs/bidders/adtarget.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
---
layout: bidder
title: Adtarget
description: Adtarget Bidder Adapter
hide: true
biddercode: adtarget
media_types: banner, video
gdpr_supported: true
userIds: britepoolId, criteo, digitrust, id5Id, identityLink, liveIntentId, netId, parrableId, pubCommonId, unifiedId
schain_supported: true
coppa_supported: true
usp_supported: true
---

### Bid params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|-------|----------|---------------------------------|----------|-----------|
| `aid` | required | The source ID from Adtarget platform. | `331133` | `integer` |


# Description

Provides a solution for accessing Video demand and display demand from Adtarget

### Test Parameters

```
var adUnits = [

// Video adUnit
{
code: 'videoPlayer',
mediaTypes: {
video: {
playerSize:[640,480]
context: 'instream'
}
},
bids: [{
bidder: 'adtarget',
params: {
aid: 331133
}
}]
},

// Banner adUnit
{
code: 'bannerAd',
mediaTypes: {
banner: {
sizes: [[300, 250]]
}
},
bids: [{
bidder: 'adtarget',
params: {
aid: 350975
}
}]
}
];
```

### Additional Configuration

It is possible to configure requests to be splitted in chunks to have less bid requests in single http request
(default value is 10)

```
pbjs.setBidderConfig({
config: {
adtarget: {
chunkSize: 1 // makes 1 http request per 1 adunit configured
}
}
});
```