etlmcp writes GA4 into the same columns as the ad platforms, but GA4 fills them differently. A GA4 row has network = 'ga4', the property ID in account_id, the session campaign in campaign_id and campaign_name, and the session source / medium (such as google / cpc) in both adgroup_id and adgroup_name. ad_id is empty, and so are the five delivery columns impressions, clicks, cost, conversions and conversion_value. Sessions, key events, orders and revenue sit in extra.* columns instead. If you join GA4 to an ad table on adgroup_id, or sum conversions across every network expecting GA4 to be in it, you get wrong answers.
The column map
The GA4 connector asks the Google Analytics Data API for four dimensions, date, sessionCampaignId, sessionCampaignName and sessionSourceMedium, plus a fixed set of metrics, and writes one row for each date, campaign and source / medium.
| Column | On a GA4 row | GA4 field it comes from |
|---|---|---|
date |
The report day | date, which the API returns as YYYYMMDD; etlmcp stores it as a date |
network |
ga4 |
none |
account_id |
The numeric property ID | the property |
account_name |
The property's display name | the property |
campaign_id |
The session campaign ID, or the campaign name when the ID is empty or (not set) |
sessionCampaignId |
campaign_name |
The session campaign name, or (not set) when GA4 gives none |
sessionCampaignName |
adgroup_id, adgroup_name |
The session source / medium, the same text in both | sessionSourceMedium |
ad_id, ad_name |
Empty text | none |
impressions, clicks, cost, conversions, conversion_value |
NULL | not requested |
ctr, cpc, cpm, cpa |
NULL, since they are worked out from the empty columns | none |
currency |
The currency code the report states | report metadata |
extra.sessions, extra.engaged_sessions, extra.total_users, extra.new_users, extra.page_views, extra.key_events, extra.orders, extra.revenue |
GA4's own figures | sessions, engagedSessions, totalUsers, newUsers, screenPageViews, keyEvents, transactions, purchaseRevenue |
Google's schema describes sessionSourceMedium as the source and the medium joined into one value, and says the session campaign dimensions cover Google Ads, manual and other campaigns. What each extra means is listed on the GA4 connector page.
Why the delivery columns stay empty
Google Analytics does not see impressions or cost, so those columns have nothing to hold. The connector also leaves conversions and conversion_value empty on purpose: a query that sums conversions over all networks would otherwise count a purchase twice: once as the ad platform's attributed conversion and once as the GA4 key event for the same visit. With GA4's figures in extra.*, a cross-network sum of conversions counts platform-reported conversions only.
In SQL, the empty columns are NULL. sum(cost) over GA4 rows alone returns NULL, not 0. When you need a number, filter to the ad networks with network <> 'ga4', or wrap the sum in coalesce(sum(cost), 0).
What the dimension columns mean for joins
adgroup_idis not an ad group. Two GA4 rows with the same campaign on the same day differ only by source / medium. Never join it to an ad platform'sadgroup_id. To see paid traffic only, filter on it instead, for exampleadgroup_id = 'google / cpc'.campaign_idmay be a name. When GA4 reports no campaign ID, etlmcp keys the row on the campaign name, so the same column holds numeric IDs on some rows and text names on others. A join oncampaign_idmatches only where GA4 recorded a real ID that the ad platform also uses.- Rows that share a key are merged. If one campaign ID arrives under two names on a day, etlmcp adds the figures into one row under the first name it saw. That row leaves out
extra.total_usersandextra.new_users, because a person may be counted under both names. account_idis a property, not an ad account. It never matches an ad platform's account ID.
For a worked join of sessions to spend, see Put GA4 sessions next to ad spend.
Currency and dates
etlmcp's report request names no currency, and Google's ResponseMetaData reference says that a report then uses the property's current currency. So extra.revenue is in the property's currency, and currency on each GA4 row records it. It may differ from the ad account's currency that cost is in on the other rows; see what happens when the property's currency changes. Revenue is in whole currency units, not micros.
The date is GA4's own report day, parsed from YYYYMMDD with no time zone conversion. If you change the property's time zone, see what that does to the days.
Reading the extras in PostgreSQL
In a PostgreSQL destination the extras keep their dotted names, so each one needs double quotes. GA4's catalogued extras are created as numeric columns, so they sum directly:
SELECT date,
campaign_id,
adgroup_id AS source_medium,
sum("extra.sessions") AS sessions,
sum("extra.key_events") AS key_events,
sum("extra.revenue") AS revenue,
max(currency) AS currency
FROM marketing
WHERE network = 'ga4'
AND date >= DATE '2026-11-01'
GROUP BY date, campaign_id, adgroup_id
ORDER BY date, revenue DESC;
Do not add extra.total_users or extra.new_users this way across days or campaigns: users are counted per row, and the same person can appear on many rows. See metrics you cannot add up.