1

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

    enter image description here
  • 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"

    enter image description here
  • Finally, clicked "Send the request" and got 401

    enter image description here

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?

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449
Oleg
  • 22,300
  • 9
  • 68
  • 84

1 Answers1

1

Yes its deprecated. I cant find an official deprecation but all the documentation on V2 just links to v3. Which is probably why I cant find the official deprecation date. Google normally gives you a year to move once they deprecate something.

I found a comment from Google dated 11/20/15 stating

Version 2 is on it's way to be completely deprecated, so I would move away from it. Whatever still works and breaks, likely will not be fixed.

Time to move to v3

Linda Lawton - DaImTo
  • 106,405
  • 32
  • 180
  • 449