Hi,

Sorry to hear this process has been frustrating for you. Have you looked at 
the step-by-step instructions for OAuth2 on the .NET library's wiki pages?

https://github.com/googleads/googleads-dotnet-lib/wiki/Using-OAuth2TokenGenerator

The *invalid_client* message you received in step 5 usually means that the 
*client 
ID *or *client secret* are incorrect. If that's not the issue and the 
step-by-step instructions don't help, please post a reply here. Note that 
if you need to send any sensitive information along to me for 
troubleshooting you can do so by clicking the *Reply to Author* option.

Thanks,
Josh, AdWords API Team

On Friday, October 17, 2014 3:55:23 PM UTC-4, Shruti wrote:
>
> Hi,
>
> I'm trying to migrate an application from using ClientLogin to oAuth2. I 
> have followed the instructions as given here - 
> https://developers.google.com/adwords/api/docs/guides/clientlogin-to-oauth2-single-mcc
>  
> and https://developers.google.com/adwords/api/docs/guides/authentication
>
> As indicated, I have 
> 1. created a new project in the developer console.
> 2. added credentials for installed application and generated the clientId 
> and client secret.
> 3. set up the consent form with email and the product name
> 4. used the client library utility to generate the authorization code
> 5. Copied the authorization code back to the client library utility to 
> exchange it for access token and the refresh token (which resulted in 
> invalid client)
>
> 6. So, I finally I used the oauth playground (note - I used the sandbox 
> scope) to get the access token and refresh token and used these in my 
> application config.
>
> But still get the below error - 
>
> {"Failed to refresh access token.\n{\n  \"error\" : 
> \"unauthorized_client\"\n}"}
>
> I find all this process just to obtain the authorization to access my 
> older adwords account too frustrating. Can you please help me identify if 
> I'm missing anything here?
>
> Any urgent help will be appreciated.
>
> Thanks.
>
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/09703ea1-32d3-4643-9065-adbb149b8a27%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to