Hi Senthil, Im facing the same issue with the service account. Were you able to resolve this?
On Monday, August 24, 2015 at 7:49:40 AM UTC-5, Senthil Palaniswami wrote: > > 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 > <javascript:>" ; > > user.OAuthProvider.Config.OAuth2PrnEmail = " > xxxxxxxx...@gmail.com <javascript:>"; > > 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 > -- This email and any files transmitted with it are for the use of the intended recipient(s) only. If you have received this email in error, please notify the sender immediately and then delete it. If you are not the intended recipient, you must not keep, use, disclose, copy or distribute this email and any files transmitted with it without the sender's prior written is permission. The information contained in this communication is confidential and proprietary information of Beyond Finance, Inc. and its Affiliates. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads 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 and Google Ads API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/9ccb3439-5494-4d55-ac33-9439e4335272o%40googlegroups.com.