Closed GoogleCodeExporter closed 9 years ago
Try to change your scopes assignment to:
string scope =
Google.Apis.Analytics.v3.AnalyticsService.Scopes.Analytics.GetStringValue();
(You may need to add using Google.Apis.Util; also as another using statement in
the beginning of your file)
See the following link as a good example:
https://code.google.com/p/google-api-dotnet-client/source/browse/Books.ListMyLib
rary/Program.cs?repo=samples#39
Original comment by pele...@google.com
on 19 Sep 2013 at 7:27
I'm closing this issue, feel free to reopen it if you feel like.
By the way take a look in our samples repository, there is a Plus sample that
use service account:
https://code.google.com/p/google-api-dotnet-client/source/browse/Plus.ServiceAcc
ount/Program.cs?repo=samples
Original comment by pele...@google.com
on 19 Sep 2013 at 7:28
Original issue reported on code.google.com by
k3v1np...@gmail.com
on 17 Sep 2013 at 4:14