From 905355934ecfc193cca9a9a264a4ffebff945645 Mon Sep 17 00:00:00 2001 From: CondorXIO Date: Sat, 7 Jun 2025 03:40:31 +0300 Subject: [PATCH 1/2] add support to bidfloor + open RTB --- dev-docs/bidders/condorx.md | 93 +++++++++++++++++++++++++++++++++---- 1 file changed, 83 insertions(+), 10 deletions(-) diff --git a/dev-docs/bidders/condorx.md b/dev-docs/bidders/condorx.md index fe4c7c013e..daa0499f5e 100644 --- a/dev-docs/bidders/condorx.md +++ b/dev-docs/bidders/condorx.md @@ -8,7 +8,7 @@ dsa_supported: false gvl_id: 1375 usp_supported: false coppa_supported: false -schain_supported: false +schain_supported: true dchain_supported: false media_types: banner, native safeframes_ok: false @@ -30,20 +30,40 @@ The CondorX Bidding adapter requires setup before beginning. Please contact us a ### Bid params -| Name | Scope | Description | Example | -|----------|----------|-------------------------------------------------------------|----------------------| -| `widget` | required | The widget ID, by CondorX | `12345` | -| `website`| required | The website ID, by Condorx | `12345` | -| `url` | optional | Current url | `https://condorx.io` | +| Name | Scope | Description | Example | Type | Default | +|----------|----------|-------------------------------------------------------------|----------------------|---------|---------| +| `widget` | required | The widget ID, by CondorX | `12345` | integer | - | +| `website`| required | The website ID, by CondorX | `12345` | integer | - | +| `url` | optional | Current url | `https://condorx.io` | string | `'current url'` | +| `bidfloor` | optional | Minimum bid price in USD | `0.50` | number | `-1` | +| `useOpenRTB` | optional | Enable OpenRTB format requests | `true` | boolean | `false` | -### Example Ad Unit +### Request Formats + +The adapter supports both legacy and OpenRTB request formats: + +#### Legacy Format (Default) +Uses GET request to legacy endpoint: +``` +GET https://api.condorx.io/cxb/get.json +``` + +#### OpenRTB Format +Uses POST request to OpenRTB endpoint: +``` +POST https://api.condorx.io/cxb/openrtb.json +``` + +To enable OpenRTB format, set `useOpenRTB: true` in the bid parameters. + +### Example Ad Units ```javascript var adUnits = [{ code: 'condorx-container-id', mediaTypes: { banner: { - sizes: [[300, 250]], + sizes: [[300, 250]], } }, bids: [{ @@ -51,7 +71,60 @@ var adUnits = [{ params: { widget: 'widget id by CondorX', website: 'website id by CondorX', - url:'current url' + url:'current url', + bidfloor: 0.50 } }] -}]; +}, + { + code: 'condorx-container-id', + mediaTypes: { + native: { + image: { + required: true, + sizes: [236, 202] + }, + title: { + required: true, + len: 100 + }, + sponsoredBy: { + required: true + }, + clickUrl: { + required: true + }, + body: { + required: true + } + } + }, + bids: [{ + bidder: "condorx", + params: { + widget: 'widget id by CondorX', + website: 'website id by CondorX', + url:'current url', + bidfloor: 0.75 + } + }] + }, + { + code: 'condorx-container-id', + mediaTypes: { + banner: { + sizes: [[728, 90]], + } + }, + bids: [{ + bidder: "condorx", + params: { + widget: 'widget id by CondorX', + website: 'website id by CondorX', + url:'current url', + bidfloor: 1.00, + useOpenRTB: true + } + }] + }]; +``` \ No newline at end of file From ba2dabe30dc0eb30cf8671d8af6b1f9722320ddb Mon Sep 17 00:00:00 2001 From: CondorXIO Date: Sat, 7 Jun 2025 03:49:58 +0300 Subject: [PATCH 2/2] fix md file --- dev-docs/bidders/condorx.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev-docs/bidders/condorx.md b/dev-docs/bidders/condorx.md index daa0499f5e..79fbdbeabf 100644 --- a/dev-docs/bidders/condorx.md +++ b/dev-docs/bidders/condorx.md @@ -44,13 +44,15 @@ The adapter supports both legacy and OpenRTB request formats: #### Legacy Format (Default) Uses GET request to legacy endpoint: -``` + +```http GET https://api.condorx.io/cxb/get.json ``` #### OpenRTB Format Uses POST request to OpenRTB endpoint: -``` + +```http POST https://api.condorx.io/cxb/openrtb.json ``` @@ -127,4 +129,4 @@ var adUnits = [{ } }] }]; -``` \ No newline at end of file +```