Add the Data Connector
- In Settings > Data Connectors, click Add Data Connector and type and select “Facebook”.
- Sign in using your Facebook credentials. You may have to re-navigate to Singular and open your Data Connector again.
- Open your added Data Connector, activate the account from which you want to pull data, and click Submit.
|Data Connector Technology||API (Facebook Graph API and Marketing API v13.0)|
|Data breakdown (segmentation)||
Facebook provides your data broken down by all of the following (see Data Mapping below for terminology and more details):
In addition, Facebook offers one of the following breakdowns:
The default out of these is Country. If you want one of the other breakdowns instead, contact your Customer Success Manager or Singular support to configure the integration for you. You can choose the breakdown for each Account ID separately.
|How far back we pull data||
Every day, Singular pulls data from 7 days back. Once a week on Mondays, Singular pulls data from 30 days back.
|Time zone||The time zone configured for the account on Facebook.|
|Is data available on the creative (ad) level?||
|Does Singular show your creative assets?||
Yes, including the multiple assets within a Dynamic Creative. Note that Singular cannot pull videos from a Facebook page for a user who is not the admin of the page.
|Known Limitations/ Issues||If you enable Two-Factor Authentication on a Facebook account, you must then re-authenticate the Facebook data connector in Singular.|
Notes on Terminology:
- "Campaign" in Singular corresponds to "Ad Campaign" in Facebook
- "Sub-Campaign" corresponds to Facebook's "Ad Set"
- "Creative" corresponds to Facebook's "Ad"
- "Asset" is a new level in the hierarchy below the Creative that corresponds to Facebook's "Asset". It is used in Dynamic Creatives, e.g., in Automated App Ads [AAA] campaigns).
For descriptions of all the fields, see the Singular Metrics and Dimensions Glossary.
|Field in Singular UI||Field in Singular API||Field in Facebook|
|Account ID||adn_account_id||'id' from me/adaccounts|
|Account Name||adn_account_name||'name' from me/adaccounts|
|Campaign URL||adn_campaign_url||Taken from one of the Creative URLs.|
|Country||country_field||Country from Insights URL|
|Date||date_field||Given as a parameter when querying Facebook|
|Network Campaign ID||adn_campaign_id||campaign_id|
|Network Campaign Name||adn_campaign_name||'Name' from the campaign-level endpoint|
|Network Creative ID||adn_creative_id||ad_id|
|Network Creative Name||adn_creative_name||'Name' from ad level|
|Network Sub Campaign ID||adn_sub_campaign_id||adset_id|
|Network Sub Campaign Name||adn_sub_campaign_name||'Name' from the sub-campaign (ad set) level endpoint|
||Mapped from one of the following fields: device_platforms/ publisher_platforms/ facebook_positions/ instagram_positions/ audience_network_positions/ messenger_positions
Possible values: mobile, desktop, facebook, instagram, messenger, audience_network, feed, right_hand_column, instant_article, marketplace, video_feeds, search stream, story, explore, classic, instream_video, rewarded_video, messenger_home, sponsored_messages
|Source||source||For Sub Ad Network ("Publisher Platform") breakdown - this field contains the sub ad network, i.e. Facebook Advertising Network, Instagram, Whatsapp, etc.|
|Sub Ad Network||adn_subadnetwork||publisher_platform|
|Sub Campaign ID||sub_campaign_id||adset_id|
|Sub Campaign Name||sub_campaign_name||‘Name’ from sub campaign level insights|
|Text||creative_text||Get creative(ad) data by id
|UTC Offset||adn_utc_offset||From Account.timezone_utc_offset|
|Network Clicks||adn_clicks||Clicks (default) or inline_link_clicks (if specifically requested by Singular customer)|
|Network Installs||adn_installs||Mobile_installs / canvas_installs. Note that if you set up your campaign with Facebook to optimize on AEM installs, this metric will reflect AEM installs.|
|Original Currency||adn_original_currency||'currency' from me/adaccounts endpoint|
|Video Views 25%||video_views_25pct||video_p25_watched_actions|
|Video Views 50%||video_views_50pct||video_p50_watched_actions|
|Video Views 75%||video_views_75pct||video_p75_watched_actions|
|Completed Video Views||completed_video_views||video_p100_watched_actions|
FAQ and Troubleshooting
Out of the various metrics provided by Facebook, the Singular integration gathers the metrics relevant to mobile marketing:
- Installs - note that this metric will reflect AEM installs if you have set up your Facebook campaign to optimize for AEM installs.
In addition, Singular can get statistics about user actions, which are known in Singular as conversion events. See Configuring Custom Events below for information about configuring Singular to get that data from Facebook.
To protect end-users' privacy, Facebook does not allow showing measurements for user segments that have fewer than 1000 impressions. If you see this message in a row in your report, it means the row has a low number of impressions. To get the data you are looking for, try running a less granular report, i.e., include fewer dimensions or select a wider date range.
Dynamic Creatives are a special type of creatives in Facebook that include multiple creative assets. Singular can now show these creative assets in your reports as well as show stats on the asset level.
Facebook considers assets to be a separate breakdown and does not offer asset-level data with any other allowed breakdown (e.g. country or sub ad network). In order to show you asset data per country (or any other breakdown you see in your other Facebook reports), Singular does the extra step of pulling the data per creative and then interpolating the data to give a proportional part of the metrics to each asset.
For example, if your chosen Facebook breakdown is country:
Since the Facebook API only provides the country OR sub-ad network OR platform, Singular tries to figure out the other two dimensions another way - by checking the targeting settings of the campaign, sub-campaign, or creative.
For example, if you are breaking down the data by Campaign and Country, the data pulled from Facebook does not include the Platform. Singular looks up the targeting settings for each campaign, and if a campaign is targeting a single specific platform, such as iPhone, Singular uses the targeting information to fill out the Platform field for that campaign with the value "iPhone".
On the other hand, if a campaign is targeting multiple platforms, e.g. iOS and Android, Singular can't use that to fill out the Platform field.
This means you can get richer data in your reports by defining your campaigns or sub-campaigns (in Facebook: ad campaigns or ad sets) so that each one targets one country and/or one device.
Note: If platform data is derived from targeting settings, your reports may sometimes display the platform as "iPhone" or "iPad" and other times only say "iOS" or nothing at all. This is based on the level of targeting in each case.
To start pulling data from Facebook into Singular:
- In the Singular platform, go to Settings > Data Connectors.
- Hover over the Add New Connector button and start typing "Facebook". In the list that appears, choose Facebook.
Click Connect with Facebook and log into a Facebook user that has access to the required ad accounts.
Note: Before clicking the button, make sure you are not logged into Facebook with an unrelated account (such as your personal account).
To run campaigns through your Agency Facebook Ads account, go to Settings > Data Connectors, and add your Agency Facebook account. You do not need to make any updates to your SDK integration or Partner Configuration.
You will then be able to get campaign data like impressions, clicks, and cost using our reporting tools. Use the Account ID and Account Name dimensions when running reports.
If your campaign costs include an additional fee, such as an agency fee, you can have Singular add these fees to the costs shown in your reports under Settings > Partner Fees. See Partner Fees FAQ.
You can also choose to view your data as an agency. Go to Settings > Data Connectors, open your Facebook configuration, and use the View This Source As dropdown.
Singular displays all the accounts that can be accessed by the user you logged in with. Select the accounts you want to connect to Singular. For example, if you have any test accounts with dummy data, you may want to leave them out.
Note: If one of the accounts you selected is invalid, you will not be able to save. This can happen if an account on Facebook is no longer active or if the signed-in user no longer has access to an account.
The Source column lets you give a name to each account. This is the name under which the data will appear in your reports. You can use the same source name for multiple accounts.
For example, if you have one or more Facebook accounts for ad campaigns handled by a Preferred Marketing Developer (PMD) or Facebook Marketing Partner (FMP) such as Nanigans, specify "Nanigans" for those accounts. Singular reports will sum up the data from these accounts and display it in your reports under the source name "Nanigans".
By default, all accounts are given the source name "Facebook".
Singular can analyze data about users' post-install events, such as registration or first purchase. It is usually preferable to pull data about these events from your attribution provider, but if you don't track Facebook activity through an attribution provider, or if you want to track non-mobile traffic, you can ingest data coming from Facebook itself. In Facebook, user events are known as actions.
To start tracking a custom event from Facebook, follow the instructions in Configuring Custom Events to add a new custom event. If you have Facebook campaigns configured, the New Custom Event box includes a Facebook drop-down list. Click the list to display all the Facebook actions available, and select an action to map the custom event to.