I'm trying to edit Google Webmasters site settings (set targeting country), but as far as I know v3 doesn't allow to do this, so I'm using v2.
However, I get 401 Unauthorized
response for all the Webmaster Tools v2 endpoints. Here are steps I have performed:
- Visit Google OAuth 2.0 Playground
- Picked Webmaster tools v2
- Authorized this API and exchanged authorization code for tokens. (After that I got a message "The access token will expire in 3599 seconds.")
- Then hit "List possible operations" and chosen "List sites"
- Finally, clicked "Send the request" and got 401
I did it several times I all the time I got the same result.
What is the reason of such behavior? Is Google Webmaster Tools v2 deprecated?