You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 12, 2025. It is now read-only.
Using the .Net youtube analytics client, I get the following error when with the attached executed code. This query works in the "Try It" section of the Youtube Analytics and Reporting documenation
Using the .Net youtube analytics client, I get the following error when with the attached executed code. This query works in the "Try It" section of the Youtube Analytics and Reporting documenation
// ERROR MESSAGE
Google.Apis.Requests.RequestError
Required [400]
Errors [
Message[Required] Location[ - ] Reason[required] Domain[global]
]
// CODE BEGINS HERE
var youtubeAnalyticsService = new YouTubeAnalyticsService(new BaseClientService.Initializer()
{
HttpClientInitializer = credential,
ApplicationName = "MyApp"
});
There doesn't seem to be any other way to assign values to the ReportsQuery object. Unless I'm missing something...