Re: Unauthorized_client error

2018-05-07 Thread 'Vincent Racaza (AdWords API Team)' via AdWords API and Google Ads API Forum
Hi Stephen, The "401 Unauthorized" error means that the email address that you used in generating the OAuth2 credentials is not a valid user in your account, or it could be that there is something wrong in the generation of your OAuth2 credentials itself (e.g. your refresh token is not matched

Re: unauthorized_client in GetCampaign.php file after use refresh token from webapplication

2017-11-29 Thread 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API Forum
Hi, The '401 Unauthorized' error usually occurs when you are using incorrect OAuth2 credentials from the target accounts perspective. Could you check if you have provided the correct client credentials (client Id, client secret) and the OAuth token? If you are not sure, you could try generating

Re: unauthorized_client error

2016-08-24 Thread 'Joyce Lava' via AdWords API Forum
Hi, This error normally occurs when the clientId/secret is different from the ones used when you generated the refresh token. Could you please send to me the logs that shows this error when making the api call? Please use *reply privately to author *when replying. Thanks, Joyce, AdWords API Te

Re: unauthorized_client

2013-10-16 Thread Takeshi Hagikura (AdWords API Team)
Hi, First please go through this step whether you can get refresh token, if you can using that refresh token please call any of the examples. If it fails, please share the request and response xml logs. Best, - Takeshi, On Monda