Hey Sherwin,

Thank you for getting back to me.

Yes, I was referring to OAuth credentials.

If none of the below reasons are met, and I update my client secret, the
refresh tokens will not expire?

If it does, is there a way around this issue (that, I can update the client
secret but the refresh tokens don't expire)?



On Fri, 6 Jan, 2023, 3:21 pm Google Ads API Forum Advisor,
<[email protected]> wrote:

> Hi Valibhav,
>
> Thank you for reaching us out. I am Sherwin from Google Ads API support
> team. I hope that you are doing well today.
>
> Moving forward to your concern, are you referring to Oauth credentials? If
> yes, then when you reset the the Oauth credentials (client-id and client
> secret), please note the refresh token expires because of the reasons
> below:
>
>    - The user has revoked your app's access.
>    - The refresh token has not been used for six months.
>    - The user changed passwords and the refresh token contains Gmail
>    scopes.
>    - The user account has exceeded a maximum number of granted (live)
>    refresh tokens.
>    - The user belongs to a Google Cloud Platform organization that has
>    session control policies in effect.
>
>
> Therefore, if the refresh token expires, you will need to regenerate a new
> one. You may see this guide
> <https://developers.google.com/identity/protocols/oauth2#expiration> regarding
> refresh token expiration.
>
> Kind regards,
> [image: Google Logo]
> Sherwin Vincent
> Google Ads API Team
>
>
> ref:_00D1U1174p._5004Q2haN1Z: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 [email protected]
To unsubscribe from this group, send email to
[email protected]
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/adwords-api/CABufRFXg9DjvBMcaTt6J2fiVdWHCY-dXV_sxZ8XdDjUkJp2kpQ%40mail.gmail.com.
  • Ro... Vaibhav Rai
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Vaibhav Rai

Reply via email to