问题原文
原帖链接 · snovelli · CC BY-SA 3.0
I own a website and I'd like to be able to have an history of how some page and keywords ranked in google over time, to be able to understand if certain changes I made have positive or negative effect.
Now, I think that doing it by hand is a bit error prone and time consuming and I'd like to understand if I can write a simple tool to do that.
Unfortunately, from what I can read from the Google TOS (Term of services) is not allowed to crawl their result, instead they suggest to use the Google Custom search API.
And here is the question. As the custom search API
(from https://support.google.com/customsearch/answer/70392?hl=en)
are unlikely to match those returned by Google Web Search
how can I acquire accurate informations about keyword positioning without violating the google TOS?
已采纳解答
原帖链接 · Luke Rehmann · CC BY-SA 3.0
Use Google Webmaster Tools: https://www.google.com/webmasters/tools
After adding all your sites (http - www, non-www, https - www, non-www) you can find your rankings Under Search Traffic -> Search Analytics.
Only one site should show keyword rankings, you do have everything 301 redirected to a single site, right?
As User Snovelli pointed out, Google Webmaster Tools can also be accessed programmatically via their API at https://developers.google.com/webmaster-tools/v3/quickstart/quickstart-java
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
