User Signals API
Last updated
As of DT Exchange Android SDK version 8.4.2, publishers can submit first-party data (user signals) such as The Trade Desk UID2 tokens and LiveRamp envelopes. Submitting user signals provides DT with deeper insights into user behavior and publisher-specific metrics so that we can better target ads to your users and increase fill rates. Additionally, if you are mediating DT Exchange, implementation of User Signals remains the same, no matter which mediation platform you use.
To submit user signals:
Ensure that you have integrated the latest DT Exchange Android SDK. For the latest version, see Integrating the Android SDK.
For each user signal you want to submit, send the data as key-value pairs in the setExtraData method within the InneractiveAdManager.
To pass multiple user signals, call the method once for every data point you wish to send.
Calling the setExtraData method with a key that has already been sent overwrites the previous value associated with that key.
public static void setExtraData(String key, String value)Submit any of the following user signals as key-value pairs in the setExtraData method. The maximum value you can send is 512 characters.
UID2
UID2.0 token from The Trade Desk
LRE
LiveRamp envelope.
Do not submit the LiveRamp ID.
// Passing the first user signal
InneractiveAdManager.setExtraData("UID2", "UID2.0_access_token");
// Passing the second user signal
InneractiveAdManager.setExtraData("LRE", "LiveRamp_envelope");
Last updated

