Спасибо за ответ, да, мне дается 3600секунд на использование одного итого же токена, но это перестало работать, как толькоя его получил, при следующем запросе он уже не действителен, почему-то.
-- Поэтому приходиться каждый раз, при каждом запросе получать токен.
On Tuesday, December 6, 2016 at 10:01:25 PM UTC+2, Vishal Vinayak (Adwords API Team) wrote:
On Tuesday, December 6, 2016 at 10:01:25 PM UTC+2, Vishal Vinayak (Adwords API Team) wrote:
Hi,I'm afraid I can respond to your query in English only. You are correct, once an access token is generated, it is valid for 3600 seconds and can be reused with multiple requests during that time interval. You may see the OAUTH_TOKEN_INVALID error if the access token in your request header has already expired. After an access token expires, you can generate a new token using your refresh token. To clarify on your question, do you mean you generate a new access token for every request? Could you please elaborate why that's the case?Regards,Vishal, 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/85bf1bda-9aa2-4ba8-b9c5-e63724b1a006%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment