Data source

Google Ads data model for your data warehouse: tables, keys and joins

A wrong join returns a plausible number, not an error.

  1. Open source. OWOX Data Marts is open source: you can read the code that loads and models your data, and run it yourself.
  2. You own the data. Google Ads tables load into your data warehouse, under your account. If you leave OWOX, they stay where they are.
  3. MCP-ready. Once the data is in, Claude or ChatGPT can work from your Data Marts through OWOX MCP.

Hand this to your AI

Don't wire up Google Ads by hand. Have your AI assistant load it into your data warehouse.

Your assistant sets up the Google Ads connector with you and loads the tables you pick; OWOX keeps them in your data warehouse, ready to use.

The prompt

set up the Google Ads connector in OWOX Data Marts, let me pick the tables I need, load them into my data warehouse and show me the first rows

The Google Ads data model

The Google Ads data model

9 tables168 fields9 joinsView on GitHub

Ad Group Ads Stats26 fields1 relationshipAd Groups9 fields5 relationshipsAd Groups Stats24 fields1 relationshipCampaigns11 fields3 relationshipsCampaigns Stats28 fields1 relationshipCriterion17 fields2 relationshipsGeo Stats18 fields2 relationshipsGeo Target Constants7 fields1 relationshipKeywords Stats26 fields2 relationships

A Google Ads account is a hierarchy, and these tables follow it: campaigns hold ad groups, and ad groups hold ads and targeting rows such as keywords.

  1. Campaigns, Ad Groups and Criterion carry settings as they stand today; Campaigns Stats, Ad Groups Stats, Ad Group Ads Stats, Keywords Stats and Geo Stats carry daily performance; Geo Target Constants turns a country ID into a name.
  2. Every stats table repeats the IDs of the levels above it, so it joins to its parent on campaign_id or ad_group_id.
  3. A keyword joins to its row in Criterion on keyword_id = criterion_id together with ad_group_id and campaign_id, because Google identifies a keyword by its ad group ID and its criterion ID together.
  4. Fields ending in _micros hold millionths of the account currency, so divide them by 1,000,000 to read them as currency.
How the tables join (9)

Load the model into your data warehouse, or import it as Data Marts and keep the joins.

Explore on canvas →Import this model

Why OWOX

OWOX or Google's BigQuery transfer for Google Ads data

Google's BigQuery Data Transfer Service loads Google Ads into BigQuery only, no more often than every 24 hours, as report tables named for each Customer ID. If BigQuery is your only data warehouse and a daily load is enough, it does the job. OWOX loads the same data into the data warehouse you actually run, as tables whose keys and joins are already drawn.

  • The data warehouse you already query. The Google Ads tables load into Google BigQuery, Snowflake, AWS Redshift, AWS Athena or Databricks, so the model above lives next to the rest of your data.
  • A model, not only report tables. The keys and joins are drawn, including the one that trips people up: Google identifies a keyword by its ad group and its keyword ID together, so a keyword joins to Criterion on keyword_id, ad_group_id and campaign_id. Open the model on the canvas or import every table as a Data Mart.
  • Fields you choose. Pick the fields of each table when you set up the connector, and each one arrives with a plain-language description of what it holds.
  • History on your terms. Load any past period by start and end date, and set how many recent days each scheduled refresh reloads.
  • Beyond the data warehouse. The Data Marts built on these tables feed spreadsheets, dashboards and AI assistants such as Claude and ChatGPT.
  • Code you can read. The connector is open source on GitHub, so you can check exactly how a field is read from the Google Ads API.

Endpoints

Ad Group Ads Stats schema

Google Ads Ad Group Ads Stats schema

27 fieldsTime seriesSchema on GitHubgoogle_ads_ad_group_ads_stats

Daily performance for individual ads — impressions, clicks, cost, and conversions.

Questions this table answers

  • Which ads have the lowest click-through rate within their ad group?
  • Which landing pages (final URLs) bring the cheapest conversions?
  • How do ad types compare on cost per conversion?
Google Ads Ad Group Ads Stats fields
FieldTypeDescription
ad_idPKSTRINGAd ID
ad_statusSTRINGAd Status (ENABLED, PAUSED, REMOVED)
ad_final_urlsARRAYFinal URLs for the Ad
ad_final_urls_parsedARRAYad_final_urls with each short link resolved to its landing page; other URLs stay unchanged. Requires ad_final_urls and Process Short Links.
ad_group_idSTRINGAd Group ID
campaign_idSTRINGCampaign ID
datePKSTRINGDate for time series data
impressionsNUMBERNumber of Impressions
clicksNUMBERNumber of Clicks
cost_microsNUMBERCost in Micros
conversionsNUMBERNumber of Conversions
ctrNUMBERClick-Through Rate
average_cpcNUMBERAverage Cost Per Click
conversions_valueNUMBERTotal Conversion Value
cost_per_conversionNUMBERCost Per Conversion
ad_typeSTRINGAd Type (TEXT_AD, EXPANDED_TEXT_AD, RESPONSIVE_SEARCH_AD, etc.)
ad_nameSTRINGAd Name
ad_group_nameSTRINGAd Group Name
campaign_nameSTRINGCampaign Name
conversion_rateNUMBERConversion Rate
view_through_conversionsNUMBERView-Through Conversions
all_conversionsNUMBERAll Conversions
all_conversions_valueNUMBERAll Conversions Value
average_costNUMBERAverage Cost
average_cpmNUMBERAverage CPM
interactionsNUMBERNumber of Interactions
interaction_rateNUMBERInteraction Rate

Ad Groups schema

Google Ads Ad Groups schema

9 fieldsSchema on GitHubgoogle_ads_ad_groups

Your ad group settings — type, status, and bid configuration within each campaign.

Questions this table answers

  • How many ad groups does each campaign have, and how many are paused?
  • Which ad groups carry the highest CPC bids?
  • Which ad group types does each campaign use?
Google Ads Ad Groups fields
FieldTypeDescription
ad_group_idPKSTRINGAd Group ID
ad_group_nameSTRINGAd Group Name
ad_group_statusSTRINGAd Group Status (ENABLED, PAUSED, REMOVED)
ad_group_typeSTRINGAd Group Type (SEARCH_STANDARD, DISPLAY_STANDARD, etc.)
campaign_idSTRINGCampaign ID
campaign_nameSTRINGCampaign Name
ad_group_cpc_bid_microsNUMBERAd Group CPC Bid in Micros
ad_group_cpm_bid_microsNUMBERAd Group CPM Bid in Micros
ad_group_target_cpa_microsNUMBERAd Group Target CPA in Micros

Ad Groups Stats schema

Google Ads Ad Groups Stats schema

24 fieldsTime seriesSchema on GitHubgoogle_ads_ad_groups_stats

Daily ad group performance — impressions, clicks, cost, and conversions.

Questions this table answers

  • Which ad groups account for most of each campaign's cost?
  • Which ad groups have a falling click-through rate week over week?
  • What is the cost per conversion of each ad group last month?
Google Ads Ad Groups Stats fields
FieldTypeDescription
ad_group_idPKSTRINGAd Group ID
ad_group_nameSTRINGAd Group Name
ad_group_statusSTRINGAd Group Status (ENABLED, PAUSED, REMOVED)
campaign_idSTRINGCampaign ID
datePKSTRINGDate for time series data
impressionsNUMBERNumber of Impressions
clicksNUMBERNumber of Clicks
cost_microsNUMBERCost in Micros
conversionsNUMBERNumber of Conversions
ctrNUMBERClick-Through Rate
average_cpcNUMBERAverage Cost Per Click
conversions_valueNUMBERTotal Conversion Value
cost_per_conversionNUMBERCost Per Conversion
conversion_rateNUMBERConversion Rate
view_through_conversionsNUMBERView-Through Conversions
all_conversionsNUMBERAll Conversions
all_conversions_valueNUMBERAll Conversions Value
cost_per_all_conversionsNUMBERCost Per All Conversions
average_costNUMBERAverage Cost
average_cpmNUMBERAverage CPM
interactionsNUMBERNumber of Interactions
interaction_rateNUMBERInteraction Rate
engagement_rateNUMBEREngagement Rate
engagementsNUMBERNumber of Engagements

Campaigns schema

Google Ads Campaigns schema

11 fieldsSchema on GitHubgoogle_ads_campaigns

Your campaign settings — channel type, bidding strategy, budget, and scheduling.

Questions this table answers

  • Which campaigns are enabled, and which bidding strategy does each use?
  • How many campaigns run on each advertising channel type?
  • Which campaigns have an end date that has already passed but are still enabled?
Google Ads Campaigns fields
FieldTypeDescription
campaign_idPKSTRINGCampaign ID
campaign_nameSTRINGCampaign Name
campaign_statusSTRINGCampaign Status (ENABLED, PAUSED, REMOVED)
campaign_advertising_channel_typeSTRINGAdvertising Channel Type (SEARCH, DISPLAY, VIDEO, etc.)
campaign_start_dateSTRINGCampaign Start Date
campaign_end_dateSTRINGCampaign End Date
campaign_bidding_strategy_typeSTRINGBidding Strategy Type (MANUAL_CPC, TARGET_CPA, TARGET_ROAS, etc.)
campaign_budget_amount_microsNUMBERCampaign Budget Amount in Micros
campaign_target_cpa_microsNUMBERTarget CPA in Micros (if using Target CPA bidding)
campaign_target_roasNUMBERTarget ROAS (if using Target ROAS bidding)
campaign_advertising_channel_sub_typeSTRINGAdvertising Channel Sub Type

Campaigns Stats schema

Google Ads Campaigns Stats schema

28 fieldsTime seriesSchema on GitHubgoogle_ads_campaigns_stats

Daily campaign performance — impressions, clicks, cost, and conversions.

Questions this table answers

  • What did each campaign spend and return per day over the last 30 days?
  • Which search campaigns lose the most impression share to budget, and which to rank?
  • How does conversion value per unit of cost compare across advertising channel types?
Google Ads Campaigns Stats fields
FieldTypeDescription
campaign_idPKSTRINGCampaign ID
campaign_nameSTRINGCampaign Name
campaign_statusSTRINGCampaign Status (ENABLED, PAUSED, REMOVED)
datePKSTRINGDate for time series data
impressionsNUMBERNumber of Impressions
clicksNUMBERNumber of Clicks
cost_microsNUMBERCost in Micros
conversionsNUMBERNumber of Conversions
ctrNUMBERClick-Through Rate
average_cpcNUMBERAverage Cost Per Click
conversions_valueNUMBERTotal Conversion Value
cost_per_conversionNUMBERCost Per Conversion
conversion_rateNUMBERConversion Rate
view_through_conversionsNUMBERView-Through Conversions
all_conversionsNUMBERAll Conversions
all_conversions_valueNUMBERAll Conversions Value
cost_per_all_conversionsNUMBERCost Per All Conversions
average_costNUMBERAverage Cost
average_cpmNUMBERAverage CPM
engagement_rateNUMBEREngagement Rate
engagementsNUMBERNumber of Engagements
interactionsNUMBERNumber of Interactions
interaction_rateNUMBERInteraction Rate
search_impression_shareNUMBERSearch Impression Share
search_budget_lost_impression_shareNUMBERSearch Budget Lost Impression Share
search_rank_lost_impression_shareNUMBERSearch Rank Lost Impression Share
video_viewsNUMBERVideo Views (for Video campaigns)
video_view_rateNUMBERVideo View Rate

Criterion schema

Google Ads Criterion schema

18 fieldsSchema on GitHubgoogle_ads_criterion

Ad group targeting criteria — keywords, placements, and negative exclusions with bid settings.

Questions this table answers

  • How many keywords and negative keywords does each ad group have?
  • Which keywords have a CPC bid below the estimated first-page bid?
  • Which placements are targeted rather than excluded?
Google Ads Criterion fields
FieldTypeDescription
criterion_idPKSTRINGCriterion ID
criterion_typeSTRINGCriterion Type (KEYWORD, PLACEMENT, etc.)
criterion_statusSTRINGCriterion Status (ENABLED, PAUSED, REMOVED)
keyword_textSTRINGKeyword Text
keyword_match_typeSTRINGKeyword Match Type (EXACT, PHRASE, BROAD)
ad_group_idPKSTRINGAd Group ID
campaign_idPKSTRINGCampaign ID
quality_scoreNUMBERQuality Score
final_urlsARRAYFinal URLs
final_urls_parsedARRAYfinal_urls with each short link resolved to its landing page; other URLs stay unchanged. Requires final_urls and Process Short Links.
negativeBOOLEANWhether to target (false) or exclude (true) the criterion
cpc_bid_microsNUMBERCPC Bid in Micros
effective_cpc_bid_microsNUMBEREffective CPC Bid in Micros (includes bid modifiers)
position_estimates_first_page_cpc_microsNUMBEREstimated CPC Bid needed to appear on first page
position_estimates_top_of_page_cpc_microsNUMBEREstimated CPC Bid needed to appear at top of page
position_estimates_first_position_cpc_microsNUMBEREstimated CPC Bid needed to appear in first position
ad_group_nameSTRINGAd Group Name
campaign_nameSTRINGCampaign Name

Geo Stats schema

Google Ads Geo Stats schema

18 fieldsTime seriesSchema on GitHubgoogle_ads_geo_stats

Daily performance by country and targeting type — impressions, clicks, cost, and conversions.

Questions this table answers

  • Which countries bring the most conversions, and at what cost per conversion?
  • Do people in a country convert differently from people searching for it?
  • Which campaigns spend in countries outside the intended markets?
Google Ads Geo Stats fields
FieldTypeDescription
country_criterion_idPKSTRINGCriterion ID for the country (maps to geo_target_constant_id in geo_target_constants table)
location_typePKSTRINGGeo targeting type: AREA_OF_INTEREST (user searched for this location) or LOCATION_OF_PRESENCE (user was physically in this location)
datePKSTRINGDate for time series data
campaign_idPKSTRINGCampaign ID
campaign_nameSTRINGCampaign Name
campaign_statusSTRINGCampaign Status (ENABLED, PAUSED, REMOVED)
impressionsNUMBERNumber of Impressions
clicksNUMBERNumber of Clicks
cost_microsNUMBERCost in Micros
conversionsNUMBERNumber of Conversions
conversions_valueNUMBERTotal Conversion Value
ctrNUMBERClick-Through Rate
average_cpcNUMBERAverage Cost Per Click
all_conversionsNUMBERAll Conversions (includes cross-device and view-through)
all_conversions_valueNUMBERAll Conversions Value
view_through_conversionsNUMBERView-Through Conversions
cost_per_conversionNUMBERCost Per Conversion
conversion_rateNUMBERConversion Rate

Geo Target Constants schema

Google Ads Geo Target Constants schema

7 fieldsSchema on GitHubgoogle_ads_geo_target_constants

Reference table of geographic targets — join with geo_stats on country_criterion_id to resolve country names.

Questions this table answers

  • What are the names behind the country IDs in the Geo Stats table?
  • Which countries are flagged as removal planned?
  • Which ISO country code belongs to each country ID?
Google Ads Geo Target Constants fields
FieldTypeDescription
geo_target_constant_idPKSTRINGCriterion ID - join key with country_criterion_id in geo_stats
nameSTRINGEnglish name of the geo target (e.g. United States, California, New York)
country_codeSTRINGISO-3166-1 alpha-2 country code (e.g. US, GB, DE)
target_typeSTRINGType of geo target (e.g. Country, Region, City, MetroArea, PostalCode)
statusSTRINGStatus of the geo target constant (ENABLED or REMOVAL_PLANNED)
canonical_nameSTRINGFully qualified name including parent targets (e.g. New York,New York,United States)
parent_geo_targetSTRINGResource name of the parent geo target constant

Keywords Stats schema

Google Ads Keywords Stats schema

26 fieldsTime seriesSchema on GitHubgoogle_ads_keywords_stats

Daily keyword performance — impressions, clicks, cost, conversions, and quality score.

Questions this table answers

  • Which keywords spend the most without a conversion?
  • How does quality score relate to cost per click across keywords?
  • Which match type returns the most conversions per unit of cost?
Google Ads Keywords Stats fields
FieldTypeDescription
keyword_idPKSTRINGKeyword Criterion ID
keyword_textSTRINGKeyword Text
keyword_match_typeSTRINGKeyword Match Type (EXACT, PHRASE, BROAD)
keyword_statusSTRINGCriterion Status (ENABLED, PAUSED, REMOVED)
ad_group_idSTRINGAd Group ID
campaign_idSTRINGCampaign ID
datePKSTRINGDate for time series data
impressionsNUMBERNumber of Impressions
clicksNUMBERNumber of Clicks
cost_microsNUMBERCost in Micros
conversionsNUMBERNumber of Conversions
ctrNUMBERClick-Through Rate
average_cpcNUMBERAverage Cost Per Click
conversions_valueNUMBERTotal Conversion Value
cost_per_conversionNUMBERCost Per Conversion
quality_scoreNUMBERQuality Score
conversion_rateNUMBERConversion Rate
view_through_conversionsNUMBERView-Through Conversions
all_conversionsNUMBERAll Conversions (including cross-device, store visits, etc.)
all_conversions_valueNUMBERAll Conversions Value
average_costNUMBERAverage Cost Per Interaction
average_cpmNUMBERAverage CPM (Cost Per Thousand Impressions)
search_impression_shareNUMBERSearch Impression Share
search_rank_lost_impression_shareNUMBERSearch Rank Lost Impression Share
top_impression_percentageNUMBERTop Impression Percentage
absolute_top_impression_percentageNUMBERAbsolute Top Impression Percentage

What Google Ads data answers

What Google Ads data answers

Across the tables

  • Which campaigns spend the most for the fewest conversions, once cost is divided by conversions?
  • How does cost per conversion change from campaign to ad group to keyword for the same budget?
  • Which countries do campaigns spend in, and which of them convert?

Industry data models that use Google Ads

Where Google Ads data goes

Recent updates

Other data sources

Trust

The Data Partner You Can Trust

users

175K Source: Internal OWOX data as of 2026-11-11

Executives and data analysts across 20+ industries

G2 rating

4.9★2

“A trusted data analytics partner” — verified review

npm installs

171K3

In Open Source We Trust

Customers