Part 1: Create and add your Facebook Ad ID
Steps
Visit https://developers.facebook.com/apps/ and log in with your Facebook account.
Select 'Get Started' or 'My Apps'
If this is the first time setting up a Facebook SDK account, you will need to select ‘Developer’ from the options below and ‘Complete Registration'
On the next screen, please select ‘Create App’
On the first step, select ‘Other’ for what you want the app to do.
Next, you will need to select the app type. The preferred option is ‘None’, but if that option is not available, please select ‘Consumer’
Enter the ‘App Display Name’ and update the contact email address if needed.
Please note, that we recommend adding the Facebook Business Manager account (even if it is tied to a personal FB account). This allows Facebook to verify the business.
Select 'Create App', this will automatically generate an App ID for your app
Part 2: Add your Facebook Ad and Business IDs to your Facebook Apps Account
Now to start running ads, we’ll need to connect your Facebook App to your Facebook Ad and Facebook Business accounts.
Steps
Open your Facebook Ad Account and select your name in the top left to find your ‘Ad Account ID'
Copy your ‘Ad Account ID’ and go back to Facebook Developers
From here navigate to ‘Settings’ and select ‘Advanced’
Scroll down to the ‘Advertising Accounts’ section and input your ‘Ad Account ID’ into the ‘Authorized Ad Account IDs’ field
As an option you can add your Facebook Business Account ID to ‘Authorized Businesses’ but this is not mandatory. It’s helpful to have a Facebook Business account if there are multiple coworkers who need to manage your Facebook ads!
Once you're done, select ‘Save Changes’ and you’re all set!
Part 3: Add your Apple IDs to your Facebook account
Once your app is uploaded to your Apple Developer account, Apple will generate the necessary data points required for the following steps.
Steps
Log in to your Facebook Developers Account
Click ‘Settings’ in the left side menu
Select ‘Basic’ and fill out the ‘Display Name’, ‘Contact Email’, ‘Privacy Policy URL’, and ‘App Icon’
Navigate to the bottom of the page and click ‘+ Add Platform’
Choose ‘iOS’
In a new window log into your App Store Connect account and click ‘My Apps’
Then select the app you want to integrate with Facebook
Choose ‘App Information’ under ‘General’ on the left side menu
Make a note of your ‘Bundle ID’ and your ‘Apple ID’
Go back to your Facebook account and input the data in the corresponding fields, please note the ‘Apple ID’ will be inputted in the ‘iPhone Store ID’ field
Click ‘Save Changes’ and you're all set with iOS!
Part 2: Add your Android IDs to your Facebook Account
Once your app is uploaded to your Google Play Developer account, Google Play will generate the necessary data points required for the following steps.
Under your Facebook Developers Account
Click ‘Settings’ in the left side menu
Select ‘Basic’ and scroll down to ‘+ Add Platform’
Choose ‘Android’
For 'Android Store', select 'Google Play' and then 'Next'
In a new window log into your Google Play Developer account
Then select the app you want to integrate with Facebook
Under your app title is the ‘Google Play Package Name’, copy this to your clipboard
Navigate back to your Facebook account and paste the ‘Google Play Package Name’ in the corresponding field
Enter the ‘Key Hashes’ value below into the ‘Key Hashes’ field
Enter the ‘Class Name’ value of - SplashActivity - into the ‘Class Name’ field
Click ‘Save Changes’ and you’re all set with Android!
Lastly, scroll to the top and flip the App Mode to ‘Live’
Now that these steps are completed, you can now run paid ads for your app.
More Questions
if you have additional questions regarding the Facebook SDK Integration, we’re happy to help! Please reach out to us through LiveChat within your NAPPS dashboard or email us at renatomota@napps.io !