Andrea, Please make sure you have created an Installed application and get its client ID and client secret. When you copy/paste the URL, please make sure you are logged in as the MCC user. Lastly, you will need to copy the *full* authorization code from the text box back into the command prompt.
Please see https://developers.google.com/adwords/api/docs/guides/authentication Cheers, Ray On Thursday, April 10, 2014 5:05:56 AM UTC-4, Andrea Firetto wrote: > > Hello, > I'm following the procedure described here: > https://code.google.com/p/google-api-adwords-php/wiki/OAuth2 > But after all I get that answer: > > Your OAuth2 Credentials are incorrect. > Please see the GetRefreshToken.php example. > { > "error" : "invalid_client", > "error_description" : "Bad request." > } > > How can I solve it? > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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.