Разобрался с проблемой, не одинаковые redirect_uri была, сделал в первом и втором запросе одинаковые redirect_uri и все сработало. Спасибо. Проблема решена.
On Thursday, October 27, 2016 at 12:57:32 PM UTC+3, treto...@gmail.com wrote:
-- On Thursday, October 27, 2016 at 12:57:32 PM UTC+3, treto...@gmail.com wrote:
Тут разобрался, посылал запрос:В отчет получил code.Далее использую code в запросе:В ответ получаю:{"error": "redirect_uri_mismatch","error_description": "Bad Request","error_uri": ""}в ответ получаю
On Thursday, October 27, 2016 at 10:39:20 AM UTC+3, treto...@gmail.com wrote:Получаю новый refresh token.Использую Offline access.Для начала отправляю запрос вида:Должен в ответ 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.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+unsubscribe@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+unsubscribe@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/4622c760-95dd-4a64-8092-1b540d976716%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment