user.OAuthProvider.Config.OAuth2Mode = OAuth2Flow.SERVICE_ACCOUNT;
user.OAuthProvider.Config.OAuth2CertificatePath = @"c:\SCXXXXXXXXXX-fa275b332b6c.p12";
user.OAuthProvider.Config.OAuth2ServiceAccountEmail = "647795XXXXXXXXXX...@developer.gserviceaccount.com" ;
user.OAuthProvider.Config.OAuth2PrnEmail = "XXXXXXXX...@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";
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 = "647795XXXXXXXXXXXXXXXXXXXXXXXXXXX@developer.gserviceaccount.com" ;
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 = "647795XXXXXXXXXXXXXXXXXXXXXXXXXXX@developer.gserviceaccount.com" ;
--
--
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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 adwor...@googlegroups.com
To unsubscribe from this group, send email to
adwords-api...@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 a topic in the Google Groups "AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/gx2nFBGrNxM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@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/bbf79554-380e-4c2c-b92b-2ff8600588e4%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
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 a topic in the Google Groups "AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/gx2nFBGrNxM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api+unsubscribe@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 a topic in the Google Groups "AdWords API Forum" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/adwords-api/gx2nFBGrNxM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to adwords-api...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/d933f92d-c837-4feb-89ff-424aad0af128%40googlegroups.com.
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 = "647795XXXXXXXXXXXXXXXXXXXXXXXXXXX@developer.gserviceaccount.com" ;