So, basically, refresh tokens last for ever, as long as the requirements in 
https://developers.google.com/identity/protocols/oauth2#expiration are met?

On Wednesday, July 19, 2023 at 6:32:57 PM UTC+3 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> Thank you for reaching out to Google Ads API Forum.
>
> Please see responses to your questions below.
>
> *A) Is there a way to get a refresh token without user input/verification? 
> If yes, how? If no, why not(asking academically)?*
>
> - Generating a refresh token requires a user input since refresh token is 
> generated when a user authorizes an app to access the Google Ads API on 
> their behalf.
>
> *B) Assuming I change my project's status to "In Production", how long 
> would my refresh tokens last then? Would my project be visible to everyone 
> with a Google Account? What exactly would change in the visibility of the 
> project for outsiders?*
>
> -As stated *here * 
> <https://developers.google.com/identity/protocols/oauth2#5.-refresh-the-access-token,-if-necessary.>,
>  
> save refresh tokens in secure long-term storage and continue to use them as 
> long as they remain valid. Limits apply to the number of refresh tokens 
> that are issued per client-user combination, and per user across all 
> clients, and these limits are different. If your application requests 
> enough refresh tokens to go over one of the limits, older refresh tokens 
> stop working. You may also refer to this guide (
> https://developers.google.com/identity/protocols/oauth2#expiration) for 
> more information about refresh token expiration. Additionally, kindly check 
> this documentation (
> *https://developers.google.com/google-ads/api/docs/oauth/cloud-project#choose_a_user_type_and_publishing_status*
>  
> <https://developers.google.com/google-ads/api/docs/oauth/cloud-project#choose_a_user_type_and_publishing_status>)
>  
> for the key attributes and limitations of each combination of setting the 
> user type and publishing status. 
>
> I hope this helps.
> This message is in relation to case "ref:_00D1U1174p._5004Q2n9MX8:ref"
>
> Thanks,
>   
> [image: Google Logo] 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/5048086e-3930-4db1-8a07-9ae77bbc857cn%40googlegroups.com.

Reply via email to