Перестал работать токен

148 views
Skip to first unread message

uku...@mail.ru

unread,
Aug 11, 2016, 10:56:09 AM8/11/16
to AdWords API Forum
Срочная проблема!!!

Google adwords зафиксировал подозрительную попытку входа и принудительно заставил сменить пароль.
Отказаться от смены пароля не получилось, хотя попытка входа была вполне легальной.
После смены пароля Adwords API перестал принимать token

"error" : "invalid_grant",
 "error_description" : "Token has been revoked."

Приложение исчезло из списка приложений, имеющих доступ к аккаунту.

Подскажите, пожалуйста, как быстро восстановить доступ, чтобы не испортить еще чего-нибудь.
Работа приложения очень важна, остановка критична.

Vishal Vinayak (Adwords API Team)

unread,
Aug 11, 2016, 11:50:50 AM8/11/16
to AdWords API Forum
Hi,

Unfortunately, I can respond to your query in English only. Could you please recreate your OAuth credentials and refresh token and see if that works? 

Regards,
Vishal, AdWords API Team

uku...@mail.ru

unread,
Aug 11, 2016, 12:15:48 PM8/11/16
to AdWords API Forum
Is it the only way?
My application credentials are keep, but application disappear from app list.
Can I reconnect one.

I'm affraid, when I'll start recreate credentials, I lost old and may be have some errors to create new.

четверг, 11 августа 2016 г., 18:50:50 UTC+3 пользователь Vishal Vinayak (Adwords API Team) написал:

Vishal Vinayak (Adwords API Team)

unread,
Aug 11, 2016, 2:27:38 PM8/11/16
to AdWords API Forum
Hi, 

I'm afraid that's the only way out. If the token is revoked, you would have to generate a new token. A change in OAuth credentials/refresh token should not impact the code. I would recommend storing your old credentials and refresh token in a separate file, just in case. Please refer to our OAuth 2.0 Authentication guide for more details.

uku...@mail.ru

unread,
Aug 12, 2016, 4:40:55 AM8/12/16
to AdWords API Forum
Благодарю за поддержку!!!
Работоспособность приложения восстановлена.

Пожелание к GoogleAdwords:
Не надо принудительно заставлять пользователя менять пароль.
Оставьте хотя бы выбор.
Также не понятно, почему при смене пароля отключается доступ приложений.

четверг, 11 августа 2016 г., 21:27:38 UTC+3 пользователь Vishal Vinayak (Adwords API Team) написал:

Vishal Vinayak (Adwords API Team)

unread,
Aug 12, 2016, 2:02:41 PM8/12/16
to AdWords API Forum
Hi,

Suspicious activity alerts are system generated and cannot be disabled i.e you would be required to change the password if the respective alert is triggered. However, changing your Google account password should not have an impact on you OAuth credentials. Yours is a special case where your OAuth access might have been revoked and hence I recommended generating the OAuth credentials again. 
Reply all
Reply to author
Forward
0 new messages