forked from prebid/prebid.github.io
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: add yandex id system docs * fix: add yandex id to adapters table * fix: update docs on how to add user id module * fix: adjust list type * Add storage config
- Loading branch information
Showing
2 changed files
with
43 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
--- | ||
layout: userid | ||
title: Yandex ID | ||
description: Yandex User ID sub-module | ||
useridmodule: yandexIdSystem | ||
--- | ||
|
||
Yandex ID module is designed to improve the personalization of ads for publishers' users. This documentation provides information about the Yandex User ID module, and instructions to install it. | ||
|
||
## Step 1. Add Yandex ID to Prebid.js package | ||
|
||
Add the module to your Prebid.js package: | ||
|
||
{: .alert.alert-info :} | ||
gulp build --modules=yandexIdSystem | ||
|
||
## Step 2. Enable Yandex ID | ||
|
||
Include the following call to `setConfig` in your Prebid.js code: | ||
|
||
```javascript | ||
pbjs.setConfig({ | ||
userSync: { | ||
userIds: [ | ||
{ | ||
name: 'yandex', | ||
bidders: ['yandex'], | ||
storage: { | ||
type: 'cookie', | ||
name: '_ym_uid', | ||
expires: 365, | ||
}, | ||
}, | ||
], | ||
}, | ||
}); | ||
``` |