HttpWebRequest myHttpWebRequest = (HttpWebRequest)WebRequest.Create("https://www.googleapis.com/youtube/analytics/v1/reports?ids=channel%3D%3D{channelid}&start-date=2012-01-01&end-date=2012-02-01&metrics=views");
service.Authenticator.ApplyAuthenticationToRequest(myHttpWebRequest);
HttpWebResponse response = myHttpWebRequest.GetResponse() as HttpWebResponse;
I'm getting the 403 forbidden error. The error occurs on the GetResponse() line. The scope has been set to "https://www.googleapis.com/auth/yt-analytics.readonly". The header contains the access token bearer.
EDIT: I'm using an service account, could this be a problem?