Получаю новый refresh token. Использую Offline access. Для начала отправляю запрос вида: https://accounts.google.com/o/oauth2/v2/auth?%20scope=email%20profile&%20state=security_token%3D138r5719ru3e1%26url%3Dhttps://oa2cb.example.com/myHome&%20redirect_uri=https%3A%2F%2Foauth2.example.com%2Fcode&%20response_type=code&%20client_id=ххххххххххххх&%20access_type=offline
Должен в ответ code прийти, но получаю : *400.* That’s an error. *Error: invalid_request* On Wednesday, October 26, 2016 at 11:17:11 PM UTC+3, Shwetha Vastrad (AdWords API Team) wrote: > > Hi, > > I'm afraid I can only respond in English. Refresh tokens can sometimes > become invalid as well. There is a maximum of 50 refresh tokens that can be > valid at a time. If you generate a refresh token for the 51st time, the 1st > refresh token becomes invalid. Refresh tokens can also be manually revoked. > I would suggest that you generate a new refresh token and use this to get > an access token by following the instructions provided here > <https://developers.google.com/adwords/api/docs/guides/authentication#access_and_refresh_token> > . > > Let me know if this works. > > Regards, > Shwetha, 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 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/63138f3e-6926-4b89-94a7-1263cf228c12%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.