Facebook Ads Configuration

Ziv Bass-Specktor

Last update: April 29, 2018 07:37

Introduction

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:

VideoText

When you define your mobile app on Facebook you get its Facebook App ID. Copy your Facebook App ID and head to your app's dashboard on AppsFlyer.

Click on Integrated Partners link on the left bar.

Search for Facebook and click on its logo to open the Facebook setup page.

Click inside the Facebook App ID box and paste.

We recommend the Click Attribution Lookback Window is set to 28 days to match with Facebook.

If you wish to enable View-Through attribution with Facebook first check its box, then set the View-Through attribution lookback window to 1 day, again to match with Facebook's value.

Note: 28 day click and 1 day view are the maximum lookback windows for Facebook. You may configure these windows to be shorter on AppsFlyer, which will affect attribution accordingly, but please note that configuring them longer will have no effect.

7. Press Save & Close.

Congratulations! You have completed basic tracking for Facebook mobile campaigns with AppsFlyer!

Warning

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

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.

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.

Note

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.