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
89 changes: 4 additions & 85 deletions dev-docs/bidders/yandex.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,15 @@ layout: bidder
title: Yandex
description: Prebid Yandex Bidder Adapter
pbjs: true
pbs: true
biddercode: yandex
media_types: banner, native
media_types: banner
sidebarType: 1
privacy_sandbox: topics
---

### Prebid Client

This Adapter integrates with Yandex's ad services.
This Adapter integrates with Yandex's ad services. Please reach out to <prebid@yandex-team.com> for the integration guide and more details.

{: .alert.alert-info :}
For detailed auction analytics, check out our [Analytics Adapter](/dev-docs/analytics/yandex.html).
Expand All @@ -35,10 +34,10 @@ To improve the personalization of ads for publishers’ users, check out our [Us
```js
// Simple banner
const adUnits = [{
code: 'banner-1',
code: 'adunit-1',
mediaTypes: {
banner: {
sizes: [[240, 400]],
sizes: [[300, 250]],
}
},
bids: [
Expand All @@ -51,50 +50,6 @@ const adUnits = [{
}
]
}];

// Native
const adUnits = [{
code: 'native-1',
mediaTypes: {
native: {
ortb: {
assets: [{
id: 1,
required: 1,
img: {
type: 3,
w: 300,
h: 300,
}
},
{
id: 2,
required: 1,
title: {
len: 80
}
},
{
id: 3,
required: 1,
data: {
type: 1
}
}
]
}
}
},
bids: [
{
bidder: 'yandex',
params: {
placementId: 'R-A-346580-140', // native adunit ID
cur: 'USD' // EUR, TRY, etc.
},
}
]
}];
```

#### Topics Iframe Configuration
Expand All @@ -115,39 +70,3 @@ pbjs.setConfig({
}
})
```

### Prebid Server

{: .alert.alert-info :}
We maintain both **PBS Java** and **PBS Go** adapters, but **PBS Go** is recommended for integration and will receive updates first

#### Server Bid Params

These params are basically the same that you'd use for

{: .table .table-bordered .table-striped }
| Name | Scope | Description | Example | Type | Supported in |
| -------------- | --------------------------------------------------- | ---------------------------------- | --------------- | --------- | ---------------- |
| `placement_id` | required | Ad unit ID. Prebid versions > 7.30 | `R-A-1234567-1` | `String` | PBS Go |
| `page_id` | optional, **deprecated** in favor of `placement_id` | Page ID | `123` | `Integer` | PBS Go, PBS Java |
| `imp_id` | optional, **deprecated** in favor of `placement_id` | Imp ID | `1` | `Integer` | PBS Go, PBS Java |

#### Prebid Server Test Request

The following test parameters can be used to verify that Prebid Server is working properly with the
server-side adapter.

```json
"imp": [{
"id": "imp_id",
"banner": {
"w": 300,
"h": 600
},
"ext": {
"bidder": {
"placement_id": "R-A-1234567-1"
}
}
}]
```