Skip to main content

All Questions

1 vote
3 answers
2k 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 ...
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/...
0 votes
1 answer
705 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 ...
0 votes
2 answers
5k views

X509Certificate2 Access denied error

EDIT: This is my final code after taking your(@DalmTo) advice: public static AnalyticsService Authenticate() { string[] scopes = new string[] { AnalyticsService.Scope.Analytics, ...
0 votes
0 answers
113 views

Accessing Google.Apis.Analytics.v3 from web application without .p12 file

I have an ASP.NET 4.5 application with a separate class library for accessing the Google analytics data. Every try to use the common methods (loading the certificat from .p12 file) ends in an "...
3 votes
1 answer
498 views

Google API-change, results in a MONO error: Invalid IL code in System.Net.Http.HttpClientHandler:.ctor (): method body is empty

I had to change the auth system behind the Google Analytics API following the old auth system becoming defunct. As a result of a SO post, my auth file went from: protected override void Load(...
0 votes
1 answer
77 views

Can I move a Google API implementation to a web-service?

I have an in-house CMS system written in ASP.NET C#, and I need to implement a few pages that can allow the user to access and alter their Google Analytics management settings using the Google ...
0 votes
1 answer
612 views

invalid credential error is comimg while using google analytics

Im using Google Analytics API to show google analytics data, but I am getting invalid credential error at the line AccountFeed accountFeed = service.Query(query); Is gmail username and password and ...
0 votes
1 answer
2k views

Web request to 'https://accounts.google.com/o/oauth2/token' failed using webapplication

I have SERVICE account in GoogleConsoleAPI . My console application is working fine and i am getting the data from GoogleAnalytics But when i implement the same code into WEB Application and try to ...