Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Bidder:tapnative #5654

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
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
92 changes: 92 additions & 0 deletions dev-docs/bidders/tapnative.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
---
layout: bidder
title: Tapnative
description: Prebid Tapnative Bidder Adaptor
pbjs: true
biddercode: tapnative
media_types: banner, native
tcfeu_supported: false
usp_supported: true
coppa_supported: true
gpp_sids: usstate_all
schain_supported: false
safeframes_ok: false
ortb_blocking_supported: false
dsa_supported: false
deals_supported: true
floors_supported: true
sidebarType: 1
---
### Registration

For assistance or setup instructions, please contact us at <support@tapnative.com>.

### Banner Params

bretg marked this conversation as resolved.
Show resolved Hide resolved
{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|----------------|-----------|-----------------------|----------------|----------|
| `placement_id` | mandatory | Placement Id | `111520` | `number` |
| `height` | optional | Height of the creative| `250` | `number` |
| `width` | optional | Width of the creative | `300` | `number` |
| `bid_floor` | optional | Bid Floor Price | `0.5` | `decimal`|

### AdUnit Format for Banner

```javascript
var adUnits = [
{
code: 'banner-ad',
mediaTypes: {
banner: {
sizes: [[300, 250]]
}
},
bids: [{
bidder: 'tapnative',
params: {
placement_id: 111520,
height: 250,
width: 300,
bid_floor: 0.5
}
}]
}
];
```

### Native Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|----------------|-----------|-----------------------|----------------|----------|
| `placement_id` | mandatory | Placement Id | `111519` | `number` |
| `bid_floor` | optional | Bid Floor Price | `1` | `decimal`|

### AdUnit Format for Native

```javascript
var adUnits = [
{
code: 'native-ad-container',
mediaTypes: {
native: {
title: { required: true, len: 100 },
image: { required: true, sizes: [300, 250] },
sponsored: { required: false },
clickUrl: { required: true },
desc: { required: true },
icon: { required: false, sizes: [50, 50] },
cta: { required: false }
}
},
bids: [{
bidder: 'tapnative',
params: {
placement_id: 111519, // Required parameter
bid_floor: 1 // Optional parameter
}
}]
}
];
```