Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我尝试使用 Google API 按日期检索点击产品的数量!我设法将这些值应用于前 250 个产品,但否则是不可能的。
这是我的查询:
https://content.googleapis.com/content/v1/123456/items/products/generic?max-results=250&performance.start=2011-08-18&performance.end=2011-08-19
此查询工作正常,缺点是添加参数“start-index”,查询中有错误:
https://content.googleapis.com/content/v1/123456/items/products/generic?start-index=100&max-results=250&performance.start=2011-08-18&performance.end=2011-08-19
谢谢您的帮助!
您应该使用start-token参数来分页结果。