Hi,
Thank you for reaching out to the Google Ads API support team.
After reviewing your concern, I understand that you encountered an
invalid_grant error. According to the
Google Ads API documentation, Google Cloud Platform project with an OAuth consent screen configured for an external user type and a publishing status of "Testing" is issued a
refresh token expiring in 7 days.
You can follow the following steps to avoid the refresh token expiring in 7 days:
- Go to the Google API Console and navigate to the OAuth consent screen
- Change the publishing status to “In production”
Also, check this
Generate tokens documentation to know how to regenerate the refresh token. If you still have any queries/concerns related to this, you can get back to us.
This message is in relation to case "ref:!00D1U01174p.!5004Q02rzdmC:ref"
Thanks,
 |
Google Ads API Team |
