All Questions
Tagged with google-analytics-api google-api-dotnet-client
65 questions
1
vote
3
answers
1k
views
I have issues with Google Analytics Data API (GA4) in .NET
I have a problem, I can't get the call to analytics to work with the example from this documentation ( Quick start ). I've changed some things I've read, since it doesn't allow me to use the example ...
0
votes
1
answer
728
views
Authorize Google analytics data from a web application
I am trying to authorize an ASP.NET Core 6 MVC web app to Google analytics data API.
[GoogleScopedAuthorize("https://www.googleapis.com/auth/analytics.readonly")]
public async Task<...
1
vote
1
answer
631
views
How do I add a metric name to MetricOrderBy when using Google.Analytics.Data.V1Beta?
I am writing come code in c# with Visual Studio 2022 to fetch Google G4 analytics data and cannot get one piece to work correctly. It is the part where a create an "OrderBy" list for the &...
1
vote
1
answer
273
views
GA4 Admin API properties.webDataStreams.getEnhancedMeasurementSettings seems to be broken
I've a .Net tool that gathers Admin data via the GA4 Admin API using the nuget package Google.Apis.AnalyticsReporting.v4.
We've recently noticed that our calls to getEnhancedMeasurementSettings ...
5
votes
1
answer
2k
views
How to authorize Google anlaytics data api with OAuth2
I am trying to connect to the new Google Analytics Data api using C# to request data from the new google analytics GA4. The only sample i can find is
Quickstart client libraries .net This does work ...
0
votes
2
answers
1k
views
Google.Analytics.Data.V1Alpha - property "daterange" read only
https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart-client-libraries
I have run the sample code of the quickstart in c# and this works fine.
But I want to use it in an older ...
1
vote
1
answer
255
views
How do I authenticate using OAuth2 in the Google Analytics Reporting API?
I'm coding in C#.NET, in a Windows console application, and trying to download Google Analytics metrics data. I've installed the Google.Apis.AnalyticsReporting.v4 NuGet library package, and it brought ...
2
votes
1
answer
1k
views
Is Universal Analytics C# SDK compatible with GA4?
I am using Google.Apis.AnalyticsReporting.v4 library for old google analytics views. How do I convert this code to GA4? I can't find a line about switching View Id to something else in code.
I have ...
1
vote
0
answers
213
views
How can I filter GoogleAnalytics results by campaign name?
I'm using Google Analytics Reporting API V4 to retrieve the page views for a site. I can filter the landingPagePath fine, but the report object contains 2 rows (2 different campaigns). I want to ...
0
votes
1
answer
838
views
Receiving 400 Bad Request error with Google Api Batch Request
I'm having an issue with an Analytics API batch request that I am doing, it was working and now it isn't without me changing anything. I know Google are making changes to their batch endpoints and I ...
1
vote
1
answer
221
views
ASP.NET Google Reporting API values differ from Google Analytics Dashboard
Report
I have read this thread: Google Analytics API: Why is the API data different than what's being seen on the Analytics Dashboard? But still cannot figure out why my results differ so much ...
0
votes
1
answer
254
views
Correct Google analytics api for my project
We are busy with a project where we want to show our customers their popularity rating on our site. Each customer has pages on our sites and we want to use the visits for those pages in Google ...
0
votes
1
answer
341
views
Google Analytics Multi-Channel Funnels connection c# [closed]
I'm trying to retrieve the first/last/assisted interactions from Multi-Channel Funnels Reporting API. I can't seem to figure out how to connect to the API in C#.
I do already have a working ...
0
votes
1
answer
697
views
The primary reference "Google.Apis" could not be resolved
Using Google.Apis version 1.10.0
I have manually added all the google apis libraries to my application .net framework 4.0. I can not download it from Nuget because its not possible on my client ...
3
votes
3
answers
2k
views
Invalid provider type specified when trying to access google analytics
We keep getting the error below whenever we try to access the API to get current user numbers. I've tried a few things but cannot get to the bottom of this. Can anyone shed any light on whats wrong/...