Hi there,
Thank you for your reply. Sorry to ask but did you checked the attached file ? it's a web application for the auth from Google to get the Access token and refresh token. So that we can use it offline. We are not getting any error when generating refresh token , it comes first time only but next time when I am authorizing it is not giving me refresh token. But we looking same refresh token for Every hit. Because some time any technical issue comes so we can again get refresh token to save in our database and then we can use it when user is not online. Means cron job is offline We know the limit 50 for refresh token. More about us : We have 500 users who has AdWord account and we are fetching their report to show them on our platform. Means once we will get the Access token refresh token then we can run a cron in in a day when user is not online and can get AdWords report with his authorization tokens. Please look at my previous attached file. Thanks Naresh kumar On Oct 6, 2017 1:20 AM, "'Bharani Cherukuri (AdWords API Team)' via AdWords API Forum" <adwords-api@googlegroups.com> wrote: Hello Naresh, Could you provide me the details about the application flow type (Installed or Web application) used for the implementation and the specific error you're receiving when refreshing the token? If you're not reusing the refresh token, you will have to use prompt=consent to get a similar behavior, as mentioned here <https://developers.google.com/identity/protocols/OpenIDConnect#prompt>. If you're trying to generate the refresh token for each request, please note that there is a limit <https://developers.google.com/identity/protocols/OAuth2#expiration> of 50 refresh tokens per user per account. Once you're above the specified limit, the refresh tokens will be invalidated. Thanks, Bharani, AdWords API Team On Thursday, October 5, 2017 at 10:29:19 AM UTC-4, thedi...@gmail.com wrote: > > Hi API Team, > > I am not able to get Auth refresh_token in every request. If any > accidental activity occur by client like no internet while fetching refresh > token or missed to save it then new OAuth2 will not return refresh token > again. so, i want refresh token in every request. We are using this refresh > token for cron job to fetch adwords report. Please guide me. > > Please find attached code file. > > Thank You > Naresh > -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 a topic in the Google Groups "AdWords API Forum" group. To unsubscribe from this topic, visit https://groups.google.com/d/ topic/adwords-api/g9WGyayMgtQ/unsubscribe. To unsubscribe from this group and all its topics, 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/ad9ac4d0-dbed-46e2-b644-a60f999c3afb%40googlegroups.com <https://groups.google.com/d/msgid/adwords-api/ad9ac4d0-dbed-46e2-b644-a60f999c3afb%40googlegroups.com?utm_medium=email&utm_source=footer> . For more options, visit https://groups.google.com/d/optout. -- -- =~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~ 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 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 "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/CAGU0HpHgyLaQG7ou1EQihUdaFP2zmmbSuWwHViGOR-T9bc-3TQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.