Hello, Thank you for your answer.
However, I don't want to set the User Type to External. I want to use Internal. So I have: 1. OAuth consent screen - User Type - Internal 2. Credentials - OAuth 2.0 Client IDs - Type Desktop According to this Offline access <https://developers.google.com/google-ads/api/docs/oauth/internals#offline_access>, I understand that "For the desktop app type, offline access is enabled by default—you don't have to explicitly request it.". Does that mean the refresh token will not expire once I get one? On Friday, March 15, 2024 at 10:57:09 AM UTC+2 Google Ads API Forum Advisor wrote: > Hi, > > Thank you for getting back to us. > > Kindly note that if you navigate to the OAuth consent screen in the Google > API Console and switch the publishing status to "In production", the > refresh token will not expire. I would recommend you to kindly refer to the > .Net > sample code > <https://developers.google.com/google-ads/api/samples/generate-user-credentials#c> > > in generating the refresh token using the Google Ads API. Also, I would > suggest you to refer to the Generate tokens > <https://developers.google.com/google-ads/api/docs/oauth/playground#generate_tokens> > guide > as it describes how to generate the refresh token using the OAuth2 > Playground <https://developers.google.com/oauthplayground/>. > > > 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/304f718b-cba4-48f3-99b8-f8bf29274bc2n%40googlegroups.com.