You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to adwor...@googlegroups.com
Dear All,
I developing application that integrate with google adwords API. this is my first time. I have problem, when I run my application, that show error like this:
Fatal error: Uncaught exception 'OAuth2Exception' with message '{ "error" : "invalid_grant" }' in C:\xampp\htdocs\google-api\adwords\src\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php:121 Stack trace: #0 C:\xampp\htdocs\google-api\adwords\src\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php(98): SimpleOAuth2Handler->MakeRequest('https://account...', Array) #1 C:\xampp\htdocs\google-api\adwords\src\Google\Api\Ads\Common\Util\OAuth2Handler.php(113): SimpleOAuth2Handler->RefreshAccessToken(Array) #2 C:\xampp\htdocs\google-api\adwords\src\Google\Api\Ads\AdWords\Lib\AdWordsSoapClient.php(70): OAuth2Handler->GetOrRefreshAccessToken(Array) #3 [internal function]: AdWordsSoapClient->__doRequest('<?xml version="...', 'https://adwords...', '', 1, 0) #4 C:\xampp\htdocs\google-api\adwords\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php(216): SoapClient->__soapCall('get', Array, NULL, Array, Array) #5 C:\xampp\htdocs\google-api\adwords\src\Google\Api\Ads\AdWords\v201309\CampaignService.php(6208): AdsSoapClient->__soapCall('get in C:\xampp\htdocs\google-api\adwords\src\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php on line 121
What's wrong? and what should I do?
Thank You
Danial Klimkin
unread,
Jan 23, 2014, 7:27:16 AM1/23/14
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to adwor...@googlegroups.com
Hello Gungun,
As a first step, please check out this OAuth2 setup video: