Re: An error has occurred: { "error": "invalid_grant", "error_description": "Bad Request", "error_uri": "" }

2016-10-25 Thread akshat agrawal
On Monday, October 24, 2016 at 10:22:24 AM UTC+5:30, akshat agrawal wrote: > > Hi Joyce, > Thanks it worked. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/post

Re: An error has occurred: { "error": "invalid_grant", "error_description": "Bad Request", "error_uri": "" }

2016-10-23 Thread 'Joyce Lava' via AdWords API Forum
Hi Akshat, This error normally happens if you missed something in the configuration of OAuth2 credentials or refresh token. Could you please confirm if you followed this guide carefully and which app type have you configur

Re: An error has occurred: { "error" : "invalid_grant" }

2015-03-23 Thread Andy Steinhauf
Hello, I tried it again as suggested above, but it resulted in the same error. I open'd an issue: https://github.com/googleads/googleads-php-lib/issues/84 -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ http

Re: An error has occurred: { "error" : "invalid_grant" }

2015-03-16 Thread Anash P. Oommen (AdWords API Team)
Hi Andy, Could you double-check your steps against the ones listed on https://github.com/googleads/googleads-php-lib/wiki/Using-OAuth-2.0? If that doesn't work, pls open an issue on https://github.com/googleads/googleads-php-lib/issues and I'll ask the PHP library maintainer to follow up with

Re: An error has occurred: { "error" : "invalid_grant" }

2015-03-12 Thread Andy Steinhauf
Hello, Thanks a lot for your answer. I recreated the refresh token, but the error still occurs. best regards Andy -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDeveloper

Re: An error has occurred: { "error" : "invalid_grant" }

2015-03-11 Thread Anash P. Oommen (AdWords API Team)
Hi Andy, Try regenerating the refresh token once more. Looks like the refreshtoken grant changed after it was issued. Cheers, Anash P. Oommen, AdWords API Advisor. On Wednesday, March 11, 2015 at 2:58:50 PM UTC-4, Andy Steinhauf wrote: > > Hello, > > I'm make my first steps with the adwords api

Re: An error has occurred: { "error" : "invalid_grant" }

2014-07-09 Thread Michael Cloonan (AdWords API Team)
Hello Abel, You can find a guide that includes utilities that will help generate the refresh token for you on our AdWords-specific OAuth 2.0 guide . Alternatively, if you would like to gene

Re: An error has occurred: { "error" : "invalid_grant" }

2014-07-07 Thread youfindadword . test
Hi Takeshi, How to get refresh token. Is not this address to obtain: https://accounts.google.com/o/oauth2/auth?scope=email%20profile&redirect_uri=http://localhost&response_type=code&client_id=CLIENT_ID Hope you can help me! Regards, abel Takeshi Hagikura (AdWords API Team)於 2013年8月23日星期五UTC+8下午1

Re: An error has occurred: { "error" : "invalid_grant" }

2014-07-07 Thread youfindadword . test
Hi Takeshi, How to get refresh token. what URL. This web site is not?( https://accounts.google.com/o/oauth2/auth?scope=email%20profile&redirect_uri=http://localhost&response_type=code&client_id=CLIENT_ID) Hope you can help me! Regards, Abel Takeshi Hagikura (AdWords API Team)於 2013年8月23日星期五UT

Re: An error has occurred: { "error" : "invalid_grant" }

2014-07-07 Thread fans913
Hi Takeshi, Get refresh toke URL is not this https://accounts.google.com/o/oauth2/*. thanks. Takeshi Hagikura (AdWords API Team)於 2013年8月23日星期五UTC+8下午1時05分23秒寫道: > > Hi Jur, > > I got it. > > > I click accept and get : > > Please copy this code, switch to your application and paste it there:

Re: An error has occurred: { "error" : "invalid_grant" }

2014-07-07 Thread youfindadword . test
Hi Takeshi, How to get refresh token,Is not this address to obtain:https://accounts.google.com/o/oauth2/auth?scope=email%20profile&redirect_uri=http://localhost&response_type=code&client_id= Hope you can help me! Regards, abel Takeshi Hagikura (AdWords API Team)於 2013年8月23日星期五UTC+8下

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
Hi Jur, Grad to hear that the problem resolved. Thanks, - Takeshi, On Saturday, August 24, 2013 3:03:10 AM UTC+9, Jur wrote: > > Hello Takeshi, > > Problem solved > > Thanks, I feel a bit stupid I didn't think of this. > But still, it's not that obvious. > > Thanks again! > > Regards, > >

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-26 Thread Robert Rafai
Look at my Posting: https://groups.google.com/forum/?hl=en#!topic/adwords-api/ka19cZNbQo8 Its not the Refresh_token, it is the Authcode. I have inserted in the getrefreshtoken.php and then i got the refresh_token. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog a

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-23 Thread Jur
Hello Takeshi, Problem solved Thanks, I feel a bit stupid I didn't think of this. But still, it's not that obvious. Thanks again! Regards, Jur Op vrijdag 23 augustus 2013 07:05:23 UTC+2 schreef Takeshi Hagikura (AdWords API Team): > > Hi Jur, > > I got it. > > > I click accept and get

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-22 Thread Takeshi Hagikura (AdWords API Team)
Hi Jur, I got it. > I click accept and get : > Please copy this code, switch to your application and paste it there: In that step, when you get is an authorization code (kind of one time password) that can be used to generate access token (and refresh token when offline-mode). In GetRefreshTok

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-22 Thread Jur
Hello Takeshi, I used my MCC account to generate the client_id and client_secret. Client ID for installed applications Client ID:xxx .apps.googleusercontent.com Client secret: xxx Redirect URIs: urn:ietf:wg:oauth:2.0:oob http://localhost The GetRefreshToken.php didn't give me a refresh t

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-21 Thread Takeshi Hagikura (AdWords API Team)
Hi Jur, The SOAP xml looks right to me. So next, what account did you use in api console to retrieve your client id and client secret? Also did you replace the refresh_token in your auth.ini by the refresh token returned in GetRefreshToken.php? Best, - Takeshi, On Wednesday, August 21, 2013

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-21 Thread Jur
Hello Takeshi, I think the error is in this part of the code in the file /Common/Lib/AdsSoapClient.php: $response = parent::__soapCall($function_name, $arguments, $options, $input_headers, $output_headers); Hope you can help me! Regards, Jur Op woensdag 21 augustus 2013 13:53:06 UTC

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-21 Thread Jur
Hello Takeshi, I did find it a strange request, but I did send it anyway :-) Thanks for removing the message. I think this is the XML send : http://schemas.xmlsoap.org/soap/envelope/"; xmlns:ns1="https://adwords.google.com/api/adwords/cm/v201306";>823-418-1279RIS_Online_Conversion (AwApi-P

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-20 Thread Takeshi Hagikura (AdWords API Team)
Hi Jur, Sorry I didn't mean to post client id and client secret. I wanted to know what account did use to get your client id and client secret. If you used your MCC account under which your test account is in or the test account itself for getting client id and secret, the CampaignService.get

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-20 Thread Jur
Hello Takeshi, Clientid: 535034169318-5vb9ld76jrt5htp9860ps5k6kjqua6c6.apps.googleusercontent.com Client_secreat:fEQ5CL5xL9s-joJI990A-8C4 I use the standard getCampainsExample function: // Include the AdWordsUser require_once LIB_PATH . '/AdWordsUser.php'; function GetCampaignsExample(AdWords

Re: An error has occurred: { "error" : "invalid_grant" }

2013-08-19 Thread Takeshi Hagikura (AdWords API Team)
Hi Jur, What clientId and clientSecret are you passing to the script when you run the GetRefreshToken.php script? And can you please share the request xml when you run the GetCampaign (except for the sensitive info)? Best, - Takeshi, AdWords API Team On Friday, August 9, 2013 1:15:48 AM UTC