File tree Expand file tree Collapse file tree 1 file changed +41
-0
lines changed
dev-docs/modules/userid-submodules Expand file tree Collapse file tree 1 file changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ layout : userid
3
+ title : MyGaru ID
4
+ description : MyGaru User ID sub-module
5
+ useridmodule : mygaruIdSystem
6
+ ---
7
+
8
+ MyGaru provides single use tokens as a UserId for SSPs and DSP that consume telecom DMP data.
9
+
10
+ ## MyGaru ID Configuration
11
+
12
+ First, add the AMX ID module to your Prebid.js build:
13
+
14
+ ``` shell
15
+ gulp build --modules=userId,myGaruIdSystem
16
+ ```
17
+
18
+ Then configure the MyGaru id submodule in your ` userSync ` configuration:
19
+
20
+ Params configuration is not required.
21
+ Mygaru id system is asynchronous and in order to get ids for initial ad auctions you need to add an ` auctionDelay ` param to your ` userSync ` config.
22
+ _ Currently, Mygaru id system does not operate in EU region._
23
+
24
+ ``` javascript
25
+ pbjs .setConfig ({
26
+ userSync: {
27
+ auctionDelay: 100 ,
28
+ userIds: [{
29
+ name: ' mygaruId' ,
30
+ }]
31
+ }
32
+ });
33
+ ```
34
+
35
+ This will add a ` userId.mygaru ` property to all bidRequests:
36
+
37
+ ``` javascript
38
+ {
39
+ mygaru: ' vatfS0UEgXShEqYuQy0lpzWl7rSuKeNs0U8C8841KoYbFUiyvTpS'
40
+ }
41
+ ```
You can’t perform that action at this time.
0 commit comments