Team, I am trying to get the Google AdWords Campaign data by C# Console application with the below settings, using the service account method. But i get the error_description" : "Unauthorized client or scope in request." , it doesn't make sense. Because the same is used in Google Analytics Core V3 API, it works fine. Not sure what is going on, could anyone please direct me here. Thanks a bunch ..
user.OAuthProvider.Config.OAuth2Mode = OAuth2Flow.SERVICE_ACCOUNT; user.OAuthProvider.Config.OAuth2CertificatePath = @"c:\SCXXXXXXXXXX-fa275b332b6c.p12"; user.OAuthProvider.Config.OAuth2ServiceAccountEmail = "647795xxxxxxxxxxxxxxxxxxxxxxxx...@developer.gserviceaccount.com" ; user.OAuthProvider.Config.OAuth2PrnEmail = "xxxxxxxxxxxxxx...@gmail.com"; user.OAuthProvider.Config.OAuth2ClientId = "647797670307-XXXXXXXXadov5.apps.googleusercontent.com"; user.OAuthProvider.Config.OAuth2Scope = " https://www.googleapis.com/auth/adwords"; user.OAuthProvider.Config.OAuth2CertificatePassword = "notasecret"; thanks Senthil -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at http://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/a8266aa3-0369-42f8-9b8a-8f1392e0c12c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.