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

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

2016-10-23 Thread akshat agrawal
Hi, Can anyone explain what this error is all about. thanks. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

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

2015-03-11 Thread Andy Steinhauf
Hello, I'm make my first steps with the adwords api and PHP. I've an client-id, client-secret and refreshtoken, but after / during authentification a get the above error. What exactly does it mean ? How I can fix it ? Thanks in advance... Andy -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

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

2014-07-09 Thread Michael Cloonan (AdWords API Team)
r. >>>>>>>> $selector = new Selector(); >>>>>>>> $selector->fields = array('Id', 'Name'); >>>>>>>> $selector->ordering[] = new OrderBy('Name', 'ASCENDING'); >>>>

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

2014-07-07 Thread youfindadword . test
gt;>>>>> AdWordsConstants::RECOMMENDED_PAGE_SIZE); >>>>>>> >>>>>>> do { >>>>>>> // Make the get request. >>>>>>> $page = $campaignService->get($selector); >>>>>>> >&

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

2014-07-07 Thread youfindadword . test
gt;>>>>> AdWordsConstants::RECOMMENDED_PAGE_SIZE); >>>>>>> >>>>>>> do { >>>>>>> // Make the get request. >>>>>>> $page = $campaignService->get($selector); >>>>>>> >

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

2014-07-07 Thread fans913
>>> // Make the get request. >>>>>>> $page = $campaignService->get($selector); >>>>>>> >>>>>>> // Display results. >>>>>>> if (isset($page->entries)) { >>>>>&

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

2014-07-07 Thread youfindadword . test
gt;>>>>> AdWordsConstants::RECOMMENDED_PAGE_SIZE); >>>>>>> >>>>>>> do { >>>>>>> // Make the get request. >>>>>>> $page = $campaignService->get($selector); >>>>>>> >&

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

2013-08-26 Thread Takeshi Hagikura (AdWords API Team)
ector. >>>>>>>> $selector = new Selector(); >>>>>>>> $selector->fields = array('Id', 'Name'); >>>>>>>> $selector->ordering[] = new OrderBy('Name', 'ASCENDING'); >>>>>&

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
gt;> >>>>>>> do { >>>>>>> // Make the get request. >>>>>>> $page = $campaignService->get($selector); >>>>>>> >>>>>>> // Display results. >>>>>>> if

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

2013-08-22 Thread Takeshi Hagikura (AdWords API Team)
et($page->entries)) { >>>>>> foreach ($page->entries as $campaign) { >>>>>> printf("Campaign with name '%s' and ID '%s' was found.\n", >>>>>> $campaign->name, $campaign->id); >&g

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

2013-08-22 Thread Jur
MENDED_PAGE_SIZE; >>>>> } while ($page->totalNumEntries > $selector->paging->startIndex); >>>>> } >>>>> >>>>> try { >>>>> // Get AdWordsUser from credentials in "../auth.ini" >>>

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

2013-08-21 Thread Takeshi Hagikura (AdWords API Team)
t;>> } >>>> >>>> try { >>>> // Get AdWordsUser from credentials in "../auth.ini" >>>> // relative to the AdWordsUser.php file's directory. >>>> $user = new AdWordsUser(); >>>> // Log every SOAP XML

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

2013-08-21 Thread Jur
$user); >>> } catch (Exception $e) { >>> print_r($e); >>> printf("An error has occurred: %s\n", $e->getMessage()); >>> } >>> >>> >>> Op maandag 19 augustus 2013 10:30:24 UTC+2 schreef Takeshi Hagikura

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

2013-08-21 Thread Jur
curred: %s\n", $e->getMessage()); >> } >> >> >> Op maandag 19 augustus 2013 10:30:24 UTC+2 schreef Takeshi Hagikura >> (AdWords API Team): >>> >>> Hi Jur, >>> >>> What clientId and clientSecret are you passing to the script wh

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

2013-08-20 Thread Takeshi Hagikura (AdWords API Team)
t;> 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, AdW

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

2013-08-20 Thread Jur
GetCampaign > (except for the sensitive info)? > > Best, > - Takeshi, AdWords API Team > > > On Friday, August 9, 2013 1:15:48 AM UTC+9, Jur wrote: >> >> Hello Guys, >> >> I'm working on my first Google Adwords API application, but I can&#x

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

2013-08-19 Thread Takeshi Hagikura (AdWords API Team)
UTC+9, Jur wrote: > > Hello Guys, > > I'm working on my first Google Adwords API application, but I can't get > passed the oauth2 verification. > I could get a refresh_token with the GetRefreshToken.php script, but I get > the error : An error has occurred: { &qu

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

2013-08-09 Thread Jur
Hello Guys, I'm working on my first Google Adwords API application, but I can't get passed the oauth2 verification. I could get a refresh_token with the GetRefreshToken.php script, but I get the error : An error has occurred: { "error" : "invalid_grant" } when I