Skip to content
Merged
Changes from 2 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
55 changes: 46 additions & 9 deletions dev-docs/bidders/contxtful.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ pbjs: true
pbs: true
pbs_app_supported: false
prebid_member: true
multiformar_supported: will-bid-on-any
multiformat_supported: true
Copy link
Contributor

Choose a reason for hiding this comment

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

Please use one of the enum values

multiformat_supported: will-bid-on-any, will-bid-on-one, will-not-bid

see https://docs.prebid.org/dev-docs/bidder-adaptor.html#submitting-your-adapter

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @muuki88 for the feedback, I made the changes

ortb_blocking_supported: true
---

Expand All @@ -32,13 +32,50 @@ The Contxtful bidder adapter requires some setup. Contact us at [contact@contxtf
| `placementId` | required | The placement identifier | `'p12345678'` | `string` |
| `customerId` | required | The customer identifier | `'DEMO123456'` | `string` |

### Configuration
### Configuration - Prebid.js Adapter

n.b. It is strongly recommended that you use the bid adapter in conjunction with the contxtful RTD provider module.

see: <https://docs.prebid.org/dev-docs/modules/contxtfulRtdProvider.html>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
see: <https://docs.prebid.org/dev-docs/modules/contxtfulRtdProvider.html>
see: [contxtfulRtdProvider](/dev-docs/modules/contxtfulRtdProvider)

Please use relative paths if referencing other stuff in the docs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @muuki88 ! I updated it as suggested.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks a lot @muuki88 , I applied your suggestion!


```javascript
pbjs.setConfig({
"contxtful":{
"version":"v1",
"customer":"<<CUSTOMER_ID_HERE>>"
"customer":"<CUSTOMER_ID_HERE>"
},
"realTimeData":{
"dataProviders":[
{
"name":"contxtful",
"waitForIt":true,
"params":{
"version":"v1",
"customer":"<CUSTOMER_ID_HERE>",
"bidders":[
"contxtful",
"<ALL_BIDDER_CODES>"
],
"adServerTargeting":true
}
}
]
}
}
);
```

### Configuration - Prebid Server Adapter

n.b. It is strongly recommended that you use the bid adapter in conjunction with the contxtful RTD provider module.

see: <https://docs.prebid.org/dev-docs/modules/contxtfulRtdProvider.html>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
see: <https://docs.prebid.org/dev-docs/modules/contxtfulRtdProvider.html>
see: [contxtfulRtdProvider](/dev-docs/modules/contxtfulRtdProvider)

Please use relative paths if referencing other stuff in the docs.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @muuki88 ! I made the change accordingly.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks @muuki88 I applied your suggestions


```javascript
pbjs.setConfig({
"s2sConfig":{
"bidders": ["contxtful", "<ALL_S2S_BIDDERS>"],
"<ALL_OTHER_STANDARD_KEY_VALUES>"
},
"realTimeData":{
"dataProviders":[
Expand All @@ -47,9 +84,9 @@ pbjs.setConfig({
"waitForIt":true,
"params":{
"version":"v1",
"customer":"<<CUSTOMER_ID_HERE>>",
"customer":"<CUSTOMER_ID_HERE>",
"bidders":[
"contxtful"
"<ALL_PAGE_BIDDER_CODES_INCLUDING_S2S>"
],
"adServerTargeting":true
}
Expand All @@ -76,18 +113,18 @@ AdUnit-specific data is supported using `AdUnit.ortb2Imp.ext.*`
var adUnitList = [
{
code: 'AD_UNIT_NAME_HERE',
mediaTypes: { /* "<< ENTER_FORMAT_HERE >> */ },
mediaTypes: { /* "<ENTER_FORMAT_HERE> */ },
bids: [{
bidder: 'contxtful',
params: {
placementId: "<<PLACEMENT_ID_HERE>>",
customerId: "<<CUSTOMER_ID_HERE>>"
placementId: "<PLACEMENT_ID_HERE>",
customerId: "<CUSTOMER_ID_HERE>"
}
}],
ortb2Imp: {
ext: {
data: {
divId: "<<EACH_AD_UNIT_DIV_ID>>"
divId: "<EACH_AD_UNIT_DIV_ID>"
}
}
}
Expand Down