GA4 & Ad platform data blend compatibility issues with metrics & dimensions
Dear community,
As a performance agency, we manage ppc campaigns for lead gen for clients in real estate. Our dashboards (in Looker Studio) use a variety of single data sources (via Supermetrics) and one extensive datablend blending GA4 with all ad platforms (Google Ads, Meta Ads, Microsoft Ads and others).
We use one very important custom dimension ‘Project’. This is a string extracted from the following dimensions with a Regex:
GA4: Property name
Meta Ads: Campaign name
Google Ads: Campaign name
Microsoft Ads: Campaign name
LinkedIn Ads: Campaign name
Upon blending and visualizing data, all seems to work like a charm. Until… we use a data filter based on this ‘Project’ dimension.
The individual scorecards displaying ‘Impressions’ and ‘Clicks’ (as well as derivatives like CPM, CPC) fail to display and result in an error.
The weird thing is, in non-scorecard visualizations, there seems to be no issue to report the impressions and clicks metrics grouped by ‘Project’.
Upon contacting Supermetrics support, the feedback was
I have taken a look at the results and it seems like the filter is causing this issue. When I remove the Project filter, the results came back fine.
Maybe Project and clicks are not meant to be fetched together in the same query under the GA4 API.
As you may understand this ‘Project’ filter is crucial for our reporting. I can only imagine colleagues having experienced the same issue, how did you solve this? What steps can I take to solve my issue? Any help is greatly appreciated.
Page 1 / 1
Hi @Glenn Konversie ,
I’m also working on a digital marketing agency, can you first ensure that GA4 data is working properly?
If yes, I just wonder why do you blend GA4 property to Paid Media Campaigns? You can DM me if you want assistance.. Thanks!!
@geeky_analyst thx for your reply
GA4 data source is functional and works solid. It’s the blending that messes things up.
GA4 property holds the key to our custom dimension ‘Project’. Which is extracted from the GA4 property name, and also from the campaign names of the ad platforms.
So the blend works, i can see an overview of all projects with their metrics from the blend:
Impressions
Clicks
Conversions
Costs
So in a table overview that looks like this, which tells me the metrics are available for the dimension ‘Project’. However, as soon as I filter a scorecard on a specific ‘Project’ dimension value, it fails to perform the query and display data.
Hi Glenn,
Mick from Supermetrics here, Product Manager for our transformations features (Data Blending and Custom Fields). Thanks for a greatly detailed problem description! I have an idea of what is happening. Let’s see if this is correct.
The error you get is an error from Google complaining that we are trying to run a query to their API without any metrics and dimensions.
I assume your blend looks something like this:
Blend
Meta Ads
Google Ads
...
Google Analytics 4
Impressions
Impressions
Impressions
...
-
Website visits
-
-
...
Visits
Project
Project
Project
...
Project
...
...
...
...
...
Where the Impressions are mapped to each other for each Ad platform, but empty for GA4 as this metrics does not exist there, and same for the Visits metric that only exists in GA4, but not in Ad platforms. Is this correct?
So when you create a table with Impressions (Ad platforms) and Website visits (GA4) per Project, we will:
Run a sub-query for each data source as such:
Sub-query 1: Meta Ads Impressions by Campaign name (to extract the Project value), Visits will be skipped as it is not mapped in the blend
Sub-query 2: Google Ads Impressions by Campaign name, Visits will be skipped
…
Sub-query 5: Google Analytics 4 Visits per Property (to extract the Project value), Impressions will be skipped as it is not mapped in the blend
Return all rows in a single table
When you run create a card with Impressions only, we will:
Run a sub-query for each data source as such:
Sub-query 1: Meta Ads Impressions, Visits will be skipped as it is not mapped in the blend
Sub-query 2: Google Ads Impressions, Visits will be skipped
…
Sub-query 5: There will be no query at all since there are no GA4 fields for this Blend field
Aggregate everything in one number and show load it to the card
Now, when you add a filter for a specific Project to a card for Impressions only, we will
Run a sub-query for each data source as such:
Sub-query 1: Meta Ads Impressions by Campaign name (to extract the Project value and only return the data for the value in the filter), Visits will be skipped as it is not mapped in the blend
Sub-query 2: Google Ads Impressions by Campaign name, Visits will be skipped
…
Sub-query 5: The only GA4 field for this query is Property
But here’s the catch, Property is not a dimension in the Google API. Its value is populated by Supermetrics based on the metadata we get from the API. So basically we are trying to run a query to GA4 without any metric or dimension, and we get an error back. And the whole query fails.
We will need to do something on our end to prevent this to happen. In fact I’m pretty sure we have already covered that issue with the GA4 Property dimensions, but because you are using a custom field, we do not identify immediately that GA4 Property cannot be requested in this context.
In the meantime, I can recommend you to try to create another Blend field -- that you can call “Project (Ads only)” for example, with your custom field for each Ad platform, but nothing in the GA4 column. And use this new field for your filter. Then GA4 will be skipped and there will be no error. So something like that:
Blend
Meta Ads
Google Ads
...
Google Analytics 4
Impressions
Impressions
Impressions
...
-
Website visits
-
-
...
Visits
Project
Project
Project
...
Project
Project (Ad only)
Project
Project
...
-
Could you please try this and let me know if this works?
Best regards,
Mick
Hi @Glenn Konversie,
I forgot to tag you in my comment Did you see my reply? Have you tried the workaround?