Hi, Thank you for contacting the Google Ads API support team.
>From the provided screenshot, I understand that you're encountering 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. So if your Google project's publishing status is Testing >so the refresh token expires every 7 days and receives an invalid_grant error. You can follow the following steps to avoid this issue: Go to the Google API Console and navigate to the OAuth consent screen Change the publishing status to “In production” If the issue persists, please provide us with the complete API logs (request and response with request-id and request header) generated at your end so that we can better assist you. If you are using a client library and haven't enabled the logging yet, I would request you to enable logging for the specific client library that you are using. You can refer to the guides Java, .Net, PHP, Python, Ruby or Perl to enable logging at your end. For REST interface requests, you can enable logging via the curl command by using the -i flag. You can send the details via Reply privately to the author option, or direct private reply to this email. This message is in relation to case "ref:!00D1U01174p.!5004Q02vEMH3:ref" (ADR-00260275) Thanks, Google Ads API Team -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog: https://googleadsdeveloper.blogspot.com/ =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API and Google Ads API Forum" group. To post to this group, send email to adwords-api@googlegroups.com To unsubscribe from this group, send email to adwords-api+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/adwords-api?hl=en --- You received this message because you are subscribed to the Google Groups "Google Ads API and AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/goZ1_000000000000000000000000000000000000000000000SHHR4Z000As8-JtJTk-rXraazNAkKg%40sfdc.net.