最大限制 - 列出来自 Google 购物内容 API 的产品
Maximum Limit - List the products from Google Shopping Content API
我正在使用以下代码从 Google 购物内容 API 中获取产品列表。
$products = $service->products->listProducts($merchantId,
array('pageToken' => $nextPageToken,
'maxResults' => 100));
由于 'maxResults' => 100
,每个 API 请求我都会收到 100 件产品
但是我想知道"maxResults"
参数的最大限制
我检查了下面的link,但我没有得到最大限制值。
https://developers.google.com/shopping-content/reference/rest/v2/products/list
谁知道最大限制值?
250 根据文档 (https://developers.google.com/shopping-content/guides/order-limits#list-method)...
The list method has the following known issues:
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.
我正在使用以下代码从 Google 购物内容 API 中获取产品列表。
$products = $service->products->listProducts($merchantId,
array('pageToken' => $nextPageToken,
'maxResults' => 100));
由于 'maxResults' => 100
但是我想知道"maxResults"
参数的最大限制
我检查了下面的link,但我没有得到最大限制值。
https://developers.google.com/shopping-content/reference/rest/v2/products/list
谁知道最大限制值?
250 根据文档 (https://developers.google.com/shopping-content/guides/order-limits#list-method)...
The list method has the following known issues:
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.