Google趋势API - CSV文件中的5个以上搜索字词

时间:2017-08-15 20:13:55

标签: api csv google-analytics google-trends

因此,当我访问Google趋势网页时,我可以下载CSV文件。 (带箭头符号的操作菜单)

例如,像这样:

Google Trends Example

在此CSV文件中,我最多只能比较5家公司。但我想将1 000个搜索字词与API进行比较。有没有办法做到这一点?

我检查了Google DataAPI,但我无法弄清楚:

Google Data API's

感谢您的帮助!

1 个答案:

答案 0 :(得分:0)

5个搜索字词是限制。 在提出请求时,请查看/ api / explore中的错误。

com.google.apps.framework.request.BadRequestException: Too many comparison items for explore: 6.

https://trends.google.com/trends/explore?date=all&q=a,b,c,d,e - 好的 https://trends.google.com/trends/explore?date=all&q=a,b,c,d,e,f - 错误