-
Troubleshooting Incompatibility Issues with Google Analytics 4 Reporting in Python
“Hey there! I’ve been working with Google Analytics Data API v1Beta and a custom dimension to pull some data from GA4 account. Python is my tool of choice to get the eventCount metric with keys like date, campaignId, campaignName and eventName. My end goal is to figure out the eventCount for various eventName in different campaignName. Any info on how to get this rolling?
...
// Python code ensues
...
I crossed paths with an error message that goes: ‘InvalidArgument: 400 Please remove eventCount to make the request compatible. The request’s dimensions & metrics are incompatible. Check out: https://ga-dev-tools.web.app/ga4/dimensions-metrics-explorer/.’
Here’s what it looks like: https://i.stack.imgur.com/APcUN.png
Cheers!”
Log in to reply.