You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Update documentation for RampID module (prebid#3695)
* Update userId module
Add storage.refreshInSeconds to example implementations
* Update userId.md
* Update ATS Analytics documentation
Provide extra information how to configure.
* Update ats.md
Please visit [https://liveramp.com/](https://liveramp.com/) for more information.
17
+
LiveRamp's ATS Analytics is free of charge and only requires a simple registration with Liveramp. Please sign up through our [Console](https://launch.liveramp.com) platform and create the analytics adapter to get started.
11
18
19
+
The LiveRamp privacy policy is at [https://liveramp.com/privacy/service-privacy-policy/](https://liveramp.com/privacy/service-privacy-policy/).
| pid | required | This is the Placement ID, a unique identifier that is used to identify each publisher, obtained from registering with LiveRamp. |`"999"`|`int`|
Please sign up through our [Console](https://launch.liveramp.com) platform and request a `placementId`.
1716
+
LiveRamp's RampID is free of charge and only requires a simple registration with Liveramp. Please sign up through our [Console](https://launch.liveramp.com) platform and request a Placement ID, a unique identifier that is used to identify each publisher, to get started.
1717
1717
1718
1718
The RampID privacy policy is at [https://liveramp.com/privacy/service-privacy-policy/](https://liveramp.com/privacy/service-privacy-policy/).
1719
1719
@@ -1722,14 +1722,25 @@ The RampID privacy policy is at [https://liveramp.com/privacy/service-privacy-po
1722
1722
{: .table .table-bordered .table-striped }
1723
1723
| Param under userSync.userIds[] | Scope | Type | Description | Example |
1724
1724
| --- | --- | --- | --- | --- |
1725
-
| name | Required |String|`"identityLink"`|`"identityLink"`|
1726
-
| params | Required for Id Link |Object| Details for RampID initialization. ||
1727
-
|params.pid| This parameter is required for RampID |String| This is the placementId, value needed for obtaining user’s RampID envelope
1728
-
|params.notUse3P| This parameter is not required for RampID |Boolean| Property for choosing should 3P Liveramp envelope endpoint be fired or not, in order to get RampID envelope
1725
+
| name | Required | String | The name of LiveRamp's user IDmodule. |`"identityLink"`|
1726
+
| params | Required |Object| Container of all module params. ||
1727
+
|params.pid| Required |String| This is the Placement ID, a unique identifier that is used to identify each publisher, obtained from registering with LiveRamp. |`999`|
1728
+
|params.notUse3P| Not required |Boolean| Property for choosing should 3P Liveramp envelope endpoint be fired or not, in order to get a RampID envelope (either `true` or `false`). |`true`|
1729
+
| storage | Required |Object| This object defines where and for how long the results of the call to get a RampID envelope will be stored. |
1730
+
|storage.type| Required |String| This parameter defines where the resolved RampID envelope will be stored (either `"cookie"` or `"html5"` localStorage). |`"cookie"`|
1731
+
|storage.name| Required |String| The name of the cookie or html5 localstorage where the resolved RampID envelope will be stored. LiveRamp requires `"idl_env"`. |`"idl_env"`|
1732
+
|storage.expires| Required | Integer | How long (in days) the RampID envelope information will be stored. To be GDPR and CCPA compliant, we strongly advise to set a 15-day TTL ("Time to Live"/ expiration time). If you are not planning to obtain RampID envelopes forEU/EEA or U.S. users, we advise you to change the expiration time to 30 days. |`15`|
1733
+
|storage.refreshInSeconds| Required | Integer | The amount oftime (in seconds) the RampID envelope should be cached in storage before calling LiveRamp again to retrieve a potentially updated value for the RampID envelope. |`1800`
1734
+
1735
+
{: .alert.alert-info :}
1736
+
**NOTE:** The RampID envelope that is delivered to Prebid will be encrypted by LiveRamp with a rotating key to avoid unauthorized usage and to enforce privacy requirements. Therefore, we strongly recommend setting `storage.refreshInSeconds` to 30minutes (1800 seconds) to ensure all demand partners receive an ID that has been encrypted with the latest key, has up-to-date privacy signals, and allows them to transact against it.
1729
1737
1730
1738
#### RampID Examples
1731
1739
1732
-
1) Publisher passes a placement ID and elects to store the RampID envelope in a cookie. Make sure that the expiration time of the cookie is similar to what is set inATS.
1740
+
1) Publisher passes a Placement ID and elects to store the RampID envelope in a cookie.
1741
+
1742
+
{: .alert.alert-info :}
1743
+
**NOTE:** Make sure that the expiration time of the cookie is similar to what is set in your ATS configuration.
1733
1744
1734
1745
1735
1746
{% highlight javascript %}
@@ -1738,38 +1749,43 @@ pbjs.setConfig({
1738
1749
userIds: [{
1739
1750
name:"identityLink",
1740
1751
params: {
1741
-
pid:'999', // Set your real RampID placement ID here
1752
+
pid:'999', // Set your valid Placement ID here
1742
1753
// notUse3P: true/false // If you do not want to use 3P endpoint to retrieve the envelope. If you do not set this property to true, 3P endpoint will be fired. By default this property is undefined and 3P request will be fired.
1743
1754
},
1744
1755
storage: {
1745
1756
type:"cookie",
1746
-
name:"idl_env", // "idl_env" is the required storage name
1747
-
expires:15// RampID envelope can last for 15 days
1757
+
name:"idl_env", // "idl_env" is the required storage name
1758
+
expires:15// Cookie can last for 15 days
1759
+
refreshInSeconds:1800
1748
1760
}
1749
1761
}],
1750
-
syncDelay:3000// 3 seconds after the first auction
1762
+
syncDelay:3000// 3 seconds after the first auction
1751
1763
}
1752
1764
});
1753
1765
{% endhighlight %}
1754
1766
1755
-
2) Publisher passes a placement ID and elects to store the RampID envelope inHTML5localStorage. Make sure that the expiration time for localstorage is similar to what is set inATS.
1767
+
2) Publisher passes a Placement ID and elects to store the RampID envelope inHTML5 localStorage.
1768
+
1769
+
{: .alert.alert-info :}
1770
+
**NOTE:** Make sure that the expiration time of the HTML5 localStorage is similar to what is set in your ATS configuration.
1756
1771
1757
1772
{% highlight javascript %}
1758
1773
pbjs.setConfig({
1759
1774
userSync: {
1760
1775
userIds: [{
1761
1776
name:"identityLink",
1762
1777
params: {
1763
-
pid:'999', // Set your real RampID placement ID here
1778
+
pid:'999', // Set your valid Placement ID here
1764
1779
// notUse3P: true/false // If you do not want to use 3P endpoint to retrieve the envelope. If you do not set this property to true, 3P endpoint will be fired. By default this property is undefined and 3P request will be fired.
1765
1780
},
1766
1781
storage: {
1767
1782
type:"html5",
1768
-
name:"idl_env", // "idl_env" is the required storage name
1769
-
expires:15// RampID envelope can last for 15 days
1783
+
name:"idl_env", // "idl_env" is the required storage name
1784
+
expires:15// HTML5 localStorage can last for 15 days
1785
+
refreshInSeconds:1800
1770
1786
}
1771
1787
}],
1772
-
syncDelay:3000
1788
+
syncDelay:3000// 3 seconds after the first auction
0 commit comments