Hello, I have a project whose Publishing status is Testing (I am using Google Ads Api).
//using FileStream stream = new("Credentials.json", FileMode.Open, FileAccess.Read); //// The file token.json stores the user's access and refresh tokens, and is created //// automatically when the authorization flow completes for the first time. //UserCredential credential = await GoogleWebAuthorizationBroker.AuthorizeAsync( // GoogleClientSecrets.FromStream(stream).Secrets, // scopes, // "user", // CancellationToken.None, // new FileDataStore("Token", true) //); //if (credential.Token.IsExpired(credential.Flow.Clock)) // await credential.RefreshTokenAsync(CancellationToken.None); When I use the code above, it expects me to log in via Gmail, but I want to automatically handle the Refresh token and continue uninterrupted requests without understanding anything to the user. I am using Desktop Application as Flow, but I am using Net 5 Api as Framework. I look forward to your help in this matter. Thank you from now. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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/9e59b18a-f7be-4042-a14b-5114fa6edce0n%40googlegroups.com.