---
title: "Facebook Ads · WitCloud Docs"
description: "Learn how to connect Facebook Ads to Google BigQuery using WitCloud and automatically fetch campaign, click, cost, conversion and reach data."
canonical_url: "https://witcloud.ai/docs/integrations/facebook-ads"
meta:
  "og:description": "Learn how to connect Facebook Ads to Google BigQuery using WitCloud and automatically fetch campaign, click, cost, conversion and reach data."
  "og:image": "https://witcloud.ai/og-default.png"
  "og:title": "Facebook Ads · WitCloud Docs"
---

> Index of every page on this site: [llms.txt](https://witcloud.ai/llms.txt)

# Integration of Facebook Ads with BigQuery

Learn how to connect Facebook Ads to Google BigQuery using WitCloud and automatically fetch campaign, click, cost, conversion and reach data.

Updated 8 Oct 2026

## Introduction

This module integrates with the **Facebook Marketing API** (Meta), enabling you to collect daily performance data of your ad accounts — campaigns, ad sets, ads, creatives, video, product (catalog) ads and reach — and store it in **Google Cloud BigQuery**. Gain deeper insights into your data and optimize the performance of your marketing efforts.

## Configuration guide

Follow the steps below to connect Facebook Ads with BigQuery. Once the setup is complete, your ad data will be automatically transferred to your BigQuery project.

Authorize with a Facebook user who has access to the ad accounts you want to collect — WitCloud lists the ad accounts that user can access.

### Module setup

Go to **Integrations** in the menu and click **Add integration**.

![Integrations list with the Add integration button](https://api.witcloud.ai/api/docs/assets/c8b72213ef23354505be3b578545e618.png)

Select **Facebook Ads** from the list of available integrations.

![Integration catalog filtered to Facebook Ads](https://api.witcloud.ai/api/docs/assets/ce1f4bdb752dd6803e6a7223b5b69f8d.png)

Enter the **Collect name**, e.g. `Facebook Ads PL`.

![Collect name field filled in with the example name Facebook Ads PL](https://api.witcloud.ai/api/docs/assets/c7bd9269cd2bfb597d7c4a9af3cd7b13.png)

### Authorization

If you have already authorized Facebook in this project, pick the existing authorization from the **Select Facebook authorization** drop-down and skip this step.

Click **Authorize**.

![Authorize button next to the Select Facebook authorization field](https://api.witcloud.ai/api/docs/assets/b3012ca9bd029e59b6a8e7f61ca6a031.png)

A Facebook window opens. Log in and confirm the access WitCloud asks for: managing ads for the ad accounts you have access to, and your public profile. After you confirm, the new authorization is selected in the **Select Facebook authorization** field.

### Ad accounts and advanced settings

Open **Select accounts** and choose the ad accounts you want to collect.

![Select accounts drop-down open with example Facebook ad accounts](https://api.witcloud.ai/api/docs/assets/ebac2b99d0e4eac0bf6cb153dd67579c.png)

You can select **several ad accounts** at once — WitCloud creates a separate data collect for each one, named `<Collect name> - <account name>`.

![Select accounts field with two example ad accounts selected](https://api.witcloud.ai/api/docs/assets/583edbda8a4a8d283d1bde6ccd666e2c.png)

Optionally, click **Show advanced settings**:

- **Action Attribution Windows** — the attribution windows conversions are collected for: `1d_click`, `1d_view`, `7d_click`, `7d_view` and `default` (selected by default). The values for each window are stored in the matching fields of the action records, e.g. `actions.click_7d`.
- **Custom range enabled (reach)** — reach is collected for 1, 7, 14 and 28 days by default; switch this on to add one range of your own.
- **Custom range days (reach)** — the length of that range in days, at most **90**. It is stored in `reach_custom`, with the number of days in `reach_custom_timespan`.
- **Tables to collect** — all tables are selected; remove the ones you do not need.

![Advanced settings with Action Attribution Windows, Custom range enabled (reach), Custom range days (reach) and Tables to collect](https://api.witcloud.ai/api/docs/assets/2a285648da606983f860e7fe622fbe81.png)

Click **Next**.

![Collect settings filled in with the Next button](https://api.witcloud.ai/api/docs/assets/0c1afc483e8c9bfbf7a8fc36ddc87567.png)

### Historical data and scheduling

In **Historical Data**, enter the number of days of past data to fetch — at most **365**.

![Historical Data field filled in with 365 days](https://api.witcloud.ai/api/docs/assets/ffe6a18b031c3635d66bddbb3c7ac186.png)

A data synchronization schedule will be created automatically. More information on this topic can be found [here](https://witcloud.ai/docs/workflow#auto-workflows).

Click **Create** to complete the configuration.

![Data collection settings with the Create button](https://api.witcloud.ai/api/docs/assets/1cec4a6fdeabb8b5b5e692903dcfdc6b.png)

**Done!** Your Facebook Ads data will now be synchronized with BigQuery, providing you with detailed insights into the performance of your ad campaigns.

## Data schema

Each ad account gets its own set of tables: the table name ends with the ad account ID, e.g. `fb_ads_act_123456789`. Each run collects one day; the ad, ad set, campaign, video and product tables are partitioned by `date_start`, the creative and reach tables by the day of the run. Conversion and event data is stored in the **actions** field.

Expand the tables below to view the full data schema collected from Facebook Ads.

<details>

<summary>

Columns of <code>fb_ads</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| account\_currency | NULLABLE | STRING |
| ad\_id | NULLABLE | STRING |
| ad\_name | NULLABLE | STRING |
| adset\_id | NULLABLE | STRING |
| adset\_name | NULLABLE | STRING |
| buying\_type | NULLABLE | STRING |
| campaign\_id | NULLABLE | STRING |
| campaign\_name | NULLABLE | STRING |
| attribution\_setting | NULLABLE | STRING |
| canvas\_avg\_view\_percent | NULLABLE | FLOAT |
| canvas\_avg\_view\_time | NULLABLE | FLOAT |
| clicks | NULLABLE | INTEGER |
| impressions | NULLABLE | INTEGER |
| date\_start | NULLABLE | DATE |
| date\_stop | NULLABLE | DATE |
| inline\_post\_engagement | NULLABLE | INTEGER |
| inline\_link\_clicks | NULLABLE | INTEGER |
| mobile\_app\_purchase\_roas | REPEATED | RECORD |
| mobile\_app\_purchase\_roas.action\_type | NULLABLE | STRING |
| mobile\_app\_purchase\_roas.value | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.click\_1d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.click\_7d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.click\_28d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.view\_1d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.view\_7d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.view\_28d | NULLABLE | FLOAT |
| objective | NULLABLE | STRING |
| place\_page\_name | NULLABLE | STRING |
| spend | NULLABLE | FLOAT |
| reach | NULLABLE | FLOAT |
| unique\_clicks | NULLABLE | INTEGER |
| unique\_inline\_link\_clicks | NULLABLE | INTEGER |
| publisher\_platform | NULLABLE | STRING |
| device\_platform | NULLABLE | STRING |
| platform\_position | NULLABLE | STRING |
| actions | REPEATED | RECORD |
| actions.action\_type | NULLABLE | STRING |
| actions.value | NULLABLE | FLOAT |
| actions.click\_1d | NULLABLE | FLOAT |
| actions.click\_7d | NULLABLE | FLOAT |
| actions.click\_28d | NULLABLE | FLOAT |
| actions.view\_1d | NULLABLE | FLOAT |
| actions.view\_7d | NULLABLE | FLOAT |
| actions.view\_28d | NULLABLE | FLOAT |
| unique\_actions | REPEATED | RECORD |
| unique\_actions.action\_type | NULLABLE | STRING |
| unique\_actions.value | NULLABLE | FLOAT |
| unique\_actions.click\_1d | NULLABLE | FLOAT |
| unique\_actions.click\_7d | NULLABLE | FLOAT |
| unique\_actions.click\_28d | NULLABLE | FLOAT |
| unique\_actions.view\_1d | NULLABLE | FLOAT |
| unique\_actions.view\_7d | NULLABLE | FLOAT |
| unique\_actions.view\_28d | NULLABLE | FLOAT |
| action\_values | REPEATED | RECORD |
| action\_values.action\_type | NULLABLE | STRING |
| action\_values.value | NULLABLE | FLOAT |
| action\_values.click\_1d | NULLABLE | FLOAT |
| action\_values.click\_7d | NULLABLE | FLOAT |
| action\_values.click\_28d | NULLABLE | FLOAT |
| action\_values.view\_1d | NULLABLE | FLOAT |
| action\_values.view\_7d | NULLABLE | FLOAT |
| action\_values.view\_28d | NULLABLE | FLOAT |
| outbound\_clicks | REPEATED | RECORD |
| outbound\_clicks.action\_type | NULLABLE | STRING |
| outbound\_clicks.value | NULLABLE | FLOAT |
| outbound\_clicks.click\_1d | NULLABLE | FLOAT |
| outbound\_clicks.click\_7d | NULLABLE | FLOAT |
| outbound\_clicks.click\_28d | NULLABLE | FLOAT |
| outbound\_clicks.view\_1d | NULLABLE | FLOAT |
| outbound\_clicks.view\_7d | NULLABLE | FLOAT |
| outbound\_clicks.view\_28d | NULLABLE | FLOAT |
| unique\_outbound\_clicks | REPEATED | RECORD |
| unique\_outbound\_clicks.action\_type | NULLABLE | STRING |
| unique\_outbound\_clicks.value | NULLABLE | FLOAT |
| unique\_outbound\_clicks.click\_1d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.click\_7d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.click\_28d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.view\_1d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.view\_7d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.view\_28d | NULLABLE | FLOAT |
| website\_purchase\_roas | REPEATED | RECORD |
| website\_purchase\_roas.action\_type | NULLABLE | STRING |
| website\_purchase\_roas.value | NULLABLE | FLOAT |
| website\_purchase\_roas.click\_1d | NULLABLE | FLOAT |
| website\_purchase\_roas.click\_7d | NULLABLE | FLOAT |
| website\_purchase\_roas.click\_28d | NULLABLE | FLOAT |
| website\_purchase\_roas.view\_1d | NULLABLE | FLOAT |
| website\_purchase\_roas.view\_7d | NULLABLE | FLOAT |
| website\_purchase\_roas.view\_28d | NULLABLE | FLOAT |
| conversions | REPEATED | RECORD |
| conversions.action\_type | NULLABLE | STRING |
| conversions.value | NULLABLE | FLOAT |
| conversions.click\_1d | NULLABLE | FLOAT |
| conversions.click\_7d | NULLABLE | FLOAT |
| conversions.click\_28d | NULLABLE | FLOAT |
| conversions.view\_1d | NULLABLE | FLOAT |
| conversions.view\_7d | NULLABLE | FLOAT |
| conversions.view\_28d | NULLABLE | FLOAT |

</details>

<details>

<summary>

Columns of <code>fb_adcreatives</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| account\_id | NULLABLE | STRING |
| ad\_id | NULLABLE | STRING |
| ad\_name | NULLABLE | STRING |
| adset\_id | NULLABLE | STRING |
| campaign\_id | NULLABLE | STRING |
| ad\_status | NULLABLE | STRING |
| ad\_effective\_status | NULLABLE | STRING |
| ad\_updated\_time | NULLABLE | TIMESTAMP |
| creative\_url | NULLABLE | STRING |
| creative\_id | NULLABLE | STRING |
| creative\_name | NULLABLE | STRING |
| creative\_status | NULLABLE | STRING |
| object\_type | NULLABLE | STRING |
| object\_story\_id | NULLABLE | STRING |
| effective\_object\_story\_id | NULLABLE | STRING |
| call\_to\_action\_type | NULLABLE | STRING |
| destination\_url | NULLABLE | STRING |
| url\_tags | NULLABLE | STRING |
| final\_url | NULLABLE | STRING |
| utm\_source | NULLABLE | STRING |
| utm\_medium | NULLABLE | STRING |
| utm\_campaign | NULLABLE | STRING |
| utm\_content | NULLABLE | STRING |
| utm\_term | NULLABLE | STRING |
| link\_url | NULLABLE | STRING |
| link\_destination\_display\_url | NULLABLE | STRING |
| template\_url | NULLABLE | STRING |
| image\_url | NULLABLE | STRING |
| thumbnail\_url | NULLABLE | STRING |
| video\_id | NULLABLE | STRING |
| post\_permalink\_url | NULLABLE | STRING |
| instagram\_permalink\_url | NULLABLE | STRING |
| effective\_instagram\_media\_id | NULLABLE | STRING |
| asset\_feed\_link\_urls | REPEATED | RECORD |
| asset\_feed\_link\_urls.website\_url | NULLABLE | STRING |
| asset\_feed\_link\_urls.display\_url | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>fb_adsets</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| account\_currency | NULLABLE | STRING |
| ad\_id | NULLABLE | STRING |
| ad\_name | NULLABLE | STRING |
| adset\_id | NULLABLE | STRING |
| adset\_name | NULLABLE | STRING |
| buying\_type | NULLABLE | STRING |
| campaign\_id | NULLABLE | STRING |
| campaign\_name | NULLABLE | STRING |
| attribution\_setting | NULLABLE | STRING |
| canvas\_avg\_view\_percent | NULLABLE | FLOAT |
| canvas\_avg\_view\_time | NULLABLE | FLOAT |
| clicks | NULLABLE | INTEGER |
| impressions | NULLABLE | INTEGER |
| date\_start | NULLABLE | DATE |
| date\_stop | NULLABLE | DATE |
| inline\_post\_engagement | NULLABLE | INTEGER |
| inline\_link\_clicks | NULLABLE | INTEGER |
| mobile\_app\_purchase\_roas | REPEATED | RECORD |
| mobile\_app\_purchase\_roas.action\_type | NULLABLE | STRING |
| mobile\_app\_purchase\_roas.value | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.click\_1d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.click\_7d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.click\_28d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.view\_1d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.view\_7d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.view\_28d | NULLABLE | FLOAT |
| objective | NULLABLE | STRING |
| place\_page\_name | NULLABLE | STRING |
| spend | NULLABLE | FLOAT |
| reach | NULLABLE | FLOAT |
| unique\_clicks | NULLABLE | INTEGER |
| unique\_inline\_link\_clicks | NULLABLE | INTEGER |
| publisher\_platform | NULLABLE | STRING |
| device\_platform | NULLABLE | STRING |
| platform\_position | NULLABLE | STRING |
| actions | REPEATED | RECORD |
| actions.action\_type | NULLABLE | STRING |
| actions.value | NULLABLE | FLOAT |
| actions.click\_1d | NULLABLE | FLOAT |
| actions.click\_7d | NULLABLE | FLOAT |
| actions.click\_28d | NULLABLE | FLOAT |
| actions.view\_1d | NULLABLE | FLOAT |
| actions.view\_7d | NULLABLE | FLOAT |
| actions.view\_28d | NULLABLE | FLOAT |
| unique\_actions | REPEATED | RECORD |
| unique\_actions.action\_type | NULLABLE | STRING |
| unique\_actions.value | NULLABLE | FLOAT |
| unique\_actions.click\_1d | NULLABLE | FLOAT |
| unique\_actions.click\_7d | NULLABLE | FLOAT |
| unique\_actions.click\_28d | NULLABLE | FLOAT |
| unique\_actions.view\_1d | NULLABLE | FLOAT |
| unique\_actions.view\_7d | NULLABLE | FLOAT |
| unique\_actions.view\_28d | NULLABLE | FLOAT |
| action\_values | REPEATED | RECORD |
| action\_values.action\_type | NULLABLE | STRING |
| action\_values.value | NULLABLE | FLOAT |
| action\_values.click\_1d | NULLABLE | FLOAT |
| action\_values.click\_7d | NULLABLE | FLOAT |
| action\_values.click\_28d | NULLABLE | FLOAT |
| action\_values.view\_1d | NULLABLE | FLOAT |
| action\_values.view\_7d | NULLABLE | FLOAT |
| action\_values.view\_28d | NULLABLE | FLOAT |
| outbound\_clicks | REPEATED | RECORD |
| outbound\_clicks.action\_type | NULLABLE | STRING |
| outbound\_clicks.value | NULLABLE | FLOAT |
| outbound\_clicks.click\_1d | NULLABLE | FLOAT |
| outbound\_clicks.click\_7d | NULLABLE | FLOAT |
| outbound\_clicks.click\_28d | NULLABLE | FLOAT |
| outbound\_clicks.view\_1d | NULLABLE | FLOAT |
| outbound\_clicks.view\_7d | NULLABLE | FLOAT |
| outbound\_clicks.view\_28d | NULLABLE | FLOAT |
| unique\_outbound\_clicks | REPEATED | RECORD |
| unique\_outbound\_clicks.action\_type | NULLABLE | STRING |
| unique\_outbound\_clicks.value | NULLABLE | FLOAT |
| unique\_outbound\_clicks.click\_1d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.click\_7d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.click\_28d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.view\_1d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.view\_7d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.view\_28d | NULLABLE | FLOAT |
| website\_purchase\_roas | REPEATED | RECORD |
| website\_purchase\_roas.action\_type | NULLABLE | STRING |
| website\_purchase\_roas.value | NULLABLE | FLOAT |
| website\_purchase\_roas.click\_1d | NULLABLE | FLOAT |
| website\_purchase\_roas.click\_7d | NULLABLE | FLOAT |
| website\_purchase\_roas.click\_28d | NULLABLE | FLOAT |
| website\_purchase\_roas.view\_1d | NULLABLE | FLOAT |
| website\_purchase\_roas.view\_7d | NULLABLE | FLOAT |
| website\_purchase\_roas.view\_28d | NULLABLE | FLOAT |
| conversions | REPEATED | RECORD |
| conversions.action\_type | NULLABLE | STRING |
| conversions.value | NULLABLE | FLOAT |
| conversions.click\_1d | NULLABLE | FLOAT |
| conversions.click\_7d | NULLABLE | FLOAT |
| conversions.click\_28d | NULLABLE | FLOAT |
| conversions.view\_1d | NULLABLE | FLOAT |
| conversions.view\_7d | NULLABLE | FLOAT |
| conversions.view\_28d | NULLABLE | FLOAT |

</details>

<details>

<summary>

Columns of <code>fb_campaigns</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| account\_currency | NULLABLE | STRING |
| ad\_id | NULLABLE | STRING |
| ad\_name | NULLABLE | STRING |
| adset\_id | NULLABLE | STRING |
| adset\_name | NULLABLE | STRING |
| buying\_type | NULLABLE | STRING |
| campaign\_id | NULLABLE | STRING |
| campaign\_name | NULLABLE | STRING |
| attribution\_setting | NULLABLE | STRING |
| canvas\_avg\_view\_percent | NULLABLE | FLOAT |
| canvas\_avg\_view\_time | NULLABLE | FLOAT |
| clicks | NULLABLE | INTEGER |
| impressions | NULLABLE | INTEGER |
| date\_start | NULLABLE | DATE |
| date\_stop | NULLABLE | DATE |
| inline\_post\_engagement | NULLABLE | INTEGER |
| inline\_link\_clicks | NULLABLE | INTEGER |
| mobile\_app\_purchase\_roas | REPEATED | RECORD |
| mobile\_app\_purchase\_roas.action\_type | NULLABLE | STRING |
| mobile\_app\_purchase\_roas.value | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.click\_1d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.click\_7d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.click\_28d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.view\_1d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.view\_7d | NULLABLE | FLOAT |
| mobile\_app\_purchase\_roas.view\_28d | NULLABLE | FLOAT |
| objective | NULLABLE | STRING |
| place\_page\_name | NULLABLE | STRING |
| spend | NULLABLE | FLOAT |
| reach | NULLABLE | FLOAT |
| unique\_clicks | NULLABLE | INTEGER |
| unique\_inline\_link\_clicks | NULLABLE | INTEGER |
| publisher\_platform | NULLABLE | STRING |
| device\_platform | NULLABLE | STRING |
| platform\_position | NULLABLE | STRING |
| actions | REPEATED | RECORD |
| actions.action\_type | NULLABLE | STRING |
| actions.value | NULLABLE | FLOAT |
| actions.click\_1d | NULLABLE | FLOAT |
| actions.click\_7d | NULLABLE | FLOAT |
| actions.click\_28d | NULLABLE | FLOAT |
| actions.view\_1d | NULLABLE | FLOAT |
| actions.view\_7d | NULLABLE | FLOAT |
| actions.view\_28d | NULLABLE | FLOAT |
| unique\_actions | REPEATED | RECORD |
| unique\_actions.action\_type | NULLABLE | STRING |
| unique\_actions.value | NULLABLE | FLOAT |
| unique\_actions.click\_1d | NULLABLE | FLOAT |
| unique\_actions.click\_7d | NULLABLE | FLOAT |
| unique\_actions.click\_28d | NULLABLE | FLOAT |
| unique\_actions.view\_1d | NULLABLE | FLOAT |
| unique\_actions.view\_7d | NULLABLE | FLOAT |
| unique\_actions.view\_28d | NULLABLE | FLOAT |
| action\_values | REPEATED | RECORD |
| action\_values.action\_type | NULLABLE | STRING |
| action\_values.value | NULLABLE | FLOAT |
| action\_values.click\_1d | NULLABLE | FLOAT |
| action\_values.click\_7d | NULLABLE | FLOAT |
| action\_values.click\_28d | NULLABLE | FLOAT |
| action\_values.view\_1d | NULLABLE | FLOAT |
| action\_values.view\_7d | NULLABLE | FLOAT |
| action\_values.view\_28d | NULLABLE | FLOAT |
| outbound\_clicks | REPEATED | RECORD |
| outbound\_clicks.action\_type | NULLABLE | STRING |
| outbound\_clicks.value | NULLABLE | FLOAT |
| outbound\_clicks.click\_1d | NULLABLE | FLOAT |
| outbound\_clicks.click\_7d | NULLABLE | FLOAT |
| outbound\_clicks.click\_28d | NULLABLE | FLOAT |
| outbound\_clicks.view\_1d | NULLABLE | FLOAT |
| outbound\_clicks.view\_7d | NULLABLE | FLOAT |
| outbound\_clicks.view\_28d | NULLABLE | FLOAT |
| unique\_outbound\_clicks | REPEATED | RECORD |
| unique\_outbound\_clicks.action\_type | NULLABLE | STRING |
| unique\_outbound\_clicks.value | NULLABLE | FLOAT |
| unique\_outbound\_clicks.click\_1d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.click\_7d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.click\_28d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.view\_1d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.view\_7d | NULLABLE | FLOAT |
| unique\_outbound\_clicks.view\_28d | NULLABLE | FLOAT |
| website\_purchase\_roas | REPEATED | RECORD |
| website\_purchase\_roas.action\_type | NULLABLE | STRING |
| website\_purchase\_roas.value | NULLABLE | FLOAT |
| website\_purchase\_roas.click\_1d | NULLABLE | FLOAT |
| website\_purchase\_roas.click\_7d | NULLABLE | FLOAT |
| website\_purchase\_roas.click\_28d | NULLABLE | FLOAT |
| website\_purchase\_roas.view\_1d | NULLABLE | FLOAT |
| website\_purchase\_roas.view\_7d | NULLABLE | FLOAT |
| website\_purchase\_roas.view\_28d | NULLABLE | FLOAT |
| conversions | REPEATED | RECORD |
| conversions.action\_type | NULLABLE | STRING |
| conversions.value | NULLABLE | FLOAT |
| conversions.click\_1d | NULLABLE | FLOAT |
| conversions.click\_7d | NULLABLE | FLOAT |
| conversions.click\_28d | NULLABLE | FLOAT |
| conversions.view\_1d | NULLABLE | FLOAT |
| conversions.view\_7d | NULLABLE | FLOAT |
| conversions.view\_28d | NULLABLE | FLOAT |

</details>

<details>

<summary>

Columns of <code>fb_video</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| ad\_id | NULLABLE | STRING |
| ad\_name | NULLABLE | STRING |
| adset\_id | NULLABLE | STRING |
| adset\_name | NULLABLE | STRING |
| campaign\_id | NULLABLE | STRING |
| campaign\_name | NULLABLE | STRING |
| attribution\_setting | NULLABLE | STRING |
| video\_30\_sec\_watched\_actions | REPEATED | RECORD |
| video\_30\_sec\_watched\_actions.action\_type | NULLABLE | STRING |
| video\_30\_sec\_watched\_actions.value | NULLABLE | FLOAT |
| video\_30\_sec\_watched\_actions.click\_1d | NULLABLE | FLOAT |
| video\_30\_sec\_watched\_actions.click\_7d | NULLABLE | FLOAT |
| video\_30\_sec\_watched\_actions.click\_28d | NULLABLE | FLOAT |
| video\_30\_sec\_watched\_actions.view\_1d | NULLABLE | FLOAT |
| video\_30\_sec\_watched\_actions.view\_7d | NULLABLE | FLOAT |
| video\_30\_sec\_watched\_actions.view\_28d | NULLABLE | FLOAT |
| video\_avg\_time\_watched\_actions | REPEATED | RECORD |
| video\_avg\_time\_watched\_actions.action\_type | NULLABLE | STRING |
| video\_avg\_time\_watched\_actions.value | NULLABLE | FLOAT |
| video\_avg\_time\_watched\_actions.click\_1d | NULLABLE | FLOAT |
| video\_avg\_time\_watched\_actions.click\_7d | NULLABLE | FLOAT |
| video\_avg\_time\_watched\_actions.click\_28d | NULLABLE | FLOAT |
| video\_avg\_time\_watched\_actions.view\_1d | NULLABLE | FLOAT |
| video\_avg\_time\_watched\_actions.view\_7d | NULLABLE | FLOAT |
| video\_avg\_time\_watched\_actions.view\_28d | NULLABLE | FLOAT |
| video\_p100\_watched\_actions | REPEATED | RECORD |
| video\_p100\_watched\_actions.action\_type | NULLABLE | STRING |
| video\_p100\_watched\_actions.value | NULLABLE | FLOAT |
| video\_p100\_watched\_actions.click\_1d | NULLABLE | FLOAT |
| video\_p100\_watched\_actions.click\_7d | NULLABLE | FLOAT |
| video\_p100\_watched\_actions.click\_28d | NULLABLE | FLOAT |
| video\_p100\_watched\_actions.view\_1d | NULLABLE | FLOAT |
| video\_p100\_watched\_actions.view\_7d | NULLABLE | FLOAT |
| video\_p100\_watched\_actions.view\_28d | NULLABLE | FLOAT |
| video\_p25\_watched\_actions | REPEATED | RECORD |
| video\_p25\_watched\_actions.action\_type | NULLABLE | STRING |
| video\_p25\_watched\_actions.value | NULLABLE | FLOAT |
| video\_p25\_watched\_actions.click\_1d | NULLABLE | FLOAT |
| video\_p25\_watched\_actions.click\_7d | NULLABLE | FLOAT |
| video\_p25\_watched\_actions.click\_28d | NULLABLE | FLOAT |
| video\_p25\_watched\_actions.view\_1d | NULLABLE | FLOAT |
| video\_p25\_watched\_actions.view\_7d | NULLABLE | FLOAT |
| video\_p25\_watched\_actions.view\_28d | NULLABLE | FLOAT |
| video\_p50\_watched\_actions | REPEATED | RECORD |
| video\_p50\_watched\_actions.action\_type | NULLABLE | STRING |
| video\_p50\_watched\_actions.value | NULLABLE | FLOAT |
| video\_p50\_watched\_actions.click\_1d | NULLABLE | FLOAT |
| video\_p50\_watched\_actions.click\_7d | NULLABLE | FLOAT |
| video\_p50\_watched\_actions.click\_28d | NULLABLE | FLOAT |
| video\_p50\_watched\_actions.view\_1d | NULLABLE | FLOAT |
| video\_p50\_watched\_actions.view\_7d | NULLABLE | FLOAT |
| video\_p50\_watched\_actions.view\_28d | NULLABLE | FLOAT |
| video\_p75\_watched\_actions | REPEATED | RECORD |
| video\_p75\_watched\_actions.action\_type | NULLABLE | STRING |
| video\_p75\_watched\_actions.value | NULLABLE | FLOAT |
| video\_p75\_watched\_actions.click\_1d | NULLABLE | FLOAT |
| video\_p75\_watched\_actions.click\_7d | NULLABLE | FLOAT |
| video\_p75\_watched\_actions.click\_28d | NULLABLE | FLOAT |
| video\_p75\_watched\_actions.view\_1d | NULLABLE | FLOAT |
| video\_p75\_watched\_actions.view\_7d | NULLABLE | FLOAT |
| video\_p75\_watched\_actions.view\_28d | NULLABLE | FLOAT |
| video\_p95\_watched\_actions | REPEATED | RECORD |
| video\_p95\_watched\_actions.action\_type | NULLABLE | STRING |
| video\_p95\_watched\_actions.value | NULLABLE | FLOAT |
| video\_p95\_watched\_actions.click\_1d | NULLABLE | FLOAT |
| video\_p95\_watched\_actions.click\_7d | NULLABLE | FLOAT |
| video\_p95\_watched\_actions.click\_28d | NULLABLE | FLOAT |
| video\_p95\_watched\_actions.view\_1d | NULLABLE | FLOAT |
| video\_p95\_watched\_actions.view\_7d | NULLABLE | FLOAT |
| video\_p95\_watched\_actions.view\_28d | NULLABLE | FLOAT |
| video\_play\_actions | REPEATED | RECORD |
| video\_play\_actions.action\_type | NULLABLE | STRING |
| video\_play\_actions.value | NULLABLE | FLOAT |
| video\_play\_actions.click\_1d | NULLABLE | FLOAT |
| video\_play\_actions.click\_7d | NULLABLE | FLOAT |
| video\_play\_actions.click\_28d | NULLABLE | FLOAT |
| video\_play\_actions.view\_1d | NULLABLE | FLOAT |
| video\_play\_actions.view\_7d | NULLABLE | FLOAT |
| video\_play\_actions.view\_28d | NULLABLE | FLOAT |
| video\_continuous\_2\_sec\_watched\_actions | REPEATED | RECORD |
| video\_continuous\_2\_sec\_watched\_actions.action\_type | NULLABLE | STRING |
| video\_continuous\_2\_sec\_watched\_actions.value | NULLABLE | FLOAT |
| video\_continuous\_2\_sec\_watched\_actions.click\_1d | NULLABLE | FLOAT |
| video\_continuous\_2\_sec\_watched\_actions.click\_7d | NULLABLE | FLOAT |
| video\_continuous\_2\_sec\_watched\_actions.click\_28d | NULLABLE | FLOAT |
| video\_continuous\_2\_sec\_watched\_actions.view\_1d | NULLABLE | FLOAT |
| video\_continuous\_2\_sec\_watched\_actions.view\_7d | NULLABLE | FLOAT |
| video\_continuous\_2\_sec\_watched\_actions.view\_28d | NULLABLE | FLOAT |
| video\_15\_sec\_watched\_actions | REPEATED | RECORD |
| video\_15\_sec\_watched\_actions.action\_type | NULLABLE | STRING |
| video\_15\_sec\_watched\_actions.value | NULLABLE | FLOAT |
| video\_15\_sec\_watched\_actions.click\_1d | NULLABLE | FLOAT |
| video\_15\_sec\_watched\_actions.click\_7d | NULLABLE | FLOAT |
| video\_15\_sec\_watched\_actions.click\_28d | NULLABLE | FLOAT |
| video\_15\_sec\_watched\_actions.view\_1d | NULLABLE | FLOAT |
| video\_15\_sec\_watched\_actions.view\_7d | NULLABLE | FLOAT |
| video\_15\_sec\_watched\_actions.view\_28d | NULLABLE | FLOAT |
| video\_thruplay\_watched\_actions | REPEATED | RECORD |
| video\_thruplay\_watched\_actions.action\_type | NULLABLE | STRING |
| video\_thruplay\_watched\_actions.value | NULLABLE | FLOAT |
| video\_thruplay\_watched\_actions.click\_1d | NULLABLE | FLOAT |
| video\_thruplay\_watched\_actions.click\_7d | NULLABLE | FLOAT |
| video\_thruplay\_watched\_actions.click\_28d | NULLABLE | FLOAT |
| video\_thruplay\_watched\_actions.view\_1d | NULLABLE | FLOAT |
| video\_thruplay\_watched\_actions.view\_7d | NULLABLE | FLOAT |
| video\_thruplay\_watched\_actions.view\_28d | NULLABLE | FLOAT |
| date\_start | NULLABLE | DATE |
| date\_stop | NULLABLE | DATE |
| publisher\_platform | NULLABLE | STRING |
| device\_platform | NULLABLE | STRING |
| platform\_position | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>fb_products</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| account\_currency | NULLABLE | STRING |
| ad\_id | NULLABLE | STRING |
| ad\_name | NULLABLE | STRING |
| adset\_id | NULLABLE | STRING |
| adset\_name | NULLABLE | STRING |
| buying\_type | NULLABLE | STRING |
| campaign\_id | NULLABLE | STRING |
| campaign\_name | NULLABLE | STRING |
| attribution\_setting | NULLABLE | STRING |
| product\_id | NULLABLE | STRING |
| clicks | NULLABLE | INTEGER |
| impressions | NULLABLE | INTEGER |
| date\_start | NULLABLE | DATE |
| date\_stop | NULLABLE | DATE |
| inline\_post\_engagement | NULLABLE | INTEGER |
| inline\_link\_clicks | NULLABLE | INTEGER |
| objective | NULLABLE | STRING |
| spend | NULLABLE | FLOAT |
| outbound\_clicks | REPEATED | RECORD |
| outbound\_clicks.action\_type | NULLABLE | STRING |
| outbound\_clicks.value | NULLABLE | FLOAT |
| outbound\_clicks.inline | NULLABLE | FLOAT |
| actions | REPEATED | RECORD |
| actions.action\_type | NULLABLE | STRING |
| actions.value | NULLABLE | FLOAT |
| actions.click\_1d | NULLABLE | FLOAT |
| actions.click\_7d | NULLABLE | FLOAT |
| actions.click\_28d | NULLABLE | FLOAT |
| actions.view\_1d | NULLABLE | FLOAT |
| actions.view\_7d | NULLABLE | FLOAT |
| actions.view\_28d | NULLABLE | FLOAT |
| unique\_actions | REPEATED | RECORD |
| unique\_actions.action\_type | NULLABLE | STRING |
| unique\_actions.value | NULLABLE | FLOAT |
| unique\_actions.click\_1d | NULLABLE | FLOAT |
| unique\_actions.click\_7d | NULLABLE | FLOAT |
| unique\_actions.click\_28d | NULLABLE | FLOAT |
| unique\_actions.view\_1d | NULLABLE | FLOAT |
| unique\_actions.view\_7d | NULLABLE | FLOAT |
| unique\_actions.view\_28d | NULLABLE | FLOAT |
| action\_values | REPEATED | RECORD |
| action\_values.action\_type | NULLABLE | STRING |
| action\_values.value | NULLABLE | FLOAT |
| action\_values.click\_1d | NULLABLE | FLOAT |
| action\_values.click\_7d | NULLABLE | FLOAT |
| action\_values.click\_28d | NULLABLE | FLOAT |
| action\_values.view\_1d | NULLABLE | FLOAT |
| action\_values.view\_7d | NULLABLE | FLOAT |
| action\_values.view\_28d | NULLABLE | FLOAT |

</details>

<details>

<summary>

Columns of <code>fb_product_actions</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date\_start | NULLABLE | DATE |
| campaign\_id | NULLABLE | STRING |
| product\_id | NULLABLE | STRING |
| actions | REPEATED | RECORD |
| actions.action\_type | NULLABLE | STRING |
| actions.value | NULLABLE | FLOAT |
| actions.click\_1d | NULLABLE | FLOAT |
| actions.click\_7d | NULLABLE | FLOAT |
| actions.click\_28d | NULLABLE | FLOAT |
| actions.view\_1d | NULLABLE | FLOAT |
| actions.view\_7d | NULLABLE | FLOAT |
| actions.view\_28d | NULLABLE | FLOAT |

</details>

<details>

<summary>

Columns of <code>fb_product_action_values</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date\_start | NULLABLE | DATE |
| campaign\_id | NULLABLE | STRING |
| product\_id | NULLABLE | STRING |
| action\_values | REPEATED | RECORD |
| action\_values.action\_type | NULLABLE | STRING |
| action\_values.value | NULLABLE | FLOAT |
| action\_values.click\_1d | NULLABLE | FLOAT |
| action\_values.click\_7d | NULLABLE | FLOAT |
| action\_values.click\_28d | NULLABLE | FLOAT |
| action\_values.view\_1d | NULLABLE | FLOAT |
| action\_values.view\_7d | NULLABLE | FLOAT |
| action\_values.view\_28d | NULLABLE | FLOAT |

</details>

<details>

<summary>

Columns of <code>fb_reach_account_level</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| reach | NULLABLE | INTEGER |
| reach\_7d | NULLABLE | INTEGER |
| reach\_14d | NULLABLE | INTEGER |
| reach\_28d | NULLABLE | INTEGER |
| reach\_custom | NULLABLE | INTEGER |
| reach\_custom\_timespan | NULLABLE | INTEGER |

</details>

<details>

<summary>

Columns of <code>fb_reach_campaign_level</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| campaign\_id | NULLABLE | STRING |
| campaign\_name | NULLABLE | STRING |
| reach | NULLABLE | INTEGER |
| reach\_7d | NULLABLE | INTEGER |
| reach\_14d | NULLABLE | INTEGER |
| reach\_28d | NULLABLE | INTEGER |
| reach\_custom | NULLABLE | INTEGER |
| reach\_custom\_timespan | NULLABLE | INTEGER |

</details>

<details>

<summary>

Columns of <code>fb_reach_adset_level</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| adset\_id | NULLABLE | STRING |
| adset\_name | NULLABLE | STRING |
| campaign\_id | NULLABLE | STRING |
| campaign\_name | NULLABLE | STRING |
| reach | NULLABLE | INTEGER |
| reach\_7d | NULLABLE | INTEGER |
| reach\_14d | NULLABLE | INTEGER |
| reach\_28d | NULLABLE | INTEGER |
| reach\_custom | NULLABLE | INTEGER |
| reach\_custom\_timespan | NULLABLE | INTEGER |

</details>

<details>

<summary>

Columns of <code>fb_reach_ad_level</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| ad\_id | NULLABLE | STRING |
| ad\_name | NULLABLE | STRING |
| adset\_id | NULLABLE | STRING |
| adset\_name | NULLABLE | STRING |
| campaign\_id | NULLABLE | STRING |
| campaign\_name | NULLABLE | STRING |
| reach | NULLABLE | INTEGER |
| reach\_7d | NULLABLE | INTEGER |
| reach\_14d | NULLABLE | INTEGER |
| reach\_28d | NULLABLE | INTEGER |
| reach\_custom | NULLABLE | INTEGER |
| reach\_custom\_timespan | NULLABLE | INTEGER |

</details>

```json
{"@context":"https://schema.org","@graph":[{"@id":"https://witcloud.ai/#website","@type":"WebSite","description":"WitCloud is a marketing and e-commerce analytics platform: connect your data, ask AI and track KPIs in one place.","inLanguage":"en-US","name":"WitCloud","url":"https://witcloud.ai/","publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/facebook-ads#webpage","@type":"WebPage","dateModified":"2026-10-08T07:43:29.691Z","description":"Learn how to connect Facebook Ads to Google BigQuery using WitCloud and automatically fetch campaign, click, cost, conversion and reach data.","name":"Facebook Ads · WitCloud Docs","url":"https://witcloud.ai/docs/integrations/facebook-ads","breadcrumb":{"@id":"https://witcloud.ai/docs/integrations/facebook-ads#breadcrumb"},"isPartOf":{"@id":"https://witcloud.ai/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://witcloud.ai/docs/integrations/facebook-ads"]}],"primaryImageOfPage":{"@id":"https://witcloud.ai/#logo"}},{"@id":"https://witcloud.ai/#identity","@type":"Organization","name":"WitCloud","url":"https://witcloud.ai","logo":{"@id":"https://witcloud.ai/#logo"},"sameAs":[]},{"@id":"https://witcloud.ai/docs/integrations/facebook-ads#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Integrations","item":"https://witcloud.ai/docs/integrations","position":1},{"@type":"ListItem","name":"Facebook Ads","item":"https://witcloud.ai/docs/integrations/facebook-ads","position":2}]},{"@id":"https://witcloud.ai/docs/integrations/facebook-ads#article","dateModified":"2026-10-08T07:43:29.691Z","description":"Learn how to connect Facebook Ads to Google BigQuery using WitCloud and automatically fetch campaign, click, cost, conversion and reach data.","headline":"Facebook Ads","inLanguage":"en-US","thumbnailUrl":"https://witcloud.ai/og-default.png","@type":["Article","TechArticle"],"author":{"@id":"https://witcloud.ai/docs/integrations/facebook-ads#/schema/person/1"},"image":{"@id":"https://witcloud.ai/docs/integrations/facebook-ads#/schema/image/1"},"isPartOf":{"@id":"https://witcloud.ai/docs/integrations/facebook-ads#webpage"},"mainEntityOfPage":{"@id":"https://witcloud.ai/docs/integrations/facebook-ads#webpage"},"publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/facebook-ads#/schema/person/1","@type":"Person","name":"WitCloud"},{"@id":"https://witcloud.ai/#logo","@type":"ImageObject","caption":"WitCloud","contentUrl":"https://witcloud.ai/logo.svg","inLanguage":"en-US","url":"https://witcloud.ai/logo.svg"},{"@id":"https://witcloud.ai/docs/integrations/facebook-ads#/schema/image/1","@type":"ImageObject","contentUrl":"https://witcloud.ai/og-default.png","inLanguage":"en-US","url":"https://witcloud.ai/og-default.png"}]}
```

## Sitemap

See the full [sitemap](https://witcloud.ai/sitemap.md) for all pages.
