Reach the right people at scale where they are most engaged, in news feed
Drive installs to your mobile app with just a click to the App Store and Google Play
Create an app on Facebook
To use mobile app install ads, you'll need to create an application on Facebook. Note that this does not mean you have to implement Facebook Login or integrate your app with Facebook at this time; you need an app on Facebook to get an app ID. If you already have one, you can skip this step. If you do not, you can create one by visiting the App Dashboard and clicking "Create New App." You'll be prompted to fill in a name for your app, and a unique namespace.
Use the App Dashboard to add details and images
Next, add information about your app on the 'Basic' section of the App Settings page. Specifically, you will need to complete the 'Basic Info', 'Native iOS App', and 'Native Android App' section (depending on your native app).
Most of the information in the top section ('Basic Info') should complete automatically. You do not need to specify an app domain or a hosting URL for mobile app install ads. Make sure you are not in 'Sandbox' mode.
If you have an iOS app, you'll need to complete the following fields in 'Native iOS App' Section:
https://itunes.apple.com/us/app/my-great-app/APP_STORE_ID
. If you have an Android app, you'll need to complete the following fields in 'Native Android App' Section:
AndroidManifest.xml
file. The package name should be in the format com.example.androidapp
. Alternatively, you can get it from your app's URL in Google Play, e.g.: https://play.google.com/store/apps/details?id=PACKAGE_NAME
. AndroidManifest.xml
file. The class name should take the form com.example.androidapp.MainActivity
, and should use the name of the activity that contains the tag
.Next, fill in information for your ad on the App Details page. You can navigate to this page from the sidebar on the App Settings page, or go directly there at https://developers.facebook.com/apps/YOUR_APP_ID/appdetails.
You only need to complete the fields titled, 'Display Name' and 'Primary Icon (75X75)'. Note that you do not need to submit your app for App Center Listing in order to run a mobile app install ad.
Choose one of the simple tools and services to run your ad
Note: You must be an admin of the app you wish to advertise to build and run a mobile app install ad
Our most popular ads tool is now available for mobile app install ads. The Ads Create tool also gives you access to all our other ads products. Learn how it works.
Use this simple tool if you have never run Facebook ads, or want to run tests before launching your campaign. Learn how it works.
This advanced tool offers enhanced targeting capabilities and is the best option for running a large number of campaigns. Learn how it works.
PMDs are a community of best-in-class developers that can optimize and manage your campaigns if you do not have the resources to do so in-house.
Download the Facebook SDK for iOS or the Facebook SDK for Android and include the install publishing code
You need to integrate Facebook's latest SDK or work with a mobile measurement company in order to get access to measurement and installs. You can leverage our tutorials to help you get started with Facebook's SDK for iOS and Android. You don't need to implement Facebook Login to create or use mobile install ads. However, you will need to reference methods in the SDK to measure installs.
After installing the SDK, include the following code to be executed when your app is in the foreground. This will allow the app to ping back the install event to Facebook when the user opens up the app for the first time, and again in the future if there is a network error. Our client code will stop sending installs once it acquires a success code from the server, and our back-end will only count the install a single time if it receives multiple hits for the same device:
For the FB iOS SDK 3.0 or greater, add the following to your UIApplicationDelegate applicationDidBecomeActive selector:
[FBSettings publishInstall:YOUR_APP_ID];
For the FB Android SDK 3.0, add the following to onResume() of each Activity in your app:
com.facebook.Settings.publishInstallAsync(context, YOUR_APP_ID);
You can confirm that your app is correctly configured in the App Dashboard, or go directly there at https://developers.facebook.com/apps/YOUR_APP_ID. You should see a field in the "Summary" section labeled "Last Mobile Install Reported," with a timestamp for the last time your app reported an install.
If you want your app to be integrated with Facebook, download our latest SDK, and get access to various other benefits in addition to mobile ad measurement. But if you are only interested in measurement for mobile app install ads, you can also connect with a mobile measurement company, who can offer performance metrics for ads.
Make sure the right people see your ad
For Android, users that already have your app installed are automatically excluded as long as you provide us your app's package name in the app settings page.
For iOS, add an array key called URL types to your app's main .plist file, and give it a single array sub-item called URL Schemes. Then add a single item to URL Schemes with your app ID prefixed with "fb", e.g. "fb1234567".