Hi Josh,
All of my details seem to be correct, i've repeated the process many times 
and i still receive the same error.
I'm using "Installed application" type when i create the Client ID and not 
a web application.
I am indeed using the OAuth asp.net library examples code and not my own 
code.

BTW, the "clientCustomerId" as mentioned in the example app.config file 
needs to be the ID of my MCC account, correct? 
" <add key="ClientCustomerId" value="INSERT_YOUR_CLIENT_CUSTOMER_ID_HERE"/> 
"

Any idea why this still is not working?
Thanks

On Monday, June 2, 2014 7:03:36 PM UTC+3, Josh Radcliff (AdWords API Team) 
wrote:
>
> Hi,
>
> That error usually means that the client ID or client secret in your 
> config file are incorrect. Another possibility is that you set up your 
> application in the Developer Console using the wrong application type, 
> e.g., you set up a web application when an native/installed application is 
> expected.
>
> If you haven't done so already, please check out the OAuth2 wiki for our 
> .NET client library 
> <https://github.com/googleads/googleads-adwords-dotnet-lib/wiki/Using-OAuth>. 
> Also, are you getting this error while trying to run our OAuth example 
> <https://github.com/googleads/googleads-adwords-dotnet-lib/blob/master/examples/adwords/CSharp/OAuth/ConsoleExample.cs>
>  or 
> are you using your own code?
>
> Thanks,
> Josh, AdWords API Team
>
> On Monday, June 2, 2014 9:10:04 AM UTC-4, Bezecom Voip wrote:
>>
>> Hi,
>> I keep getting unauthorized_client 401 error while asking for refresh 
>> token.
>> I'm pretty sure all details are correct. how come i keep getting this 
>> error?
>>
>> My web.config:
>>  <add key="DeveloperToken" value="fLGqU*******wsw"/>
>>         <add key="ClientCustomerId" value="847-***-71**"/>
>>         <add key="AuthorizationMethod" value="OAuth2" />
>>         <add key="OAuth2ClientId" value="724*******3-*************.
>> apps.googleusercontent.com" />
>>         <add key="OAuth2ClientSecret" value="otP8***************QE" />
>>         <add key="OAuth2Mode" value="APPLICATION" />
>>
>> any ideas?
>> 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.
For more options, visit https://groups.google.com/d/optout.

Reply via email to