A Data Studio (formerly Looker Studio) blend is fine for a quick look at ad spend next to GA4 sessions, but it is a poor place to compute ROAS from etlmcp tables. A blend joins at most five tables, only on equal values, after it has grouped each table by the dimensions you picked, and it turns every source metric into a plain number per row. With ad-level rows on one side and campaign-level GA4 rows on the other, that gives you collapsed rows or sessions counted several times. The safer route: in your database, aggregate each side to date and campaign in a SQL view, join the two once, and point the report at that view.
What a blend does to your rows
The rules that matter here, from Google's page on how blends work:
- Five tables at most. One blend can hold up to five tables, so a Google Ads, Meta, Microsoft, TikTok and GA4 mix already fills it.
- Equality only. A join condition matches a field in one table to a field in another when the values are equal. You cannot join on a range, such as a date falling inside a flight, or on "not equal".
- Grouping before the join. Each table is grouped by the dimensions you chose for it, and its rows are aggregated, before the tables are merged. If none of those dimensions tells two rows apart, they become one row. Google's fix is to add a field that is unique per record, such as a primary key.
- Metrics become dimensions. Inside the blend, the metrics of each source table arrive as numeric dimensions that are no longer aggregated. Whatever you sum in a chart on top of the blend is a sum of the merged rows, not of the original table.
- Unions drop duplicates. When you stack tables with a union instead of a join, rows that are exact duplicates are removed rather than kept. If the fields you union leave out the account, two accounts that report the same day, campaign name, spend and clicks become one row.
Blends also live inside the report that created them: you cannot reuse one in another report, though copying the report copies its blends.
Why etlmcp tables trip on these rules
An ad platform pipeline writes rows at ad level: each row has a date, network, campaign_id, adgroup_id and ad_id, with impressions, clicks, cost and the computed ctr, cpc, cpm and cpa. A GA4 pipeline writes one row per date, campaign and session source / medium, with network set to ga4. Its ad_id is empty, and its five common delivery fields (impressions, clicks, cost, conversions, conversion_value) stay empty, because Google Analytics does not measure ad delivery. Its own figures sit in extra columns: extra.sessions, extra.engaged_sessions, extra.total_users, extra.new_users, extra.page_views, extra.key_events, extra.orders and extra.revenue.
GA4 puts source / medium where ad platforms put the ad group. In GA4 rows, adgroup_id and adgroup_name both hold the session source / medium, such as google / cpc. A blend that joins on ad group will never match a Google Ads or Meta row, so every GA4 figure comes back empty.
Ad-level rows repeat the GA4 side. If the ad table keeps ad_id as a dimension and the join is on date and campaign, each GA4 row matches every ad of that campaign on that day. A campaign with eight active ads shows its sessions eight times, and a chart that sums them reports eight times the traffic. Revenue repeats the same way, so ROAS comes out wrong.
Some GA4 figures must not be added. extra.total_users and extra.new_users are counted once per day, campaign and source / medium. Summing them across days or campaigns counts the same person more than once. Sessions, orders and revenue add up; users do not.
GA4's campaign_id is its session campaign ID. For auto-tagged Google Ads traffic that is the Google Ads campaign ID; for other traffic it is whatever your tagging sent, and when GA4 has no ID, etlmcp keys the row on the campaign name instead. Check that both sides carry the same IDs before you trust the join.
The SQL view to use instead
When both pipelines load into a PostgreSQL destination, aggregate each side to date and campaign first, then join once. Extra columns keep their dotted names in PostgreSQL, so they need double quotes. The example assumes both pipelines write to one table named marketing; if they write to two tables, use one in each block.
CREATE VIEW campaign_daily AS
WITH ads AS (
SELECT date, network, campaign_id, currency,
max(campaign_name) AS campaign_name,
sum(impressions) AS impressions,
sum(clicks) AS clicks,
sum(cost) AS cost
FROM marketing
WHERE network <> 'ga4'
GROUP BY date, network, campaign_id, currency
),
ga4 AS (
SELECT date, campaign_id,
sum("extra.sessions") AS sessions,
sum("extra.orders") AS orders,
sum("extra.revenue") AS revenue
FROM marketing
WHERE network = 'ga4'
GROUP BY date, campaign_id
)
SELECT a.date, a.network, a.campaign_id, a.campaign_name, a.currency,
a.impressions, a.clicks, a.cost,
g.sessions, g.orders, g.revenue
FROM ads a
LEFT JOIN ga4 g
ON g.date = a.date AND g.campaign_id = a.campaign_id;
Each side now has exactly one row per date and campaign, so nothing repeats in the join. Add the view to your report as a single data source and compute ROAS in the chart as the sum of revenue divided by the sum of cost.
Before you rely on the view:
- An extra column is added to the table the first time a row carries it, so
"extra.orders"exists only once a GA4 row has reported orders. Run the view after the first GA4 load. - The
LEFT JOINkeeps only campaigns with spend. UseFULL OUTER JOINif you also want GA4 traffic from campaigns that had no cost that day. costis in each ad account's currency andrevenuein the GA4 property's currency. Divide one by the other only when the two match, or convert first.- Leave
extra.total_usersout of the view, or report it per row without summing.
If you only have a CSV export and no database, a blend is still the tool you have. Keep it small: blend at most two tables, pick only date and campaign_id as dimensions on both sides, and never add ad_id or ad group to either.