From c660ffd3a95d41a88e5b86dd854118b92eb83c17 Mon Sep 17 00:00:00 2001 From: Gena Date: Thu, 18 Aug 2022 00:28:12 +0200 Subject: [PATCH] OCM doc (#3955) * OCM doc * OCM doc --- dev-docs/bidders/ocm.md | 104 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 104 insertions(+) create mode 100644 dev-docs/bidders/ocm.md diff --git a/dev-docs/bidders/ocm.md b/dev-docs/bidders/ocm.md new file mode 100644 index 0000000000..e68aa869f7 --- /dev/null +++ b/dev-docs/bidders/ocm.md @@ -0,0 +1,104 @@ +--- +layout: bidder +title: Orangeclickmedia +description: Prebid OCM Bidder Adapter +biddercode: ocm +aliasCode: adtelligent +media_types: video,banner +gdpr_supported: true +userIds: britepoolId, criteo, id5Id, identityLink, liveIntentId, netId, parrableId, pubCommonId, unifiedId +schain_supported: true +coppa_supported: true +usp_supported: true +safeframes_ok: true +prebid_member: true +pbjs: true +pbs: false +deals_supported: false +--- + +### Bid params + +{: .table .table-bordered .table-striped } +| Name | Scope | Description | Example | Type | +|-------|----------|---------------------------------|----------|-----------| +| `aid` | required | The source ID from OCM. | `529814` | `integer` | + +### 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 +``` + 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 + } + }] + } + ]; +```