Last updated: March 18, 2026
Prerequisites
Before you begin, make sure you have:- A Detrics account with at least one connected platform (Meta Ads, Google Ads, Shopify, etc.)
- A Google Cloud Platform (GCP) project with BigQuery enabled
- Permission to grant BigQuery access in your GCP project
Step 1: Create a Destination
A destination is your BigQuery connection — it tells Detrics where to put your data.- Go to Data Warehouse → Destinations in the Detrics web app
- Click New Destination
- Fill in your destination details:
- Name — A label for this destination (e.g., “Production Warehouse” or “Marketing Analytics”)
- GCP Project ID — The project ID from your Google Cloud Console (e.g.,
my-company-analytics) - Dataset Name — The BigQuery dataset where tables will be created (e.g.,
marketing_data). If the dataset doesn’t exist, Detrics will create it - Data Location — Where your data is physically stored (e.g.,
US,EU, or a specific region likeus-east1) - Timezone — The default timezone for your transfers
- Click Create Destination
Step 2: Grant BigQuery Access
After creating the destination, you need to grant Detrics access to your GCP project.- Detrics will show you a service account email (e.g.,
[email protected]) - Go to your Google Cloud Console → IAM
- Click Grant Access
- Paste the Detrics service account email as the new principal
- Assign the BigQuery User role
- Click Save
You can also send these instructions to a teammate by clicking Send Instructions on the destination page. This sends an email with the exact steps and service account email.
Step 3: Test the Connection
- Go back to your destination in Detrics
- Click Test Connection
- Detrics will verify it can create datasets, create tables, insert data, and query your project
- Once the test passes, your destination is ready
Step 4: Create a Table Group
A table group defines what data you want to sync. It contains one or more tables, each with its own metrics, dimensions, and sync settings.- Go to Data Warehouse → Tables
- Click New Table Group
- Choose the platform (e.g., Meta Ads, Google Analytics 4, Shopify)
- You’ll see two options:
- Start from a preset — Pre-configured table groups with recommended metrics and dimensions. Choose Standard for a good starting point
- Start from scratch — Build your own tables with exactly the fields you need
- Give your table group a name (e.g., “Meta Ads - Campaign Performance”)
Step 5: Configure Your Tables
Each table in the group defines a specific query. For your first sync, the defaults from a preset are a great starting point. If you want to customize:- Click on any table in the group to edit it
- Select your metrics (e.g., spend, impressions, clicks, conversions) and dimensions (e.g., campaign_name, date, ad_name)
- Set the time aggregation — how data is grouped over time:
- Daily — One row per day per dimension combination (most common)
- Weekly / Monthly — Aggregated by week or month
- Total — No time breakdown, all-time totals
- Set the historical sync range — how far back to fetch data on the first sync (e.g., last 3 months, last 12 months, or all time)
Step 6: Create a Transfer
A transfer connects your table group to a destination and runs on a schedule.- Go to Data Warehouse → Transfers
- Click New Transfer
- Configure the transfer:
- Data Source — Select the connection (e.g., your Meta Ads connection)
- Accounts — Choose All accounts or select specific ad accounts, properties, or stores
- Table Group — Select the table group you created in Step 4
- Sync Mode — Assign a sync mode to each table in the group (Incremental, Full Refresh, or Full Append)
- Destination — Select the destination you created in Step 1
- Schedule — How often to sync (e.g., Daily at 6:00 AM in your timezone)
- Table Name Prefix — Optional prefix for BigQuery table names (e.g.,
meta_ads_)
- Click Create Transfer
Step 7: Monitor Your Sync
- Click on your new transfer to see the detail page
- The sync progress panel shows real-time progress: which table is loading, how many rows have been processed, and estimated time remaining
- Once complete, you’ll see a summary with total rows loaded per table
Step 8: Query Your Data in BigQuery
Open the BigQuery Console and navigate to your dataset. You’ll see tables with names like:What’s Next?
Sync Modes
Understand Incremental, Full Refresh, and Full Append — and when to use each one.
Table Groups & Tables
Learn how to structure your tables, pick fields, and configure filters.
Monitoring & Run History
Track your syncs, debug failures, and set up alerts.
Troubleshooting
Common errors and how to fix them.