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
65 changes: 51 additions & 14 deletions dev-docs/bidders/programmaticX.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,34 +3,71 @@ layout: bidder
title: ProgrammaticX
description: Prebid ProgrammaticX Bidder Adapter
biddercode: ProgrammaticX
gpp_sids: usstate_all
gvl_id: 1344
filename: programmaticXBidAdapter
userIds: britepoolId, criteo, id5Id, identityLink, liveIntentId, netId, parrableId, pubCommonId, unifiedId
tcfeu_supported: true
usp_supported: true
coppa_supported: true
coppa_supported: false
schain_supported: true
deals_supported: false
gpp_supported: true
floors_supported: true
media_types: banner, video
prebid_member: false
safeframes_ok: false
deals_supported: false
pbs_app_supported: false
fpd_supported: false
ortb_blocking_supported: false
media_types: banner, video, native
multiformat_supported: will-bid-on-one
userIds: all
pbjs: true
pbs: false
pbs_app_supported: true
safeframes_ok: true
sidebarType: 1
gvl_id: 1344
---

### Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|---------------|----------|--------------|---------------------------------|------------|
| `placementId` | optional | Placement Id | `'0'` | `'string'` |
| `endpointId` | optional | Endpoint Id | `'0'` | `'string'` |

### Note
| Name | Scope | Description | Example | Type |
|------------|----------|-------------------------------------------------------------------------------------------|------------------------------|----------|
| `cId` | required | The connection ID from ProgrammaticX. | `'562524b21b1c1f08117fc7f9'` | `string` |
| `pId` | required | The publisher ID from ProgrammaticX. | `'59ac17c192832d0011283fe3'` | `string` |
| `bidFloor` | optional | The minimum bid value desired. ProgrammaticX will not respond with bids lower than this value. | `0.90` | `float` |

### Example

```javascript
var adUnits = [{
code: 'banner-div',
mediaTypes: {
banner: {
sizes: [
[300, 250],
[728, 90]
]
}
},
bids: [{
bidder: 'programmaticX',
params: {
cId: '562524b21b1c1f08117fc7f9', // Required - PROVIDED DURING SETUP...
pId: '59ac17c192832d0011283fe3', // Required - PROVIDED DURING SETUP...
bidFloor: 1.23 // Optional
}
}]
}
];

For the prebid server and prebid.js you only need to use one parameter: either placementId or endpointId
// configure pbjs to enable user syncing
pbjs.setConfig({
userSync: {
filterSettings: {
iframe: {
bidders: 'programmaticX',
filter: 'include'
}
}
}
});
```