Skip to main content

All Questions

0 votes
1 answer
109 views

Google Directory API - 403 [Not Authorized to access this resource/api] for Method: roles.list

I am using Google Directory API .NET Client to fetch a list of roles in a domain (https://developers.google.com/admin-sdk/directory/reference/rest/v1/roles/list). I use a service account to ...
Nolik's user avatar
  • 141
0 votes
0 answers
32 views

How to upload media to Display Video 360 using the .NET API client?

I'm communicating with Google's Display & Video 360 Service API from my .NET application. To achieve that, I'm using the Google.Apis.DisplayVideo.v3 package: https://github.com/googleapis/google-...
Peter Bosák's user avatar
0 votes
0 answers
75 views

google business reviews, service account "Request had invalid authentication credentials"

I'm trying to fire a request to "https://mybusiness.googleapis.com/v4/accounts/XXXXXXXXX/locations/YYYYYYYY" to get my business reviews out. I have access to the google business API and by ...
Stuart Palmer's user avatar
0 votes
0 answers
46 views

ASP.NET MVC 5 Google Api mybusinessInformation

I try to get the reviews for an enterprise to show it on their website. But I can't connect, I have all ready uri redirect mismatch. I am developing with ASP.NET MVC 5, C#, I tried app.authgoogleAuth ...
M.S.WebFustion's user avatar
1 vote
1 answer
103 views

Get Folders via Google Drive Api

I am using following service code to retrieve folders of the users. I enabled the drive api and want to use service account... There are folders in drive but Execute returns none. What might be ...
TalTrade's user avatar
0 votes
0 answers
36 views

Google Workspace users for authentication in ASP.NET MVC 5 apps

Is it possible to setup authentication via my organization's Google Workspace users? I have several ASP.NET MVC 5 web apps that I want to protect via Google's Workspace users authentication. Link to ...
Hammad Ahmed's user avatar
1 vote
1 answer
272 views

How to upload video to my YouTube channel programmatically on the C#?

I want to upload videos to my YouTube channel programmatically, but when I try to upload using API Key, I got the error in response, that this API don't support API Key. When I try using OAuth, my ...
Vladislav Yurevich's user avatar
1 vote
0 answers
114 views

How to use a user token/refresh token when using the Google Calendar API with the .net library

I have a Blazor App which has a calendar. I want to sync the event from the app calendar, to the users Google Calendar. I am using the 'Authorization Code Flow'. I have succeeded in getting the first ...
Greg Gum's user avatar
  • 37.6k
0 votes
0 answers
288 views

Gmail Api - List Messages Without a Specific Label

I am using Google.Apis.Gmail.v1 within a c# project and I am getting a list of messages via the Users.Messages.List(...) function. Before executing the call to Google, I also set the Q property to ...
andydnd's user avatar
  • 31
1 vote
2 answers
221 views

How to use a cross-project service user to auth in Google Play Developer API

In my current setup, I am only able to have a service account in a shared project called ProjectA. This project is solely used for creating Service Accounts (SA). Afterwards, I invite the SA to my own ...
Lucas Stern's user avatar
1 vote
1 answer
67 views

.NET Google Workspace API getting error CS0266

I am generating a user and populating them into our Google Workspace environment but I cannot seem to get the CustomSchemas to work. I have fiddled around with a few different ways to format it but I ...
Joey 's user avatar
  • 37
1 vote
1 answer
157 views

Google Drive Delta Changes report moved folder but not the files inside that folder

I have implemented Google Drive delta changes logic in my program in C#. var request = service.Changes.List(pageToken); request.Spaces = "drive"; request.IncludeRemoved = false; request....
Gags's user avatar
  • 903
2 votes
1 answer
470 views

C# Google API for requesting a list of users returns "badRequest"

I have been looking for information on this for a couple days now. I believe I have everything relevant to the API set up correctly for access but I keep getting this error: The service admin has ...
Joey 's user avatar
  • 37
0 votes
1 answer
66 views

Problem retrieving files in Google Drive using .NET SDK

I am using Google Drive SDK for the first time and based on some examples I came up with this code: using Google.Apis.Auth.OAuth2; using Google.Apis.Drive.v3; using Google.Apis.Services; namespace ...
rbasniak's user avatar
  • 4,954
0 votes
1 answer
160 views

Google API: Access mailbox to query mails

IDE: MS Visual Studio - C# Code Screenshot: Code ServiceAccountCredential cred; //UserCredential cred; string[] scopes = new string[] { GmailService.Scope.GmailLabels, GmailService....
Jonathan's user avatar

15 30 50 per page
1
2 3 4 5
41