Facebook Ads Configuration


To use Facebook mobile app ads, you just need to create a Facebook application. This does not mean you have to implement Facebook Login or integrate your app with Facebook; you only need an app on Facebook to get the Facebook app ID. If you do not already have one, you can create this by visiting the App Dashboard and clicking Create New App under Apps. You are asked to complete a name for your app, and a unique namespace. 

Setting-Up Facebook Tracking

To start tracking Facebook campaigns with AppsFlyer, follow these steps:

Video Text


Your app MUST collect IDFA or GAID or all your Facebook installs are attributed as organic. For further information refer to the SDK Integrations Guides for either iOS or Android

Facebook Channels

With Facebook you can see data broken down not only by campaigns, ad sets and ads, but also by Facebook channels. Facebook channel means users from the Facebook app, Instagram means users from the Instagram app and AudienceNetwork are users from other apps that belong to or are affiliated with Facebook. Use this data to compare the quality of users that you get from the different channels of Facebook.


Facebook and Agencies

Agencies and FMPs can run and track Facebook campaigns on behalf of advertisers on AppsFlyer, or even alongside the advertisers' own Facebook campaigns. In order for the agency campaigns to be attributed to the agency, the campaign name MUST begin with the agency's name. For more details about agencies and Facebook install tracking please go here.

In addition, agencies can't alter the Facebook look back windows and retargeting toggle. Rather, they need to ask the advertiser to perform these changes if they're needed.

In-App Events Mapping

Advertisers can easily map their in-app events, SDK or S2S, with Facebook's pre-defined events.

By this advertisers can automatically build audiences on Facebook, based on their most important user KPIs. These audiences can later be used for retargeting campaigns, or for user acquisition campaigns with look-alike audiences on Facebook.

To learn how to set in-app events mapping with Facebook please go here.

Facebook Audience Network Ad Revenue

To configure the ad revenue attribution for Facebook Audience Network, follow these steps:

1. Click the Ad Revenue tab on the Facebook Configuration page.

2. Configure the parameters in the supported Facebook configuration page:

Event Source
The event representing your ad revenue model in the best possible way. For example, if your revenue is based on impressions, it is recommended to send AppsFlyer an ad viewed event. The best event can be configured for each monetization platform separately.

However, it is also possible to use the af_app_opened event. In this case, ad revenue is attributed for every app open performed by the user.

Ad Revenue Event
A read-only field presenting the new ad revenue event called [source event]_monetized (e.g. Ad_Watched_Monetized as displayed above). The ad revenue event is presented in the dashboard as an additional event.

3. Enable Facebook Ad Revenue

Check to enable collection of Facebook Audience Network Ad Revenue.

4. Click Connect

Login with your Facebook credentials to authorize Facebook Audience Network Ad Revenue.

5. Click Save & Close.

Facebook FAQs

I don't see Facebook campaign clicks in AppsFlyer's Dashboard

By default Facebook sends only the conversion and engagement data. However, you can easily also start getting clicks, impressions and cost data for your Facebook campaigns.

Can AppsFlyer show the campaign level and ad groups?
Yes. In fact, AppsFlyer shows you also the single ad level, so you have 3 levels of drill down with Facebook ads, campaigns >> ad groups >> ads.
Is Facebook data shown in real-time?
Yes, all installs and subsequent in-app events are shown in real time. However, the clicks, impressions and cost data AppsFlyer gets in aggregated form from Facebook arrives periodically every few hours.
I don't see Facebook raw data in the Installation and In-App Events reports
By default Facebook does not allow distribution of user level data. However, advertisers who would like to get this raw data via AppsFlyer can sign Facebook’s Data Usage Terms for Advanced Mobile App Measurement.  Anybody with access to the Facebook ad account can do the following:

1. Go to Facebook's setup window on AppsFlyer

2. Click on Terms of service (highlighted in blue in the capture below)


3. Continue on Facebook and agree to the terms of service

OR go directly to Facebook here.
Once agreed, historical Facebook RAW data are available in AppsFlyer. 

Can I work with Facebook FMPs and measure performance with AppsFlyer?
Yes. AppsFlyer is already integrated with some FMPs and can integrate with any FMP that you would like to work with.

More Facebook Mobile App Install Ads FAQs here


AppsFlyer is compliant with Facebook data and privacy policies.

To allow agencies to promote Facebook campaigns, click here.

Can I have Facebook's SDK along with AppsFlyer's? 
Yes, you can. However, for attribution purposes AppsFlyer's SDK is all you need, so use Facebook's SDK only if you have non-attribution requirements from it, eg. Facebook login.
If you do use both SDKs make sure NOT to pass to Facebook's SDK any in-app events sent to AppsFlyer, to avoid double reporting on Facebook.
What should I do when I receive the following warning?

  • Verify the App ID in Facebook and check if you have any geo or age restrictions on their Facebook App ID.
  • If the tracking is already working, this indicates that app is already publicly available in the Facebook Developer Portal and you can you can safely ignore this error message.
Was this article helpful?
3 out of 5 found this helpful