Skip to content
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
95 changes: 85 additions & 10 deletions dev-docs/bidders/condorx.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -30,28 +30,103 @@ 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:

```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
```

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: [{
bidder: "condorx",
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',
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this part of the openRTB request as well?

bidfloor: 1.00,
useOpenRTB: true
}
}]
}];
```