1. Set user's id

Our SDK provides the transfer of user data for better ad targeting and higher eCPM. All parameters are optional.

To obtain reference to the user settings, please call this before Appodeal initialization:


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.

2. Set the age of the user

Age must be a positive integer value.

3. Specify gender of the user

Possible values:

  • AppodealUserGenderFemale,
  • AppodealUserGenderMale,
  • AppodealUserGenderOther.

4. Track in-app purchases

Tracks in-app purchase information and sends info to Appodeal servers for analytics. It allows to group users by the fact of purchasing in-apps. This will help you adjust the ads for such users or simply turn it off, if needed. To make this setting work correctly, please submit the purchase info via the Appodeal SDK.


Appodeal.track(inAppPurchase: 123, currency: "Currency")

5. Set location tracking

Should be called before the SDK initialization.

The SDK will check the location permission on the user's device. If this permission is missing, the user will get an alert message with the request for location tracking.

6. Update user consent

If you are using Stack Consent Manager all changes will be synchronise automatically.

If your application designed the way that user can change given consent in the application runtime, you can update consent in Appodeal with method: 


7. Send extra data

You can send key-value data to Appodeal. There is a pre-installed key kAPDAppsFlyerIdExtrasKey

Appodeal.setExtras([Any : Any])