Re: Can't get refresh token through OAuth2TokenGenerator

2014-10-18 Thread Sergey Volkov
Thanks! It's helped

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/6d09dd2d-3344-4da1-90f3-6f87510b832e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Can't get refresh token through OAuth2TokenGenerator

2014-10-17 Thread Sergey Volkov
Hi

According to this instruction 
https://github.com/googleads/googleads-dotnet-lib/wiki/Using-OAuth2TokenGenerator
i'm getting on the 2nd screenshot:

*400.* That’s an error.

 *Error: redirect_uri_mismatch*

The redirect URI in the request: http://localhost:8080/ did not match a 
registered redirect URI.

Does it suppose to work?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/373b9db8-57a4-4227-8192-8447f92f6537%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Can't get refresh token through OAuth2TokenGenerator

2014-10-17 Thread Danial Klimkin
Hello Sergey,


It looks like you've selected Web Application when set up the OAuth 
client. Please either use Installed Application, or modify the client 
settings to whitelist http://localhost:8080/ 
http://www.google.com/url?q=http%3A%2F%2Flocalhost%3A8080%2Fsa=Dsntz=1usg=AFQjCNHav3I9_aV-3Af2UKEFgwwK-QWYeQ



-Danial, AdWords API Team.


On Thursday, October 16, 2014 10:11:53 PM UTC+4, Sergey Volkov wrote:

 Hi

 According to this instruction 
 https://github.com/googleads/googleads-dotnet-lib/wiki/Using-OAuth2TokenGenerator
 i'm getting on the 2nd screenshot:

 *400.* That’s an error.

  *Error: redirect_uri_mismatch*

 The redirect URI in the request: http://localhost:8080/ did not match a 
 registered redirect URI.

 Does it suppose to work?



-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/b67667cc-b04e-4001-ac7b-03025aa88f95%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.