unauthorize client

60 views
Skip to first unread message

ammar khan

unread,
Jan 27, 2022, 3:26:41 AM1/27/22
to Google Ads API and AdWords API Forum
I have a gmail account in which I have permission to from my social media department for accessing google ads.
using that gmail account I have created service account and also added clientid, sercet key and developer key in 'google-ads-php.ini' . 

but still it is showing me this error. 

Client error: `POST https://oauth2.googleapis.com/token` resulted in a `401 Unauthorized` response: { "error": "unauthorized_client", "error_description": "Unauthorized" }


Kindly help me out so that I can get the data  .

Google Ads API Forum Advisor

unread,
Jan 27, 2022, 10:31:15 AM1/27/22
to ammar...@gmail.com, adwor...@googlegroups.com
Hello,

Thank you for reaching out to the Google Ads API support team.

To investigate the issue further, could you please provide the complete request and response logs, with the request-id? Please Reply privately to the author option.

Thanks,
Google Logo  
Nirmita Patel
Google Ads API Team
 


ref:_00D1U1174p._5004Q2VQ0Qw:ref
Reply all
Reply to author
Forward
0 new messages