Skip to content

Commit

Permalink
add Server Adaptoer
Browse files Browse the repository at this point in the history
add Server Adaptoer (fix-check list)

add Server Adaptoer (fix-check list)
  • Loading branch information
changjun committed Jul 17, 2023
1 parent 37c184d commit b76087b
Showing 1 changed file with 67 additions and 7 deletions.
74 changes: 67 additions & 7 deletions dev-docs/bidders/tpmn.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,23 @@ layout: bidder
title: TPMN
description: Prebid TPMN Bidder Adaptor
biddercode: tpmn
media_types: banner
media_types: banner, video, native
gdpr_supported: false
prebid_member: false
usp_supported: true
coppa_supported: true
gpp_supported: true
schain_supported: false
coppa_supported: false
usp_supported: false
dchain_supported: false
userId: none
safeframes_ok: true
floors_supported: false
fpd_supported: false
pbjs: true
pbs: false
pbs: true
pbs_app_supported: true
prebid_member: false
multiformat_supported: will-bid-on-one
ortb_blocking_supported: true
sidebarType: 1
---

Expand All @@ -22,7 +29,7 @@ sidebarType: 1
To use this bidder you will need an account and a valid unit from us.
For further information, please contact `info@tpmn.io`

### Bid Params
### Prebid.js Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
Expand All @@ -38,7 +45,7 @@ This functionality improves partners' user match rates and increases the TPMN bi
Even if iFrame is not active, user sync of some partners is performed.
Be sure to call `pbjs.setConfig()` only once.

```
```javascript
pbjs.setConfig({
userSync: {
iframeEnabled: true,
Expand All @@ -51,3 +58,56 @@ pbjs.setConfig({
}
});
```

### Prebid Server Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|---------------|----------|----------------|------------------|-----------|
| `inventoryId` | required | Inventory ID | `'1'` | `string` |
| `publisherId` | required | Publisher ID | `'TPMN'` | `string` |

### Prebid Server Test Request

The following test parameters can be used to verify that Prebid Server is working properly with the
TPMN adapter. This example includes an `imp` object with an TPMN test publisher ID, ad slot,
and sizes that would match with the test creative.

```json
{
"id": "request_id",
"imp": [
{
"id": "imp_id",
"banner": {
"w": 300,
"h": 250
},
"ext": {
"tpmn": {
"inventoryid": "some-inventoryid",
"publisherid": "some-publisherid"
}
}
}
],
"app": {
"bundle": "Tpmn.PrebidMobileDemo",
"ext": {
"prebid": {
"version": "0.2.0",
"source": "prebid-mobile"
}
},
"publisher": {
"id": "1234"
},
"ver": "1.0"
},
"device": {
"os": "some-Os",
"ua": "some-agent"
},
"tmax": 5000
}
```

0 comments on commit b76087b

Please sign in to comment.