Connection Setup
Integrate.io ETL can read Facebook Ads Insights data from your Facebook ad accounts. This article details creating the Facebook Ads Insights connection in Integrate.io ETL (This method applies to Facebook Ads connection as well).To create a Facebook Ads Insights connection In Integrate.io ETL
Click Authenticate. You will be redirected to Facebook in order to grant Integrate.io ETL’s Facebook application access to your ad accounts on your behalf.

You may need to login to Facebook before Facebook asks you to allow Integrate.io ETL access to your Facebook ads and related stats. Click OK.
To modify Facebook Ads Insights connections in Integrate.io ETL
Click a connection to open and modify it. Make any necessary changes, then click Reconnect, and Save changes. To exit the Facebook Ads Insights connection window without changes, click Back to connections (grey tab on the left side) on the Facebook Ads Insights connection window.
Note:You may need to reconnect to Facebook periodically.

Connection
Select an existing Facebook connection or create a new one.Source Properties
-
API version - Integrate.io ETL will use the selected API version when running the job. Facebook releases a new Facebook Marketing API version every few months and sunsets older versions of the API. You should check and update the API versions periodically.
- Level - Select the report level (
accountby default). - Date range - Select a date range from the dropdown list of ranges. If you select
custom date range..., you will be prompted to enter From date and To date. Click on either inputs and select the dates from the calendar. You can also use variables as values for the custom date range in the formatyyyy-MM-dd.
- Level - Select the report level (
-
If custom date range option was selected,
Run report day by daycheckbox will be displayed. When the checkbox is checked, the report will be executed for each day in the selected date range, in order to minimize data sampling. Make sure to include `date_start` and `date_stop` dimensions if checkbox is checked -
Time breakdown - use to break the results by period. The default,
All daysmeans that one result will be returned for the entire period. Add the fieldsdate_startanddate_stopto get the period per record (in Schema, below). -
Filtering (optional) - use to filter results based on the selected fields values. Filtering field should contain an array of filter objects. Each filter object has three fields: ‘field’, ‘operator’ and ‘value’. Valid filter operators are:
'EQUAL', 'NOT_EQUAL', 'GREATER_THAN', 'GREATER_THAN_OR_EQUAL', 'LESS_THAN', 'LESS_THAN_OR_EQUAL', 'IN_RANGE', 'NOT_IN_RANGE', 'CONTAIN', 'NOT_CONTAIN', 'IN', 'NOT_IN', 'ANY', 'ALL', 'NONE'. Examples:[{'field':'ad.effective_status','operator':'IN','value':['ARCHIVED']}]- will return archived ads.[{field:"ad.impressions",operator:"GREATER_THAN",value:0}]- will retrieve insights only for ad objects with data (at least 1 impression).
-
Action report time - determines the report time of action stats (by
impressionby default). See Facebook Marketing APIs documentation for more details. - Report on… - by default, return the input for all ad accounts the connection has access to. You may also select specific accounts to report on.
- Include custom conversions fields - If checked, custom conversion fields will be fetched and shown on available fields list.

