At a glance: Enable attribution measurement and postback sending to partners by connecting AppsFlyer to your integrated partners.
Partners, media sources, and third-party platforms integrate with AppsFlyer by API. This article contains the generic instructions to activate and set up the integration, including generating attribution links for non-SRN ad networks.
- This guide isn't applicable to SRNs. Use the SRN explicit article.
- Some ad networks have dedicated articles.
- Before setting up the configuration, you must contact the partner and open an account with them.
Partner types in the ecosystem
The image that follows contains the different partner types that form the attribution ecosystem.
Related reading: AppsFlyer Performance Index ranks mobile media sources by category and region.
Run campaigns on your behalf.
|Agencies||Use their expertise to get high-quality users by running campaigns on your behalf. You can have a transparent or non-transparent relationship.|
|Marketing partners||Marketing partners specialize in working with specific ad networks. Examples: Facebook marketing partners, Apple Search Ads marketing partners, Twitter official ads partners.|
|Retargeting networks||Ad networks specializing in running retargeting campaigns.|
|Third-party platforms||Provide BI-related services like analytics and marketing automation platforms.|
|TV attribution||Partners enabling more accurate attribution of new installs to aired TV ads.|
|Fraud detection||External third-party anti-fraud systems which are not part of the AppsFlyer Protect360 anti-fraud solution.|
Partners in the marketplace
All partners, media sources, and other platforms integrated with AppsFlyer are found in the marketplace. You can see all your partners (active and inactive) and search for new partners to connect with.
To search and filter all partners, media sources, or other platforms in the Marketplace:
- From the top menu of any AppsFlyer page, click Partner Marketplace (Beta), and use the various search filters.
Invite new partners to AppsFlyer
If the partner you're working with isn't yet integrated with AppsFlyer, you can send them an invitation link.
Your integrated partners
- The list of your active partners varies according to the selected app. You can see which partners are connected to other apps by clicking the app from the top-left corner and selecting a different app.
- All other partners, media sources, and other platforms integrated with AppsFlyer are found in the marketplace.
To search and filter the list of your active partners:
- In AppsFlyer, go to Configuration > Integrated Partners and use the text search bar or the filters.
List of active partners
A. Explore the marketplace
|Click Explore the marketplace to go to the marketplace, where you can find all partners integrated with AppsFlyer.|
B. Change apps
You can now see all integrated partners for the selected app.
C. Text search
|Enter text to search for a partner.|
|E. Review and deactivate|
F. Partner capability
Active partners support the highlighted capabilities:
For iOS apps, the Apple privacy capabilities appear:
G. Data richness
Hover over the data richness badge to see the score components:
Related reading: Data richness score calculation for partners.
About the Integrated partner page
The page is structured as follows:
- Header, containing:
- Partner name
- Link to a dedicated partner article. If no dedicated article exists, this article displays.
- Integration status
- Selected app
- Settings tabs: The tabs available depend on the partner type and capabilities.
- Back to list: Return to the Integrated Partners list using the filtering options selected previously.
- Status message: Current status of the tab data (for example, saving, saved, error, there are unsaved changes).
- Discard Changes: Undo the last changes without saving.
- Save: Save the settings of the current tab only.
Applicable settings tabs per partner type
Additional tabs available: Cost, ad revenue, attribution link
Includes ad networks, affiliate networks, direct publishers, programmatic advertising, China domestic ad networks, and retargeting Networks.
|Agency||N||Y||Stand-alone agencies that don't function as ad networks|
|Third-party||Y||N||Analytics or marketing automation platforms|
Set up a partner (non-SRN)
To access the settings and configure your campaigns with the partner:
- Search for your partner, either from the marketplace or from the Configuration > Integrated Partners page.
- Complete the settings per tab, as required. See the following sections.
The General settings step in the Integration tab is mandatory for all partners. You must also complete the Attribution link tab for non-SRN ad networks. The remaining tabs are optional.
Partner integrations differ in their requirements and can contain a subset of all possible options described in this section. There are some differences between iOS and Android settings.
Complete the sections as required.
Before sharing attribution links with a partner, you must enable Activate partner and complete the remaining sections of the Integration tab.
To activate an integrated partner:
For iOS apps only:
When Advanced Privacy (for iOS 14.5+ and later) is turned on, you can control what data is shared with the partner via postbacks and reports. This limits the sharing of user identifiers with the partner. Note that when Aggregated Advanced Privacy toggle is turned on in App Settings, Advanced Privacy (for iOS 14.5+ and later) is turned on and locked.
For iOS apps only:
When Share SKAN transaction ID is turned on, you're allowing AppsFlyer to share the transaction ID of SKAdNetwork postbacks with the partner. By doing so, the partner could decode your SKAdNetwork Conversion Values.
Some partners require credentials for AppsFlyer to integrate with them. Partners refer to this ID as app ID, account ID, user ID, or network ID. If this field displays, get the ID from the partner dashboard and enter it in the field.
Enable view-through attribution
If enabled, view-through installs sent by this partner are attributed.
If the partner integration is on, AppsFlyer sends default postbacks relating to user actions, such as installs, launches, re-engagements, and rejected events.
To configure default postbacks for the partner, define the source of users for sending postbacks:
Map AppsFlyer events with the partner via postbacks. If postback sending is enabled, this includes rejected in-app events (events blocked by Protect360 or events found to be non-compliant by target validation rules).
To configure in-app event postbacks:
Related reading: In-app event postbacks configuration.
|Click Save Integration after making the changes.|
Connect more apps (optional)
After saving the integration, while remaining on the configuration page, you can integrate more of your apps with the partner.
Attribution link tab
Generate and save attribution links for the use of click (non-SRN) ad networks, and send the attribution link to the partner to attribute specific campaigns, ad sets, or single ads.
Note: SRNs don't implement advertiser-generated attribution links so this tab isn't relevant to SRN campaigns.
To generate an attribution link:
Select either Use a single-platform link or Use OneLink.
Select Use a single-platform link if any of the following apply:
- You plan to use only URI schemes to open the app.
- You don't need to deep link with the URL.
Select Use OneLink if any of the following apply:
- You want a single link for both Android and iOS apps.
- You want to use Android App Links or iOS Universal Links to open the app.
- You want deep linking capabilities.
Note: Selecting OneLink changes the click recording link from app specific to a OneLink URL.
If you selected Use OneLink:
- Select which OneLink template you want to use to open the app (and potentially deep link).
- [Optional] Enter the Deep link value.
- [Optional] Enter the Additional deep link value.
- Add parameters for Android and iOS, as needed.
- [Optional] Select additional attribution parameters.
Attribution link parameters
Adding parameters to the attribution link enables you to perform thorough drill-down analyses. Parameters that are already defined on the attribution link can be edited by adding them and their new values here. When saving the attribution link, all the parameters configured in this tab are saved.
Select which parameters you want to add to the attribution link.
|Name||Description||Attribution link parameter|
Compare different campaigns running with the media source.
|Adset||Compare different ad sets within specific campaigns of the media source.||af_adset|
|Ad Name||Compare different creatives within specific ad sets within specific campaigns of the media source.||af_ad|
|Site ID and Sub Site ID||
Set Site ID to attribute installs to specific publishers.
The site ID must be passed to AppsFlyer in the attribution link because it:
Note that a missing Site ID won't affect attribution. Learn more about Site ID parameter.
If there are many publishers, we advise limiting the number of used site IDs and using the subsite ID parameter, to avoid exceeding the site ID limitations.
|af_siteid and af_sub_siteid|
|Subscriber Parameters||Use any of the 5 subscriber parameters to insert useful values. Note that these parameters get parsed and appear in the raw data report, which makes them very handy for performing data aggregation or filtering.||af_sub1, af_sub2, af_sub3, af_sub4, af_sub5|
You can add other parameters to the attribution link by typing it in a new parameter box. You can use all AppsFlyer available URL parameters. Note that only URI scheme and OneLink parameters are encoded on the attribution link.
When retargeting is on: AppsFlyer recognizes a link as a retargeting attribution link, rather than a user acquisition link, by adding the
&is_retargeting=true to the attribution link.
Attribution link parameter: is_retargeting
To use your link for retargeting:
Turn on Retargeting settings.
- [Optional] Enter a URI scheme if you want a URI scheme to open the app.
- URI schemes are recommended as a fallback method to open the app if Universal Links or App Links fail.
- If you add a URI scheme here, it overrides any other URI schemes already in your OneLink template settings.
- URI scheme is added to the link in the af_dp parameter.
- [Optional] Turn on Ignore active users for retargeting.
- Set the inactive window to determine which users are considered active and inactive.
Set the re-engagement window to determine the time period following the re-engagement, where the user's in-app events are attributed to the retargeting media source.
- You can set the value in days (1-90), hours (up to 23), or even lifetime.
- The re-engagement window is added to the link in the af_reengagement_window parameter.
Use the setting to set the maximum time from click to install. Only installs (first launches) that take place within the lookback window are attributed.
Permitted range: 1-23 hours or 1-30 days.
Attribution link parameter: af_click_lookback
Learn more about click lookback window.
Click attribution link
This is the attribution link that contains all the setup information you have set for it. You can save the link for future reference by clicking Save attribution link.
To copy the click attribution link:
- Click Save attribution link.
- Copy the generated link.
Send the link to the partner to be activated when your leads click on a corresponding ad.
View-through attribution lookback window
Set the maximum time from impression to install. Only installs (first launches) that take place within this lookback window, following an ad impression, are attributed to the partner, providing there was no other relevant ad click.
You can customize this value to 1-24 hours.
Attribution link parameter: af_viewthrough_lookback
Learn more about view-through attribution.
Impressions attribution link
The impression attribution link contains similar attribution data to the click recording link (besides the different lookback window). You can save the link for future reference by clicking Save attribution link.
Click Save attribution link and then copy the generated link.
To copy the impressions attribution link:
- Click Save attribution link.
- Copy the generated link.
Send it to the partner to be activated when a corresponding ad is watched, usually for 1 second or more.
- Cost data is reported by integrated partners on the click or by Cost API.
- The best practice is to implement Cost API.
- Cost API includes clicks and impressions reports. See the ad network cost integration table for full details on the supported dimensions, metrics, and features.
If an advertiser uses an agency to run their campaigns, the agency, and not the advertiser, should integrate with the relevant partners. Otherwise, if both the advertiser and agency integrate with a partner using the same credentials for the same app, cost data is duplicated.
Enabling cost data by API
To enable the cost API:
- Follow these integration instructions.
Cost data sync status
View your cost API status and the last time AppsFlyer managed to pull matching cost data in either the cost (and ad revenue) integration status dashboard, or in the individual ad network dashboard.
Ad revenue tab
If you act as a publisher displaying ads in your app, the ad revenue function enables you to attribute ad revenue to the media source that brought the user. About ad revenue attribution.
Enable ad revenue attribution
- Check to see which method, aggregate or user-level attribution, the partner supports.
- Follow the appropriate method in the ad revenue integration guide.
Ad revenue API status messages
|Active||The connection is live and pulling data.|
|No data to pull was found.||The connection was successful. The partner did not have any data related to this app.|
|Partner API not responding. Contact AppsFlyer support.||The partner's server isnot responding to AppsFlyer.|
|Invalid credentials. Enter updated credentials.|
|Something went wrong. Contact AppsFlyer support.||There is a technical problem.|
|Partner data not yet ready. If the problem persists, contact AppsFlyer support.|
|Data is being processed and will be available soon.||We are currently processing the data received from the partner. The data will be available in the dashboards and reports.|
|Data was never successfully pulled||If this status persists for a further hour contact AppsFlyer support.|
- Enable the partner to perform various actions and to access your data according to the available permissions.
- You don't have to have attribution integration enabled with a partner to grant them permissions.
- Ad network set up by an agency: When partner setup is performed by an agency, the advertiser can view neither the ad network activation status nor the permissions granted.
- If your relationship with the partner is as an agency only, disregard the Ad Network Permissions section and set the Agency Permissions section.
Ad network permissions
To grant permissions to an ad network:
- Enable Ad Network Permissions.
- The app appears on the ad network's dashboard.
- Permissions are granted only to the specified ad network.
- The ad network admin can see basic data about the app.
- Grant permissions to ad network team members:
- [Default] The ad network admin has access to your app by default.
- To grant specific team members permissions, you need to add them using their email addresses.
To add a team member:
- Click Add team member.
- Enter the email of the ad network team member.
- Click Add.
- Select additional permissions to grant to the ad network:
Allow the partner to ...
Capability granted. The partner can ...
Change parameters in the integration tab
Configure in-app event postbacks
- Create, define, and change postbacks settings.
- Caution! When this permission and Configure integration are enabled simultaneously: the ad network has access to all events. This includes organic traffic and non-organic traffic from all media sources.
Access retention report
Access the app retention report.
They will see only data that relates to their sessions.
Access aggregate loyal users data
Access their own loyal users metric.
Access aggregate conversions data
Access their aggregate conversion events metrics. This includes installs, re-engagements, re-installs, and re-attributions. Example: Aggregated campaign performance for ad networks report.
Access aggregate in-app events data
- Access to in-app event data (the partner has access to all in-app events data, including Protect360 in-app events data, not only to the events mapped in the postback configuration).
- Access ad monetization data which may include ad monetization events from other media sources.
Access aggregate revenue data
- Access in-app and ad revenue data attributed to users brought by the ad network. Note: This permission does not directly identify the ad revenue partner. However, if you have set the monetization event name to include the partner name, you may inadvertently disclose the identity of the monetization network.
Use ad spend ingestion
- Access the Ad Spend Ingestion window.
- The Ad Spend Ingestion window displays only the apps they have permission for.
- Send ad spend files for ingestion.
Access Protect360 dashboard & raw data
- Access their Protect360 dashboard (including ProtectLITE).
- Access raw data if you subscribe to one of the following: Protect 360, Validation rules, or raw data. ProtectLITE doesn't include access to raw data.
Access ad revenue raw data
Access their ad revenue data to use for UA optimization.
View validation rules
View validation rule details.
- When you grant permission to agencies, they can grant permission to manage your apps to the ad networks they work with. It’s the same as granting permissions to ad networks.
- If you work with an ad network and your agency also works with this ad network, both of you can edit the ad network team members' permission to view the app’s dashboard. This means that if you see new ad network team members that you didn’t add, or team members that you didn't remove are missing, it’s possible that the marketer added or removed them.
- Caution: Agency installs occurring while the control is disabled are not attributed to the agency and don't show up on the agency's dashboard and data. Learn more about agency activation.
- Read all about what agencies can do when granted permissions.
To grant permissions to an agency:
- Enable Agency permissions.
- Select the permissions to grant to the agency:
Allow the agency to... Capability granted. The agency can... Change Advanced Privacy configuration Allow the agency to change an ad network's Advanced Privacy data sharing setting. Access Protect360 dashboard & raw data
- The agency can access your Protect360 dashboard.
- Can access raw data if you subscribe to one of the following: Protect 360, Validation rules, or raw data.
- Can view and add rules with Protect360 conditions.
For advertisers that work with ad networks through an agency, in order for both the ad network and agency to access data, the advertiser must integrate both the agency and ad network in AppsFlyer, and grant them both permission to access data.
If only the agency is integrated and granted permission, the ad network does not have access to the data.
Access retention and cohort reports Retention/cohort data created by the users brought by the agency only. Access aggregate organic data Access raw-data reports Get raw data reports relating to traffic attributed to the agency.
Configure in-app event postbacks
Permit the agency to set up in-app event postbacks mapping to itself on the integration tab. Add at least one event.
- Events Sharing Permissions:
- This partner only: send only events from the agency's own brought traffic to the app.
- All media sources, including organic: send events from all sources of your traffic, including other media sources, agencies, and organic users.
- Allow to send event revenue: Enable to permit the agency to send events including their monetary value.
- AppsFlyer event: Click Add event and pick the event from the drop-down menu.
Make sure to select specific events you want to grant the agency permission to.
View validation rules
View validation rule details.
Add validation rules
Add and edit validation rules. Note: Agencies can't edit rules created by advertisers.
Learn more about working with agencies.
Test the integration
After completing the partner integration, and before you start running campaigns with the newly added partner, it's important to test the integration. Mistakes are most likely to occur during setup. Testing in advance avoids the risk of spending considerable resources, only to discover your attribution data is missing or wrong.
Before testing the integration, make sure to first test the app for basic SDK integration, including organic and non-organic installs.
Test the attribution link for non-SRNs
Non-SRN ad networks, which consist of 99.5% of integrated ad networks, use AppsFlyer attribution links. Similarly, owned media attribution is performed by using AppsFlyer custom attribution links.
Since correct attribution depends on the parameters of the attribution links, test these links before you start to run a campaign with a non-SRN ad network or a custom attribution link.
To test attribution links:
- Create an attribution link.
- Send the new attribution link to your registered test device (via email or QR code).
- Click on the link, make sure you're redirected to the app store.
- Install the app.
- Launch the app.
- Check if the install appears in the AppsFlyer dashboard under the partner's media source name. Allow up to 30 minutes for the install to appear in the dashboard.
- Drill down to the campaign level (by selecting the partner in the Media source filter on the top of the overview page) to check the install appears under the correct campaign name.
- If necessary, continue to drill down and check the ad set and single ad levels too.
Test the SRN integration
SRNs such as Facebook, Apple Search Ads, and Google Ads don't rely on external attribution links for attribution purposes. Instead, SRNs receive queries from AppsFlyer, attribute themselves, and return the answer. Therefore, it isn't feasible to test the integration separately from the network's system as with regular ad networks. You must separately test the integration with each SRN you work with.
To test SRN integration:
- Perform the full SRN setup on AppsFlyer in accordance with the specific partner's setup guide: Facebook, Google Ads, Twitter, Apple Search Ads, Snapchat.
- Run a new low-budget campaign with the SRN partner.
- When the partner dashboard displays new installs check if they appear in the AppsFlyer dashboard under the partner's media source name.
- In the Overview dashboard, drill down to the campaign level, by selecting the partner in the Media source filter, to check that the install appears under the correct campaign name. Allow up to 30 minutes for the install to appear in the dashboard.
- If necessary, continue to drill down to check the adset and single ad levels.
If all is well you can start running new high-budget campaigns with the partner. It is sufficient to test integration once per SRN partner. Meaning, there's no need to test on a per campaign basis.
Test the raw data
If your subscription plan with AppsFlyer includes access to raw data, you should test raw data.
To test raw data:
- After performing the test mentioned previously, go to Reports > Export Data.
- Select the tested media source.
- Allow up to 15 minutes from the install and then download the Installs report.
- Check the install records from the partner exist and include parameters such as the media source, campaign name, touch time and type, device ID (if applicable), agency name (called "Partner" in the report), and so on.
Some ad networks require special actions to enable the collection of raw user-level data.
If you see a new install on the dashboard but don't see it in the raw data, consult the specific Help Center guide for the ad network, for example - Twitter.