Yandex
Features
Bidder Code | yandex | Prebid.org Member | no |
---|---|---|---|
Prebid.js Adapter | yes | Prebid Server Adapter | yes |
Media Types | display, native | Multi Format Support | check with bidder |
TCF-EU Support | no | IAB GVL ID | check with bidder |
GPP Support | check with bidder | DSA Support | check with bidder |
USP/CCPA Support | check with bidder | COPPA Support | check with bidder |
Supply Chain Support | check with bidder | Demand Chain Support | check with bidder |
Safeframes OK | check with bidder | Supports Deals | check with bidder |
Floors Module Support | check with bidder | First Party Data Support | check with bidder |
User IDs | none | ORTB Blocking Support | check with bidder |
Privacy Sandbox | topics | Prebid Server App Support | check with bidder |
Prebid Client
This Adapter integrates with Yandex’s ad services.
Note: For detailed auction analytics, check out our Analytics Adapter.
Client Bid Params
Name | Scope | Description | Example | Type |
---|---|---|---|---|
placementId |
required | Ad unit ID. Prebid versions > 7.30 | R-A-1234567-1 |
String |
cur |
optional | CPM currency to be received. Prebid versions > 8.4 | CHF , GBP , USD , EUR , TRY |
String |
pageId |
optional, deprecated in favor of placementId |
Page ID | 123 |
Integer |
impId |
optional, deprecated in favor of placementId |
Imp ID | 1 |
Integer |
Client Test Parameters
// Simple banner
const adUnits = [{
code: 'banner-1',
mediaTypes: {
banner: {
sizes: [[240, 400]],
}
},
bids: [
{
bidder: 'yandex',
params: {
placementId: 'R-A-1234567-1',
cur: 'USD',
},
}
]
}];
// Native
const adUnits = [{
code: 'native-1',
mediaTypes: {
native: {
sendTargetingKeys: false,
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
Topics First Party Data (FPD) Module topicsFpdModule
should be included in prebid final package to call topics API.
pbjs.setConfig({
userSync: {
// ...,
topics: {
bidders: [{
bidder: 'yandex',
iframeURL: 'https://yandex.ru/ads/prebid/topics_frame.html'
}]
}
// ...
}
})
Prebid Server
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
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.
"imp": [{
"id": "imp_id",
"banner": {
"w": 300,
"h": 600
},
"ext": {
"bidder": {
"placement_id": "R-A-1234567-1"
}
}
}]
"Send All Bids" Ad Server Keys
These are the bidder-specific keys that would be targeted within GAM in a Send-All-Bids scenario. GAM truncates keys to 20 characters.hb_pb_yandex |
hb_bidder_yandex |
hb_adid_yandex |
hb_size_yandex |
hb_source_yandex |
hb_format_yandex |
hb_cache_host_yandex |
hb_cache_id_yandex |
hb_uuid_yandex |
hb_cache_path_yandex |
hb_deal_yandex |