"error": "unauthorized_client", "error_description": "Unauthorized"

2,950 views
Skip to first unread message

sayın yada

unread,
Oct 3, 2016, 11:30:08 AM10/3/16
to AdWords API Forum
Hi,

I have a error. Error is "error": "unauthorized_client", "error_description": "Unauthorized". Why is it? I didn't solve.Can you help me please? Thanks for everything. (I have client ID,client secret, refresh token, developer token . I use php from programing language and localhost from server)

Vishal Vinayak (Adwords API Team)

unread,
Oct 3, 2016, 4:25:02 PM10/3/16
to AdWords API Forum
Hi,

Were you able to follow these steps to generate your refresh token? Please ensure you are using the correct client ID in your properties file. One thing to note when using the PHP client library is that all examples are meant to be run via the command line (and not the web browser). If that information is not helpful, could you please elaborate on the action that you are trying to perform (for example trying to fetch campaign info using GetCampaigns.php etc.)? Any screenshots / SOAP XML logs that you might have would help me debug the issue. 

Regards,
Vishal, AdWords API Team
Reply all
Reply to author
Forward
0 new messages