【问题标题】:Maximum Limit - List the products from Google Shopping Content API最大限制 - 列出来自 Google Shopping Content API 的产品
【发布时间】:2023-03-24 14:18:01
【问题描述】:

我正在使用以下代码从 Google 购物内容 API 获取产品列表。

   $products = $service->products->listProducts($merchantId,
                   array('pageToken' => $nextPageToken,
                         'maxResults' => 100));

由于'maxResults' => 100,我为每个 API 请求获得 100 个产品

但是我想知道"maxResults"参数的最大限制。

我检查了下面的链接,但我没有得到最大限制值。

https://developers.google.com/shopping-content/reference/rest/v2/products/list

有人知道最大限制值吗?

【问题讨论】:

    标签: php google-apis-explorer google-content-api


    【解决方案1】:

    250 根据文档 (https://developers.google.com/shopping-content/guides/order-limits#list-method)...

    list方法存在以下已知问题:

    maxResults: This field is not yet implemented, but will be available
    soon with a default of 25 results and a max value allowed of 250.
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 2017-04-12
      • 2014-08-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-04-22
      • 1970-01-01
      相关资源
      最近更新 更多