AppsFlyer DSR integration
Automate privacy request handling by integrating MineOS with AppsFlyer.
Missing an action you need, or an integration we don't support yet? Contact your Customer Success Manager.
This integration automates privacy requests for AppsFlyer through its OpenDSR (GDPR requests) API. MineOS opens an erasure or access request for the requester and tracks it until AppsFlyer reports it as complete.
How It Works
- Delete: MineOS opens an erasure request in AppsFlyer for your app. The task stays in progress until AppsFlyer reports that the request is completed.
- Get a copy: MineOS opens an access request in AppsFlyer, collects the report once AppsFlyer has generated it, and includes it in the copy sent to the requester.
AppsFlyer processes these requests on its own schedule, typically within about 10 days. MineOS checks the status once a day, so an AppsFlyer task is usually the last one to close in a privacy request.
Choose the right integration type
AppsFlyer has no email or phone lookup. MineOS sends the requester's identifier to AppsFlyer under the identifier field you configure, which defaults to Customer User ID, so your app must populate that field with the same value. The three types differ only in which identifier MineOS takes from the request.
| Integration type | Identifier MineOS sends | Use it when |
|---|---|---|
| AppsFlyer (API, email) | The requester's email address | Your app sets the customer user ID to the user's email |
| AppsFlyer (API, phone) | The requester's phone number | Your app sets the customer user ID to the user's phone number |
| AppsFlyer (API, user ID) | The user's internal ID in your systems | Your app sets the customer user ID to your own user ID |
What MineOS Does in AppsFlyer
The integration works with AppsFlyer OpenDSR requests (erasure and access) for the app set in App ID and Platform.
- Finds the requester by: the requester's email address (AppsFlyer (API, email)), phone number (AppsFlyer (API, phone)) or internal user ID (AppsFlyer (API, user ID)). MineOS doesn't search AppsFlyer itself: it sends the value unchanged (
identity_formatraw) in the request'ssubject_identities, withidentity_typeset to the AppsFlyer identifier field (customer_user_idwhen empty), plus the App ID asproperty_idand theplatform. AppsFlyer matches the value against its own data. - Delete: MineOS opens an OpenDSR request of type
erasureand leaves the erasure itself to AppsFlyer. The task completes when AppsFlyer reports the request status ascompleted. If the action is triggered again for the same request, MineOS sends the samesubject_request_id, so AppsFlyer doesn't open a second request. - Get a copy includes: the report AppsFlyer generates for an OpenDSR
accessrequest, downloaded once the request status iscompleted. A CSV report is converted into records; a report in any other format is included as AppsFlyer delivers it.
Before You Start
- Make sure your AppsFlyer account has access to the OpenDSR (GDPR requests) API.
- Have an AppsFlyer admin create an API V2 token: open the account menu → Security center → AppsFlyer API tokens → Manage your AppsFlyer API tokens. AppsFlyer shows the token only once, so copy it right away.
- Have the App ID (for example
com.example.apporid123456789) and the platform (ios or android) of the app the requests cover.
Setting Up
- Log in to MineOS. On the left sidebar, click Inventory → Data Sources. Click Add Data Source, search for AppsFlyer and click Add.
- Open the AppsFlyer data source → Integrations tab → Request Handling section → select Integration, and choose the integration type that matches the identifier your app reports.
- Enter the connection details:
- V2 API Token: the token you created in AppsFlyer.
- App ID: the ID of the app the requests cover.
- Platform (ios / android): the platform of that app.
- AppsFlyer identifier field (optional): the AppsFlyer field that holds the identifier. Leave it empty to use
customer_user_id. Other accepted values areappsflyer_id,idfv,ios_advertising_id,android_advertising_id,fire_advertising_idandmicrosoft_advertising_id.
- Click Test your integration so MineOS can verify the details.
- Click Test & Save.
You're done! MineOS has been connected to your AppsFlyer account.
Troubleshooting
| Message | What to do |
|---|---|
| AppsFlyer App ID is missing | Enter the app's ID in the App ID field and test again. |
| "..." is not an AppsFlyer identifier field | Use one of the accepted values listed above, or leave the AppsFlyer identifier field empty. |
Using several integration types together
If your apps set the AppsFlyer customer user ID in different ways (for example, one app uses the email address and another uses the phone number), add one instance per identifier so MineOS finds the requester whichever ID was used.
Each integration type is a separate instance of the AppsFlyer data source, and you can add all of them to the same workflow:
- On the left sidebar, click Inventory and open the AppsFlyer data source.
- Go to the DSR & integrations tab and click Add instance.
- Under Action for fulfilling requests, select Integration. In the Integration Type dropdown, choose the next type (AppsFlyer (API, email), AppsFlyer (API, phone) or AppsFlyer (API, user ID)), then click Set up integration and connect it as described in Setting Up.
- Repeat steps 2 and 3 for each integration type you want to use.
- Open the privacy right's Eligibility & workflows tab. Under Data sources to process, click + Add and add each AppsFlyer instance. Add them to your deletion and get a copy workflows.
When a request comes in, MineOS runs every instance in the workflow and shows each one as a separate line in the request.
Using the Integration in Requests
To handle requests automatically, add the AppsFlyer integration to the workflows of the privacy rights it should handle, such as deletion or get a copy.
Need Help?
If you need any help with this integration, please contact your Customer Success Manager. They will be happy to assist you!
Updated 5 minutes ago
