USER permission denied issue

383 views
Skip to first unread message

jessi...@appcoachs.com

unread,
Apr 15, 2016, 10:11:09 AM4/15/16
to AdWords API Forum
We have been running adwords reporting API for couple of months. However, today, we failed to get data. 

Basically, 2 errors
1.  [SoapFault][AuthorizationError.USER_PERMISSION_DENIED @ ; trigger:'<null>']
2. [OAuth2Exception]                                  
  {                                                  
    "error" : "invalid_grant",                       
    "error_description" : "Token has been revoked."  
  }

What we tried:
1. upgraded PHP SDK from 201509 to 201603 - no luck
2. regenerate refresh token - no luck
3. re-generate developer client id, client secret - no luck

Can anyone shed some light?

thanks.

Yin Niu

unread,
Apr 15, 2016, 11:08:42 AM4/15/16
to AdWords API Forum
Hi, 

These are different errors. 

USER_PERMISSION_DENIED error occurs when there is no link between the manager account and client account.  

If token was revoked, you would have to generate a new token. Please follow the OAuth 2.0 Authentication guide. You can also try to generate token using OAuth playground.  

Thanks,
Yin, AdWords API Team. 

xinghu...@appcoachs.com

unread,
Apr 18, 2016, 9:01:05 AM4/18/16
to AdWords API Forum
Yin, are you saying we need to generate a new developer token on MCC account? Will the new one be workable immediately?

Umesh Dengale

unread,
Apr 18, 2016, 1:19:46 PM4/18/16
to AdWords API Forum
Hello,

For OAuth2Exception (Token has been revoked) error occurs when user has revoked access to an application. Please contact your AdWords user for more details. 

Thanks,
Umesh, AdWords API Team.
Reply all
Reply to author
Forward
0 new messages