User Data
Our SDK provides user data tranfer for better ad targeting and higher eCPM. All parameters are optional.
Set User Id
To assign an ID to a user, please call this method before Appodeal initialization:
- Kotlin
- Java
Appodeal.setUserId(userId = "user_id")
Appodeal.setUserId("user_id");
For data privacy and GDPR-compliance reasons, you may NOT use email address, phone number, real name or any other personally identifiable information in the user ID you set with this call.
Custom Segment Matching
If the logic of your application allows specifying user's characteristics, then you can pass specific parameters to the Appodeal SDK. You can use Segments in the future.
- Kotlin
- Java
Appodeal.setCustomFilter(name: String, value: Any?)
Appodeal.setCustomFilter(@NonNull String name, @Nullable Object value);
Send Extra Data
You can send key-value data to Appodeal.
- Kotlin
- Java
Appodeal.setExtraData(name: String, value: Any?)
Appodeal.setExtraData(@NonNull String name, @Nullable Object value);
To send the device identifier from a mobile attribution service and match it with Appodeal user id,
use attribution_id
as a key and a unique identifier from your attribution service as a value and
if you use this method for attribution call it before Appodeal SDK initialization.