I am using this site: https://refresh-token-helper.opteo.com/ to generate 
my refresh token. Should I be using a different method?

On Monday, 7 November 2022 at 13:31:28 UTC adsapi wrote:

> Hi Sam,
>
> Thank you for posting your concern. Allow me to provide support.
>
> I can see that you encountered an invalid_grant error, it occurs when the 
> refresh token has been expired or revoked. The common cause of this error 
> is when a 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. Your Google project's 
> publishing status is "Testing", so the refresh token expires every 7 days 
> and receives an “invalid_grant” error. Go to the Google API Console and 
> navigate to the OAuth consent screen. Then change the publishing status to 
> “In production” following these instructions 
> <https://support.google.com/cloud/answer/7454865> to avoid the refresh 
> token expiring in 7 days.
>
> Let me know if you have further questions.
>
> Regards,
> [image: Google Logo] 
> Ernie John 
> Google Ads API Team 
>   
>
> ref:_00D1U1174p._5004Q2g0yBb:ref
>

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
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/e4098f02-bca2-440d-afa6-d008c54efed9n%40googlegroups.com.
  • 'F... Sam Pascoe
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Sam Pascoe
        • ... Sam Pascoe

Reply via email to