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 AdWords API Forum
Hi,
I have a error for adwords api but I didn't understand and I didn't solve. Error in the down. Please, Can you help me? Thanks.
(Note: My server is localhost and my acount is testing.)
Fatal error: Uncaught exception 'OAuth2Exception' with message '{ "error": "invalid_grant", "error_description": "Bad Request" } ' in C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php:118 Stack trace: #0 C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php(92): SimpleOAuth2Handler->MakeRequest('https://www.goo...', Array) #1 C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Util\OAuth2Handler.php(105): SimpleOAuth2Handler->RefreshAccessToken(Array) #2 C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php(452): OAuth2Handler->GetOrRefreshAccessToken(Array) #3 C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Lib\AdsSoapClient.php(199): AdsSoapClient->GenerateHttpHeaders() #4 C:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src inC:\xampp\htdocs\googleads-php-lib-master\googleads-php-lib-master\src\Google\Api\Ads\Common\Util\SimpleOAuth2Handler.php on line 118
Anthony Madrigal
unread,
Sep 28, 2016, 7:23:13 PM9/28/16
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 AdWords API Forum
Hi,
Did you follow this guide on how to create OAuth credentials and refresh token? Make sure you are generating the refresh token using the same login you used to create the credentials.
Thanks,
Anthony
AdWords API Team
Message has been deleted
yada....@gmail.com
unread,
Sep 29, 2016, 5:00:15 AM9/29/16
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 AdWords API Forum
Hi Anthony,
Thank you for answer. Yeah, I did. I have client id, client secret (...) but it is error. I have a url for refresh token but I have 400 error when I was flow url
29 Eylül 2016 Perşembe 02:23:13 UTC+3 tarihinde Anthony Madrigal yazdı:
Anthony Madrigal
unread,
Sep 29, 2016, 3:15:08 PM9/29/16
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 AdWords API Forum
Hello,
Could you please let me know your clientCustomerId, the version of the API you are using, and any related SOAP request and responses?