Добрый день!
Пытаюсь начать работать с api, создал по инструкции идентификатор adwords и 
ключи OAuth2, пытаюсь через GetRefreshToken получить токен перейдя по ссылке
https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=***.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&scope=https://www.googleapis.com/auth/adwords
И получаю ошибку:

*403.* That’s an error.

*Error: restricted_client*

Unregistered scope(s) in the request: https://www.googleapis.com/auth/adword


Подскажите что не так я делаю?


_______________________

Good afternoon!

I'm trying to start working with api, I created the adwords identifier and 
OAuth2 keys by the instruction, I try to get a token through 
GetRefreshToken by clicking on the link

https://accounts.google.com/o/oauth2/auth?access_type=offline&client_id=***.apps.googleusercontent.com&redirect_uri=urn:ietf:wg:oauth:2.0:oob&response_type=code&scope=https://www.
 
googleapis.com/auth/adwords

And I get the error:


403. That's an error.

Error: restricted_client

Unregistered scope (s) in the request: 
https://www.googleapis.com/auth/adword


Tell me what's wrong with what I'm doing?

-- 
-- 
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~
Also find us on our blog:
https://googleadsdeveloper.blogspot.com/
=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~=~

You received this message because you are subscribed to the Google
Groups "AdWords API and Google Ads API Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
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 and Google Ads API Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
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/20480883-cb68-4c90-a923-b89466e312bc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
  • ... GT-Volk
    • ... 'Sreelakshmi Sasidharan (AdWords API Team)' via AdWords API and Google Ads API Forum

Reply via email to