I am attempting initial setup and testing for my project. I have installed 
the google-ads-php library in my project with composer, I have created a 
service account, and downloaded my JSON key. I have created the 
google_ads_php.ini. I am attempting to create the basic "GetCampaigns" 
utility using the example provided in the repo. when I execute from my 
command line I get
"PHP Fatal error:  Uncaught GuzzleHttp\Exception\ClientException: Client 
error: `POST https://oauth2.googleapis.com/token` resulted in a `401 
Unauthorized` response:
{
  "error": "unauthorized_client",
  "error_description": "Client is unauthorized to retrieve access tokens 
using this  (truncated...)
 in 
/var/www/hydraulics/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php:113"

Any help would be appreciated

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 
"Google Ads API and AdWords API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/58ff2e83-0ac1-40c6-878a-48ba193920c1n%40googlegroups.com.

Reply via email to