Help center › Exports and warehouses

Transfers to BigQuery, Snowflake, ClickHouse and PostgreSQL

Send the project's tables — ads by campaign, ad, search term, keyword, network and breakdown, the website with landing pages and goals, search, social, sales, CRM and your own data — to your own warehouse every day.

Create a transfer

On the Exports page, under Transfer to a warehouse, choose To BigQuery, To Snowflake, To ClickHouse or To PostgreSQL, fill in the access details and choose:

  • Tables — under each one you see its name in the warehouse;
  • Each run sends — the last 7, 30 or 90 days, in full: platforms restate recent numbers after the fact;
  • How to write to the warehouse — replace a date window or append new days (below);
  • History on the first run — only the recent days, or 3 months up to 2 years.

Click Start transfer. History goes in half-year chunks; later you can send any other period with History.

BigQuery

You need a service account key with two roles: BigQuery Data Editor on the dataset and BigQuery Job User in the project. If the dataset doesn't exist, it is created. Tables are partitioned by day (date) and clustered by project_id.

Snowflake

You need a user with a key pair or a programmatic access token, a warehouse, a database and a schema. The user's role must be able to create tables in that schema and write to them.

ClickHouse

You need the HTTP interface address (for example https://…clickhouse.cloud:8443), a database, and a user and password allowed to create tables, delete and insert rows. Tables are MergeTree ordered by (project_id, date). The address must be reachable from the internet.

PostgreSQL

You need the host, port, database, schema, user and password; SSL is required by default. The user must be able to create tables in the schema and write to them. The server must be reachable from the internet.

How rows are written

Replace a date window (default): each chunk is replaced whole — the project's dates in the window are deleted and the new rows inserted. In BigQuery, Snowflake and PostgreSQL that's one transaction, so a failure in the middle never leaves half a window. ClickHouse has no transactions: if the insert after the delete fails, the window stays empty until the next run, and the transfer shows the error.

Append new days: nothing is deleted — only complete days after the last sent one go out. A retry after a failure doesn't duplicate rows. Conversions the platforms count later aren't updated in the warehouse. Your own data without a date is always replaced whole.

Rows of other projects in the same table are not touched, and new columns of your own data are added to the warehouse table by themselves. Keys, tokens and passwords are stored encrypted and never shown again.

Deleting

Delete transfer stops it. Tables already in the warehouse stay as they are.

Next: The AI analyst

Didn't find the answer?

Write to us — a person replies within one working day.