Skip to main content

All Questions

0 votes
1 answer
113 views

Passing Oauth tokens to the GA 4 .net library google.analytics.data.v1Beta

I have a GA UA implementation that utilises oAuth tokens to query GA UA to retrieve reports from various users accounts (our system deals with many clients, so we cannot have Service Accounts). I am ...
markblue777's user avatar
1 vote
1 answer
2k views

How to query data via a .netcore app from Google Analytics V4

I found a lot of examples online regarding the topic, but apparently Google have switched to a new way of presenting the data in Google Analytics. In their V4 (for which I guess there is a nuget ...
Borislav Nanovski's user avatar
1 vote
1 answer
248 views

GA4 Admin API for .Net throwing Internal error on CustomDimensions.Patch

I'm trying to update a GA4 dimension via the GA4 API using the .Net library. I've got to the point where it responds with an Internal Error, so not much of a clue why it is failing. Very similar code ...
Tony McCreath's user avatar
1 vote
0 answers
118 views

GA4 Admin API for .Net not returning MeasurementUnit for CustomMetrics. Always null

I'm using the .Net library for the GA4 admin API. When I request CustomMetrics the MeasurementUnit in the response is always null. Am I missing something? var service = new GoogleAnalyticsAdminService(...
Tony McCreath's user avatar