Skip to content
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
105 changes: 105 additions & 0 deletions dev-docs/bidders/ybidder.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
---
layout: bidder
title: Ybidder
description: Prebid Ybidder Bidder Adapter
pbjs: true
pbs: true
biddercode: ybidder
gvl_id: 1253
usp_supported: true
gpp_sids: tcfeu
schain_supported: true
dchain_supported: false
floors_supported: true
userIds: all
tcfeu_supported: true
media_types: banner, video, native
safeframes_ok: true
deals_supported: true
sidebarType: 1
fpd_supported: true
multiformat_supported: will-bid-on-any

---

### Bid Params

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type |
|---------------|----------|----------------------------|--------------------------------------|-----------|
| `tagId` | required | tag ID | `"testnexx"` | `string` |
| `placement` | required*| Placement | `"TEST_PLACEMENT"` | `string` |

You *must* only include one ID field - either `tagId` or `placement`, not both. If you have questions on which parameter to use, please reach out to your Account Manager.
The `tagId` and `placement` are **mutually exclusive** but at least one is required. If you pass both, `tagId` takes precedence.

### First Party Data

Publishers should use the `ortb2` method of setting [First Party Data](/features/firstPartyData.html).
The following fields are supported:

* ortb2.site.ext.data.*
* ortb2.site.content.data[]
* ortb2.user.ext.data.*
* ortb2.user.data[]

### Test Parameters

```javascript
var adUnits = [
// Banner adUnit
{
code: 'banner-div',
mediaTypes: {
banner: {
sizes: [[300, 250], [300,600]]
}
},
bids: [{
bidder: 'ybidder',
params: {
tagId: 'testnexx'
}
}]
},
// Video adUnit
{
code: 'video1',
mediaTypes: {
video: {
playerSize: [640, 480],
context: 'instream'
}
},
bids: [{
bidder: 'ybidder',
params: {
tagId: 'testnexx'
}
}]
},
// Native adUnit
{
code: 'native1',
mediaTypes:
native: {
title: {
required: true
},
image: {
required: true
},
sponsoredBy: {
required: true
}
}
},
bids: [{
bidder: 'ybidder',
params: {
tagId: 'testnexx'
}
}]
}
];
```