Skip to content
Open
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
146 changes: 135 additions & 11 deletions dev-docs/bidders/viant.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ layout: bidder
title: Viant
description: Prebid Viant Bidder Adapter
biddercode: viantOrtb
media_types: banner, video, native
tcfeu_supported: false
media_types: banner, video, native, audio
tcfeu_supported: true
coppa_supported: true
usp_supported: true
gpp_supported: false
Expand All @@ -18,19 +18,143 @@ deals_supported: true
floors_supported: true
fpd_supported: false
ortb_blocking_supported: false
gvl_id: none
pbs: false
multiformat_supported: will-bid-on-one
gvl_id: 1542
pbs: true
multiformat_supported: true
sidebarType: 1
pbs_app_supported: true

---

### Registration
## Registration

If you have any questions regarding set up, please reach out to your Viant account manager: <dist-vps@viantinc.com>.

Please note that Viant Publisher Solutions has transitioned its serving architecture to Prebid Server. The Prebid.js Module is now legacy, and only the Prebid Server integration is active.

To activate an account, publishers must already have an approved Viant Publisher Solutions (VPS) login and an active `publisherId` in order for the adapter to function appropriately.

If you have any questions regarding set up, please reach out to <Marketplace@adelphic.com>.
All other configurations occur within the VPS self-service environment.

#### Bid Params
### Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|---------------------|----------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------|------------------|
| `publisherId` | required | PublisherId to identify the Site from which Bid Requests will be seen. | `12345` | `integer` |

| Name | Scope | Description | Example | Type |
|---------------|----------|-------------------------------------------------------|--------------------------|----------|
| `publisherId` | required | Publisher ID assigned by Viant during onboarding. | `'prebid-test-pub-001'` | `string` |

## Example Ad Unit

### Banner

```javascript
var adUnits = [
{
code: 'banner-div',
mediaTypes: {
banner: {
sizes: [[300, 250], [728, 90]]
}
},
bids: [
{
bidder: 'viant',
params: {
publisherId: 'your-publisher-id'
}
}
]
}
];
```

### Video (Instream)

```javascript
var adUnits = [
{
code: 'video-div',
mediaTypes: {
video: {
context: 'instream',
playerSize: [640, 480],
mimes: ['video/mp4'],
protocols: [2, 3, 5, 6],
maxduration: 30
}
},
bids: [
{
bidder: 'viant',
params: {
publisherId: 'your-publisher-id'
}
}
]
}
];
```

### Native

```javascript
var adUnits = [
{
code: 'native-div',
mediaTypes: {
native: {
ortb: {
assets: [
{
id: 1,
required: 1,
title: { len: 90 }
},
{
id: 2,
required: 1,
img: { type: 3, w: 300, h: 250 }
}
]
}
}
},
bids: [
{
bidder: 'viant',
params: {
publisherId: 'your-publisher-id'
}
}
]
}
];
```

### Audio

```javascript
var adUnits = [
{
code: 'audio-div',
mediaTypes: {
audio: {
mimes: ['audio/aac', 'audio/mpeg', 'audio/mp3'],
protocols: [2, 3, 5, 6, 7, 8],
minduration: 1,
maxduration: 90,
startdelay: -2
}
},
bids: [
{
bidder: 'viant',
params: {
publisherId: 'your-publisher-id'
}
}
]
}
];
```
Loading