Hello Anatoliy,
Hope you're safe and doing fine. I'm from the Google Ads API team and I'll be assisting you with this.
With regard to the invalid_grant error that you've encountered, this may imply that the access or refresh token being passed in your request is incorrect or invalid. Please note that the email address used to generate those credentials should have the appropriate access to the production account that you're trying to make an API request.
I suggest that you check on your end if the publishing status of your Google project is Testing. If yes, then please change the publishing status to In production and try again. You may refer here for more information. On the other hand, if the publishing status is already correct, kindly regenerate your OAuth credentials and try again. Please see below guides to learn more on generating the OAuth credentials and setting up the client libraries.
If the issue persists, please share with us the details below via Reply privately to author option:
Regards,
![]() |
Google Ads API Team |