---
title: "ChatGPT Ads · WitCloud Docs"
description: "Learn how to connect ChatGPT Ads (OpenAI Ads) to Google BigQuery using WitCloud. Authorize with an API key, pick your ad account, import up to 365 days of…"
canonical_url: "https://witcloud.ai/docs/integrations/chatgpt-ads"
meta:
  "og:description": "Learn how to connect ChatGPT Ads (OpenAI Ads) to Google BigQuery using WitCloud. Authorize with an API key, pick your ad account, import up to 365 days of…"
  "og:image": "https://witcloud.ai/og-default.png"
  "og:title": "ChatGPT Ads · WitCloud Docs"
---

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

# Integration of ChatGPT Ads with BigQuery

Learn how to connect ChatGPT Ads (OpenAI Ads) to Google BigQuery using WitCloud. Authorize with an API key, pick your ad account, import up to 365 days of historical campaign performance and cost data, and keep it synchronized daily.

Updated 8 Oct 2026

## Introduction

This module integrates with the **ChatGPT Ads API** (OpenAI Advertiser API), enabling you to collect campaign performance and cost data and store it in **Google Cloud BigQuery**. Gain deeper insights into your data and optimize the performance of your ad campaigns.

## Configuration guide

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

Make sure you have **access to ChatGPT Ads Manager**. You need to create an API key before starting the configuration — each key grants access to a **single ad account**.

### Module setup

Go to the **Integrations** section in the menu > Click **Add integration**.

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

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

![Integration catalog with ChatGPT Ads selected](https://api.witcloud.ai/api/docs/assets/0c80be4c0b20b59d88d04a8fc1bfe61f.png)

Enter the **Collect name**, e.g., "ChatGPT Ads PL".

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

### Authorization

If you have already created a ChatGPT Ads authorization, simply pick it from the drop‑down and skip ahead to selecting the account.

You authorize it with an **API key** generated in ChatGPT Ads Manager.

Click **Authorize**.

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

In the **Authorize** window, paste the **API Key** copied from **ChatGPT Ads Manager → Settings**.

![Authorize pop-up with the API Key field filled with a placeholder value](https://api.witcloud.ai/api/docs/assets/f05e3a4222c94df78e0182b419381347.png)

Click **Create** to save the authorization.

![Create button in the authorization pop-up](https://api.witcloud.ai/api/docs/assets/c8e73fc4d30a827f9252a3e4b7ec8615.png)

The saved authorization now appears in the **Select ChatGPT Ads authorization** drop‑down. Pick the one you want to use — it is labelled with the ad account name and a masked fragment of the key, so several keys stay easy to tell apart.

![Select ChatGPT Ads authorization drop-down with the saved authorization](https://api.witcloud.ai/api/docs/assets/b77035aafecaa980d3c2b08794a5d581.png)

Back in WitCloud, choose the ChatGPT Ads account you wish to export from the **Select account** list.

![Select account drop-down open with the example ad account](https://api.witcloud.ai/api/docs/assets/89061ed17f30aedf5cc9153d9f6bd72f.png)

An API key is issued **per ad account**, so exactly one account is available for each authorization. To collect several accounts, add a separate authorization and a separate collect for each key.

Optionally, click **Show advanced settings** to narrow down the **Tables to collect** if you don't need every table. By default all of them are collected, and at least one table is required.

![Advanced settings open with the Tables to collect field](https://api.witcloud.ai/api/docs/assets/d179a45044adc4276d6c6acbb709db80.png)

Click **Next** to move on to the data collection settings.

![Next button below the integration form](https://api.witcloud.ai/api/docs/assets/598f720963641f2a73dfe91c9b00ecc1.png)

### Historical data and scheduling

In the **Historical Data** field, enter the **number of days** of historical data you want to fetch. During the initial setup, you can retrieve data going back up to **365 days**.

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

A data synchronization schedule will be created automatically; each run rewrites that day's partition with the data reported for it. More information on this topic can be found [here](https://witcloud.ai/docs/workflow#automated-workflows).

Click **Create** to complete the configuration.

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

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

## Data schema

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

<details>

<summary>

Columns of <code>chatgpt_ads_account</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| currency\_code | NULLABLE | STRING |
| timezone | NULLABLE | STRING |
| id | NULLABLE | STRING |
| start\_time | NULLABLE | INTEGER |
| end\_time | NULLABLE | INTEGER |
| impressions | NULLABLE | INTEGER |
| clicks | NULLABLE | INTEGER |
| spend | NULLABLE | FLOAT |
| ctr | NULLABLE | FLOAT |
| cpc | NULLABLE | FLOAT |
| cpm | NULLABLE | FLOAT |
| readable\_time | NULLABLE | STRING |
| ad\_account\_id | NULLABLE | STRING |
| ad\_account\_name | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>chatgpt_ads_campaigns</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| currency\_code | NULLABLE | STRING |
| timezone | NULLABLE | STRING |
| id | NULLABLE | STRING |
| start\_time | NULLABLE | INTEGER |
| end\_time | NULLABLE | INTEGER |
| impressions | NULLABLE | INTEGER |
| clicks | NULLABLE | INTEGER |
| spend | NULLABLE | FLOAT |
| ctr | NULLABLE | FLOAT |
| cpc | NULLABLE | FLOAT |
| cpm | NULLABLE | FLOAT |
| readable\_time | NULLABLE | STRING |
| ad\_account\_id | NULLABLE | STRING |
| ad\_account\_name | NULLABLE | STRING |
| campaign\_id | NULLABLE | STRING |
| campaign\_name | NULLABLE | STRING |
| campaign\_status | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>chatgpt_ads_ad_groups</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| currency\_code | NULLABLE | STRING |
| timezone | NULLABLE | STRING |
| id | NULLABLE | STRING |
| start\_time | NULLABLE | INTEGER |
| end\_time | NULLABLE | INTEGER |
| impressions | NULLABLE | INTEGER |
| clicks | NULLABLE | INTEGER |
| spend | NULLABLE | FLOAT |
| ctr | NULLABLE | FLOAT |
| cpc | NULLABLE | FLOAT |
| cpm | NULLABLE | FLOAT |
| readable\_time | NULLABLE | STRING |
| ad\_account\_id | NULLABLE | STRING |
| ad\_account\_name | NULLABLE | STRING |
| campaign\_id | NULLABLE | STRING |
| campaign\_name | NULLABLE | STRING |
| campaign\_status | NULLABLE | STRING |
| ad\_group\_id | NULLABLE | STRING |
| ad\_group\_name | NULLABLE | STRING |
| ad\_group\_status | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>chatgpt_ads_performance</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| currency\_code | NULLABLE | STRING |
| timezone | NULLABLE | STRING |
| id | NULLABLE | STRING |
| start\_time | NULLABLE | INTEGER |
| end\_time | NULLABLE | INTEGER |
| impressions | NULLABLE | INTEGER |
| clicks | NULLABLE | INTEGER |
| spend | NULLABLE | FLOAT |
| ctr | NULLABLE | FLOAT |
| cpc | NULLABLE | FLOAT |
| cpm | NULLABLE | FLOAT |
| readable\_time | NULLABLE | STRING |
| ad\_account\_id | NULLABLE | STRING |
| ad\_account\_name | NULLABLE | STRING |
| campaign\_id | NULLABLE | STRING |
| campaign\_name | NULLABLE | STRING |
| campaign\_status | NULLABLE | STRING |
| ad\_group\_id | NULLABLE | STRING |
| ad\_group\_name | NULLABLE | STRING |
| ad\_group\_status | NULLABLE | STRING |
| ad\_id | NULLABLE | STRING |
| ad\_name | NULLABLE | STRING |
| ad\_status | NULLABLE | STRING |

</details>

<details>

<summary>

Columns of <code>chatgpt_ads_conversions</code></summary>



| Field Name | Mode | Type |
| --- | --- | --- |
| date | NULLABLE | DATE |
| account\_id | NULLABLE | STRING |
| account\_name | NULLABLE | STRING |
| currency\_code | NULLABLE | STRING |
| timezone | NULLABLE | STRING |
| aggregation\_level | NULLABLE | STRING |
| entity\_id | NULLABLE | STRING |
| conversions | NULLABLE | INTEGER |
| click\_through\_conversions | NULLABLE | INTEGER |
| view\_through\_conversions | 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/chatgpt-ads#webpage","@type":"WebPage","dateModified":"2026-10-08T07:43:05.087Z","description":"Learn how to connect ChatGPT Ads (OpenAI Ads) to Google BigQuery using WitCloud. Authorize with an API key, pick your ad account, import up to 365 days of…","name":"ChatGPT Ads · WitCloud Docs","url":"https://witcloud.ai/docs/integrations/chatgpt-ads","breadcrumb":{"@id":"https://witcloud.ai/docs/integrations/chatgpt-ads#breadcrumb"},"isPartOf":{"@id":"https://witcloud.ai/#website"},"potentialAction":[{"@type":"ReadAction","target":["https://witcloud.ai/docs/integrations/chatgpt-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/chatgpt-ads#breadcrumb","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","name":"Integrations","item":"https://witcloud.ai/docs/integrations","position":1},{"@type":"ListItem","name":"ChatGPT Ads","item":"https://witcloud.ai/docs/integrations/chatgpt-ads","position":2}]},{"@id":"https://witcloud.ai/docs/integrations/chatgpt-ads#article","dateModified":"2026-10-08T07:43:05.087Z","description":"Learn how to connect ChatGPT Ads (OpenAI Ads) to Google BigQuery using WitCloud. Authorize with an API key, pick your ad account, import up to 365 days of historical campaign performance and cost data, and keep it synchronized daily.","headline":"ChatGPT Ads","inLanguage":"en-US","thumbnailUrl":"https://witcloud.ai/og-default.png","@type":["Article","TechArticle"],"author":{"@id":"https://witcloud.ai/docs/integrations/chatgpt-ads#/schema/person/1"},"image":{"@id":"https://witcloud.ai/docs/integrations/chatgpt-ads#/schema/image/1"},"isPartOf":{"@id":"https://witcloud.ai/docs/integrations/chatgpt-ads#webpage"},"mainEntityOfPage":{"@id":"https://witcloud.ai/docs/integrations/chatgpt-ads#webpage"},"publisher":{"@id":"https://witcloud.ai/#identity"}},{"@id":"https://witcloud.ai/docs/integrations/chatgpt-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/chatgpt-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.
