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
101 changes: 15 additions & 86 deletions dev-docs/bidders/ocm.md
Original file line number Diff line number Diff line change
@@ -1,108 +1,37 @@
---
layout: bidder
title: Orangeclickmedia
title: OCM
description: Prebid OCM Bidder Adapter
biddercode: ocm
aliasCode: adtelligent
media_types: video,banner
media_types: video,banner,native
tcfeu_supported: true
gpp_supported: true
userIds: britepoolId, criteo, id5Id, identityLink, liveIntentId, netId, parrableId, pubCommonId, unifiedId
userIds: criteo, id5Id, panoramaId, pubCommonId, unifiedId
schain_supported: true
dchain_supported: true
coppa_supported: true
usp_supported: true
safeframes_ok: true
safeframes_ok: false
prebid_member: true
multiformat_supported: will-bid-on-any
ortb_blocking_supported: partial
pbjs: true
pbs: false
deals_supported: false
deals_supported: true
floors_supported: true
gvl_id: 1148
sidebarType: 1
---

### Bid params
## Bid params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|-------|----------|---------------------------------|----------|-----------|
| `aid` | required | The source ID from OCM. | `529814` | `integer` |
| Name | Scope | Description | Example | Type |
|---------------|----------|----------------------------------------|---------------|----------|
| `publisherId` | required | The publisher id (e.g. "domain.tld") | `example.com` | `string` |
| `placementId` | required | Domain-wide placement id | `1234567890` | `string` |

### Description

OCM header bidding adapter connects with OCM demand sources in order to fetch bids.
This adapter provides a solution for accessing Video demand and display demand.

### Test Parameters

``` javascript
var adUnits = [

// Video instream adUnit
{
code: 'test-div',
mediaTypes: {
video: {
context: 'instream',
playerSize: [640, 480]
}
},
bids: [{
bidder: 'ocm',
params: {
aid: 472386
}
}]
},

// Video outstream adUnit
{
code: 'test-div',
mediaTypes: {
video: {
context: 'outstream',
playerSize: [640, 480]
}
},
bids: [{
bidder: 'ocm',
params: {
aid: 472386
}
}]
},

// Video ADPOD adUnit
{
code: 'test-div',
sizes: [[640, 480]],
mediaTypes: {
video: {
context: 'adpod',
playerSize: [640, 480]
}
},
bids: [{
bidder: 'ocm',
params: {
aid: 472386
}
}]
},

// Banner adUnit
{
code: 'test-div',
mediaTypes:{
banner:{
sizes: [[300, 250]]
}
}
bids: [{
bidder: 'ocm',
params: {
aid: 529814
}
}]
}
];
```
This adapter provides a solution for accessing Video, Display and Native demand.
Loading