Getting error USER_PERMISSION_DENIED.

24 views
Skip to first unread message

Derek Gray

unread,
Feb 2, 2016, 4:25:26 AM2/2/16
to AdWords API Forum
I have a tool that runs daily to pull reports on each client in the MCC, this had been working fine until yesterday (this had previously ran since October), now I get USER_PERMISSION_DENIED when looping through clients. I'm unaware of any changes to the API access.

The exact error I'm getting is: InnerException = {"The remote server returned an error: (400) Bad Request."} however there have been no changes to the code and we have been using v201509 for a couple of months.

Cheers,
DG

Yin Niu

unread,
Feb 2, 2016, 11:25:55 AM2/2/16
to AdWords API Forum
Hi Derek, 

The USER_PERMISSION_DENIED means the client account is not linked to the MCC account. You should check the account that gives you error to see if it's still linked to the MCC account. 

Thanks,
Yin, AdWords API Team.  

Derek Gray

unread,
Feb 3, 2016, 3:42:48 AM2/3/16
to AdWords API Forum
Hi Yin, 
Thanks for the response, however this is happening with all client accounts, even when they are with the definitely linked. Does each Google account have it's own refresh token? The App Config was set up by our senior developer who has recently left the business, therefore we had to revoke his access to the MCC on security reasons, could this be the issue? Or is the refresh token and the 0Auth2 credentials assigned to the MCC and not the individual user?

Cheers,
DG
Reply all
Reply to author
Forward
0 new messages