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

Documentation for Prebid VOX Bidder Adapter #2534

Merged
merged 2 commits into from
Jan 8, 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
87 changes: 87 additions & 0 deletions dev-docs/bidders/vox.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
---
layout: bidder
title: VOX
description: Prebid VOX Bidder Adapter
pbjs: true
media_types: banner, video
biddercode: vox
gdpr_supported: true
---

### Note

You can use this adapter to get a bid from partners.hybrid.ai
Please reach out to your partners account team before using this plugin to get placementId.


### Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|---------------------|------------------------|-------------------------------------------------------------------|--------------------------------------|----------|
| `placementId` | required | The place id. | '5af45ad34d506ee7acad0c26' | `string` |
| `placement` | required | Adunit placement, possible values: banner, video, inImage | 'banner' | `string` |
| `imageUrl` | required for inImage | URL of the image on which the banner will be displayed | 'https://hybrid.ai/images/image.jpg' | `string` |


### Sample Banner Ad Unit

```js
var adUnits = [{
code: 'banner_ad_unit',
mediaTypes: {
banner: {
sizes: [[728, 90]]
}
},
bids: [{
bidder: "vox",
params: {
placement: "banner", // required
placementId: "5af45ad34d506ee7acad0c26" // required
}
}]
}];
```

### Sample Video Ad Unit

```js
var adUnits = [{
code: 'video_ad_unit',
mediaTypes: {
video: {
context: 'outstream', // required, possible values: instream, outstream
playerSize: [[640, 480]] // required
}
},
bids: [{
bidder: "vox",
params: {
placement: "video", // required
placementId: "5af45ad34d506ee7acad0c26" // required
}
}]
}];
```

### Sample In-Image Ad Unit

```js
var adUnits = [{
code: 'test-div',
mediaTypes: {
banner: {
sizes: [0, 0]
}
},
bids: [{
bidder: "vox",
params: {
placement: "inImage",
placementId: "102030405060708090000020",
imageUrl: "https://hybrid.ai/images/image.jpg"
}
}]
}];
```