我正在使用这些脚本:http://googlewebmastercentral.blogspot.co.uk/2011/12/download-search-queries-data-using.html来获取搜索结果查询但是当我运行脚本时出现:
第793行,在ProgrammaticLogin中引发BadAuthentication,'Incorrect username or password' gdata.service.BadAuthentication:用户名或密码不正确
我的用户和密码是正确的,但不要出现该错误 . 此API不再有效吗?或者我是否必须执行其他操作以允许我使用Google网站管理员API?
我很感激你能提供给我的任何帮助
1 回答
您查询的API几个月前已被弃用 . 您可以很快使用Google Search Console API实现相同的功能,特别是
webmasters.searchanalytics.query
endpoints . 有关详细信息,请参阅Google API Explorer(搜索网站管理员工具) .