Campaign Settings for Facebook
FollowIntroduction
In this article you will learn how to complete the campaign settings for Facebook, especially for the Mobile Application Install Ads(MAIA) and the Mobile Application Engagement Ads(MAEA).
Steps for Facebook Campaign Setting
- Check [Facebook] App ID and App Secret Key
- Register the App ID and the App Secret Key at [Dfinery]
- Generate [Dfinery] tracking link
- Test [Facebook] tracking link and set the campaigns
[[인용:안내:작게]] - We recommend to operate campaigns with Facebook SDK integrated.
Facebook Campaing Setup
Check [Facebook] App ID and App Secret Key
You can check the App ID and the App Secret Key at Facebook Developers page.
Here is a walkthrough for you:
1. Log-in to Facebook Developers page(https://developers.facebook.com) with an account with admin or developer authority.
2. Select the application from My Apps menu at the top right corner. (If the app is not yet registered, you should register the app.)
3. Visit Settings > Basic menu to confirm the App ID and the App Secret Key.
Register the App ID and the App Secret Key at [Dfinery]
Next step is to register the confirmed App ID and the App Secret Key at Dfinery.
Here is a walkthrough for you:
1. Visit Attribution > AD Tracking menu.
2. Search for Facebook channel, and click Configure.
3. Complete verification of the App ID and the App Secret Key.
4. After the verification, click Enable at the bottom to finish.
Add Install Referrer Decryption Key
Link : [Understand Facebook App Ads Referral URLs]
On 22nd Dec. 2022, You can see Facebook App install campaign meta info from Dfinery report. To see these meta info, you must add Install Referrer Decryption key from Facebook Developer Console.
[[인용:안내:작게]] Facebook App Install campaign meta info only available on Android platform.
[[인용:안내:작게]] Facebook App install campaign meta info require your app to integrate installReferrer API. [Google Play Install referrer].
a. To get Install referrer decryption key, go t Facebook developer console and your app's basic setting. You can find install referrer decryption key on Android info.
b. After getting Install Referrer decryption key go to Dfinery Console. Go to Ad Campaign -> Ad Partner Setting menu and select Facebook partner. Paste your Install Referrer decryption key on "Referrer Decryption Key".
Once you get this done, You can get the Facebook Campaign Meta data from Dfinery's Single Touch Attribution / General Event Report.
Facebook Campaing Meta | DFINERY Data Group By |
ad_id | m_ad |
ad_objective_name | m_placement |
adgroup_id | m_adgroup_id |
adgroup_name | m_adgroup |
campaign_id | m_campaign_id |
campaign_name | m_campaign |
campaign_group_id | m_campaign_group_id |
campaign_group_name | m_campaign_group |
account_id | m_account_id |
publisher_platform | m_publisher |
utm_source | utm_source |
utm_campaign | utm_campaign |
Generate [Dfinery] tracking link
If the channel is enabled, you can generate your tracking link for the Facebook campaigns.
Here is a walkthrough for you:
1. Click Generate a tracking link at the top right corner at the Facebook setting page.
2. Complete filling in the basic information required on the page.
3. Fill in the scheme://path information for the Facebook App Link at Deep Linking tab
(Deep-link path method is set for Facebook App Link method)
4. Generate the tracking link.
Test [Facebook] tracking link and set the campaigns
As a last step, you should test whether the link is well applied for the campaigns.
Here is a walkthrough for you:
1. Tracking link verification test & App Link information check
- Verify the completeness of the tracking link with the Facebook Object Debugger.
- Paste the generated tracking link at the ‘input URL’ field and click on ‘Fetch new scrape information’.
[[인용:위험:작게]] - You cannot fully operate the campaign unless you complete the tracking link debugging process. Test is strongly recommended.
- Even if you have finished the very first debugging test, it is strongly recommended to re-run the debugging test if there were any adjustments to the tracking link, including landing URL modification and etc.
- If you see ‘200’ for the response code, you are fine to go.
- Check the verified information on the ‘App Link URL’ for each OS(iOS & Android)
- Follow below steps and double check if the ‘App Link URL’ information from Facebook matches with the ‘Deep-link URL’ information for each OS from Dfinery.
- Visit Attribution > AD Tracking menu from Dfineryand click Configure of Facebook channel.
- Click on Tracking Link tab.
- Click on details for the generated campaign URL.
- Check if the App Link URL information from Facebook matches with the Deep-link URL information for each OS from Dfinery.
- If it matches, set the ‘Deep-link URL’ for the ‘Deferred Deep-link’ field when you set the Facebook campaign.
[[인용:경고:작게]] - The ‘App Link URL’ of Facebook and ‘Deep-link URL’ of Dfinery in the screenshots of the example does not match. Please check the match for the campaign.
2. Developer Deep-link Test
- Test whether the Dfinery deep-link is working properly.
- Visit Facebook App Ads Helper, and find Tools > Deep-link Test.
[[인용:안내:작게]] - Developer’s deep-link test is the most accurate test method provided by Facebook. We strongly recommend this test for minimizing the minor issues, but if there is any limitation for the test, you can proceed with the next test explained below.
- Click on Test and send alarm by pasting in the Dfinery tracking link.
- The alarm goes to the Facebook App with the account logged in.
- Check the deep-link test push/alarm received on the Facebook app(you do not have to touch), and install and open the app you want to run ads on.
- Check if you are landing on the pre-set deep-link page when the app opens.
3. Deep-link Landing Setting and Test
Apply the generated Deep-link URL information for each OS to the campaign, and check preview to see if the deep-link takes you to the right place.
- Paste the Deep-link URL for each OS(which passed the ‘Step 1.Tracking link verification test & App Link information check) into the ‘Deferred Deep-link’ field.
- Click on ‘Preview’ to send notification for the preview.
- Check the preview with the Facebook mobile app with the account logged in, and click on ‘Install Now’(or other intended actions) to proceed with the test.
- If the app for the campaign is installed, app will start and you will be landed on the intended place in the application.
- If the app for the campaign is not installed, you will be landed on the market for each OS(iOS & Andriod), and after the install, he deep-link will be activated.
4. Must-Check’s
- On Facebook app security settings : If there is applied IP value at the ‘Server IP Whitelist’ field in the ‘Advanced’ settings, you should delete the value.
- On App Secret Code : If it is checked “yes” to the question “Is Secret Code included in the Client App?” in ‘Settings’ > ’Advanced’ menu of Facebook Developers, you cannot use the App Secret Code due to possible errors, so please try verifying after checking “No”.