Hi!, I am using OAuth2 credentials, and I already did all the process for getting the clientId and the secret by registering a web-application.
My problem a different one: once I get the access_token it expires in one hour, so I need the refresh_token to get a new one, but the last one is provided just in the first time the user authenticates and authorizes my app and I can't store it in a secure place, so I'm needing to know the refresh_token each time the user authenticates (not just the access_token), and I not need for it to change (as the param prompt=consent does). Is there a way to get this behavior? Thanks, On Tuesday, March 6, 2018 at 1:19:52 AM UTC-3, Peter Oliquino wrote: > > Hi Angel, > > Could you confirm if you are generating OAuth2 credentials for an AdWords > account? If yes, you can follow the steps mentioned in this guide > <https://developers.google.com/adwords/api/docs/guides/authentication#webapp> > for > the Web App flow. Once you have set up your credentials, your application > should then be able to access the APIs you wish to use without having to > manually specify them in each request. > > I hope this helps and feel free to write back if you require further > information. > > Best regards, > Peter > AdWords API Team > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ Also find us on our blog and Google+: https://googleadsdeveloper.blogspot.com/ https://plus.google.com/+GoogleAdsDevelopers/posts =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ You received this message because you are subscribed to the Google Groups "AdWords API Forum" group. To post to this group, send email to firstname.lastname@example.org 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 "AdWords API Forum" group. To unsubscribe from this group and stop receiving emails from it, send an email to adwords-api+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/adwords-api. To view this discussion on the web visit https://groups.google.com/d/msgid/adwords-api/37755c3d-fb28-4193-bfc6-34e03bde202d%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.