From 8d1fa6c60084cbbd534e3fa79c56bd0326534485 Mon Sep 17 00:00:00 2001 From: Ivan Zivkovic Date: Fri, 1 Aug 2025 18:23:39 +0200 Subject: [PATCH 1/2] adunit format added --- dev-docs/bidders/oprx.md | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/dev-docs/bidders/oprx.md b/dev-docs/bidders/oprx.md index 3aa40d163a..a4b7ed653d 100644 --- a/dev-docs/bidders/oprx.md +++ b/dev-docs/bidders/oprx.md @@ -36,3 +36,34 @@ privacy_sandbox: no | `npi` | optional | NPI | `'22222'` | `string` | | `ndc` | optional | NDC | `'33333'` | `string` | | `type` | required | Type of Bid/Impression | `'banner'` | `string` | + +### AdUnit Format + +```javascript +var adUnits = [ + { + code: 'test-div', + mediaTypes: { + banner: { + sizes: [[728, 90]] + } + }, + bids: [ + { + bidder: 'oprx', + params: { + placement_id: 1234567890, // placement ID (required) + key: "123456abcd", // key (required) + width: 728, // width + height: 90, // height + bid_floor: 0.5, // bidding price floor + npi: "1234567890", // NPI + ndc: "12345678901" // NDC + type: "banner", // media type (required) + }, + } + } + ] + } +]; +``` From 6f86e23cf6d965bc2a1064a5395edabecf2d2049 Mon Sep 17 00:00:00 2001 From: Ivan Zivkovic Date: Fri, 1 Aug 2025 18:29:09 +0200 Subject: [PATCH 2/2] removed tabs --- dev-docs/bidders/oprx.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dev-docs/bidders/oprx.md b/dev-docs/bidders/oprx.md index a4b7ed653d..6181d56634 100644 --- a/dev-docs/bidders/oprx.md +++ b/dev-docs/bidders/oprx.md @@ -53,12 +53,12 @@ var adUnits = [ bidder: 'oprx', params: { placement_id: 1234567890, // placement ID (required) - key: "123456abcd", // key (required) + key: "123456abcd", // key (required) width: 728, // width height: 90, // height bid_floor: 0.5, // bidding price floor - npi: "1234567890", // NPI - ndc: "12345678901" // NDC + npi: "1234567890", // NPI + ndc: "12345678901" // NDC type: "banner", // media type (required) }, }