Hi,

All examples in the PHP libraries (including the *GetRefreshToken.php* example) 
should be run from the command line. In particular, the *GetRefreshToken* 
example 
writes a URL for you to follow to stdout, and then *reads* the 
authorization code you type in from stdin.

Please try running the example from the command line and let me know if you 
still encounter issues.

Thanks,
Josh, AdWords API Team

On Friday, May 1, 2015 at 4:58:23 PM UTC-4, Keyur Eragon wrote:
>
> Hello
>
> i am follow 
> https://developers.google.com/adwords/api/docs/guides/authentication step
> but i am getting below error 
>
> Log in to your AdWords account and open the following URL: 
> https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=1064417969718-shu697uugo1nvnc281ffd3tc3kg7c3t2.apps.googleusercontent.com&redirect_uri=urn%3Aietf%3Awg%3Aoauth%3A2.0%3Aoob&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fadwords&access_type=offline
>  
> After approving the token enter the authorization code here: Your OAuth2 
> Credentials are incorrect. Please see the GetRefreshToken.php example. { 
> "error" : "invalid_request", "error_description" : "Missing required 
> parameter: code" } 
>
> i am set the  client_id  and client_secret in auth.ini
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/064841de-7345-4f7a-b9bc-1d7ba96d7a14%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to