Hello, 

Thank you for the answer.
Does that mean that I will always have to do this step?
      2. The oauth2l command opens a Google Account login window in a new 
browser window and takes you through the OAuth 2.0 authentication steps.
 If yes, is there another way to implement this using .Net?
On Thursday, March 14, 2024 at 5:59:05 PM UTC+2 Google Ads API Forum 
Advisor wrote:

> Hi,
>
> Thank you for contacting the Google Ads API support team.
>
> By reviewing your concern, I understand that you would like to know the 
> expiration time for a refresh token in production. I would like to inform 
> you that the refresh token expires every 7 days when your Google project's 
> publishing status is Testing. Kindly refer to the document Refresh token 
> expiration 
> <https://developers.google.com/identity/protocols/oauth2#expiration> to 
> get more information.
>
> Please note that if you want to avoid the refresh token expiring in 7 
> days, go to the Google API Console and navigate to the OAuth consent screen 
> and then change the publishing status to “In production”. If its publishing 
> status is in "In production" already, this means that you have already 
> applied this Setting up your OAuth consent screen instruction 
> <https://support.google.com/cloud/answer/10311615?hl=en#zippy=%2Cin-production>
>  to 
> that account that makes the life of the refresh token longer.
>
> Also, kindly note that once the refresh token is expired, you need to 
> generate a new refresh token by following the steps providedd in the 
> document Fetch a refresh token 
> <https://developers.google.com/google-ads/api/docs/get-started/make-first-call#fetch_a_refresh_token>
> .
>   
> This message is in relation to case 
> "ref:!00D1U01174p.!5004Q02rzwu0:ref" (ADR-00227275)
>
> 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/add8a371-8af4-4c11-bcba-261d74e5c6b0n%40googlegroups.com.
  • Re... Cristian Andrei Grigore
    • ... 'Google Ads API Forum Advisor' via Google Ads API and AdWords API Forum
      • ... Cristian Andrei Grigore
        • ... Cristian Andrei Grigore
          • ... Cristian Andrei Grigore

Reply via email to