---
schema_version: "1"
id: 37a1582a315c3bcb48e71e2da14d71352a00136c435213c3ec96f8f237c7950e
title: Define Reach Data in Facebook Ads Custom API Connector
collection: admin
version: current
locale: en-us
portal_url: https://docs.salesforce.com/admin/current/en-us/mktg/264-0-0/mcidp_data_streams_api_connect_fbcustom_reach_data.md
canonical_url: https://help.salesforce.com/s/articleView?id=mktg.mcidp_data_streams_api_connect_fbcustom_reach_data.htm&release=264.0.0&type=5
source_site: help.salesforce.com
content_type: documentation
content_hash: ff2757bcdc3960451f88bffeaea2619a126f2b462b261d1c5818b4052a34d5b0
description: Define how to calculate reach data in the Facebook Ads custom API. Facebook uses user-level data to calculate reach. When a date or field is adjusted in Facebook, the granularity changes, and Facebook recalculates the reach value based on the new parameters. Processing historical reach data streams requires unique date ranges for each process. Set a unique reach value for each day based on the granularity. Every date must be processed separately to return the aggregated value for that date.
products:
  - Marketing
  - Marketing Cloud Intelligence
release: "264"
---
# Define Reach Data in Facebook Ads Custom API Connector

Define how to calculate reach data in the Facebook Ads custom API. Facebook uses user-level data to calculate reach. When a date or field is adjusted in Facebook, the granularity changes, and Facebook recalculates the reach value based on the new parameters. Processing historical reach data streams requires unique date ranges for each process. Set a unique reach value for each day based on the granularity. Every date must be processed separately to return the aggregated value for that date.

### Required Editions

<table class="slds-table slds-table_bordered slds-max-medium-table_stacked slds-m-bottom_small permission">
        <colgroup>
          <col style="width:50%">
          <col style="width:50%">
        </colgroup>
        <thead class="slds-text-title_caps ">
          <tr class="">
            <th scope="colgroup" class="slds-cell-wrap" colspan="2" style="text-align:center;vertical-align:top;" id="d53422e38">User Permissions Needed</th>
          </tr>
        </thead>
        <tbody>
          <tr class="">
            <td data-label="User Permissions Needed" class="slds-cell-wrap" style="vertical-align:top;" headers="d53422e38 ">To create and edit an API data stream:</td>

            <td class="slds-cell-wrap" style="vertical-align:top;" headers="d53422e38 ">Admin</td>

          </tr>
        </tbody>
      </table>

1. On the Import tab, expand **Data Streams**.
2. Click **Add New**.
3. Select the Facebook Ads Custom connector.
4. Under **Extended Properties**:
    1. Set Date Resolution to **Aggregated.**
    2. For the level of granularity that you want to report on, select Dimensions.
    3. Don’t edit Measurements. Reach measurements are automatically populated.
    4. Select the breakdowns that you want to include in the report, for example, Age and Gender.
5. Under the **Advanced** section:
    1. In the Data Refresh window, click the edit icon and set the frequency.
    2. Set the maximum number of days a single processing statistic can span. For example, for a 30-day retrieval and a 10-day span, a total of three statistics are created.
    3. Set the sliding window —the number of days back that data is retrieved on a scheduled run starting yesterday.