Hi,
Thank you for raising your concern to the Google Ads API team.
I understand you are encountering errors with your refresh token. With that being said, kindly refer to this document:(https://developers.google.com/google-ads/api/docs/first-call/refresh-token#c) or here:(https://developers.google.com/google-ads/api/docs/client-libs/dotnet/oauth-web) for the steps as well as the setup of your app.config file. More information about configuration for your client library can also be found here: https://developers.google.com/google-ads/api/docs/client-libs/dotnet/configuration
If you still encounter the issue, kindly raise your concern to the author of the client library you are using by creating a new issue - https://github.com/googleads/google-ads-dotnet/issues
Let me know if you have any questions.
![]() |
Google Ads API Team |
Hi Henrik,
Thanks for reaching out to the Google Ads API Team. I hope you are doing well today.
With regard to your concern, it appears that you've encountered the USER_PERMISSION_DENIED error which occurs when the authorized customer does not have access to the operating customer.
This is an authorization error (https://developers.google.com/google-ads/api/docs/best-practices/common-errors#authorizationerror) and its common cause is when authenticating as a user with access to a manager account but not specifying login-customer-id in the request. It also occurs when the OAuth2 credentials (https://developers.google.com/google-ads/api/docs/oauth/cloud-project) you are using were generated by a user / email address that does not have access (https://support.google.com/google-ads/answer/9978556?visit_id=638028230738600037-122357065&rd=1) to the account (customer_id) specified in your request. You can manage user access by referring to this article (https://support.google.com/google-ads/answer/6372672).
If the issue persists even after doing the above details, for our team to further compare, investigate, and validate why you are encountering issues, can you provide more information?
You may send these to us via Reply privately to author option. If you haven't enabled logging yet, it can be enabled by navigating to the Client libraries > Your client library (ex. Java) > Logging documentation, which you can access from this link.
Reference links:
Have a great day.