識別熱門產品

你可以使用暢銷商品 查看 Google 購物和購物廣告中的暢銷產品報表。你可以透過這份報表提供的資訊,瞭解哪些產品在 Google 上成效良好,以及目前是否販售。

詳情請參閱關於暢銷商品報表一文。

你的帳戶必須符合基本資格規定,而且你必須確定,你或任何第三方使用從 Merchant Center 帳戶匯出的「市場洞察」資料時,皆符合《Merchant Center 條款及細則》。

查詢 BestSellersProductClusterView:查看 Google 上的暢銷產品。

你可以使用以下範例查看暢銷產品。如要提出要求,請將下列 Merchant Center Query Language 陳述式傳遞至 reports.search 方法:

SELECT
  best_sellers.report_date, best_sellers.report_granularity,
  best_sellers.country_code, best_sellers.category_id,
  best_sellers.rank, best_sellers.previous_rank,
  best_sellers.relative_demand, best_sellers.previous_relative_demand,
  best_sellers.relative_demand_change,
  product_cluster.title, product_cluster.brand, product_cluster.category_l1,
  product_cluster.category_l2, product_cluster.category_l3, 
  product_cluster.variant_gtins, product_cluster.inventory_status, 
  product_cluster.brand_inventory_status
FROM BestSellersProductClusterView
WHERE best_sellers.report_date = '2022-10-10'
  AND best_sellers.report_granularity = 'WEEKLY'
  AND best_sellers.country_code = 'US'
  AND best_sellers.category_id = 166
ORDER BY best_sellers.rank

您可以變更 WHERE 子句中的值來自訂報表 其他日期、精細程度、國家/地區和類別

執行

請按一下「Run」(執行),試用 API Explorer 中的範例。點選之後 執行,將商家 ID 預留位置更新為您自己的商家 ID 要求網址您可以修改查詢。完整查詢必須在同一行中 搭配 API Explorer 使用。

以下是前述查詢的回應範例:

{
  "results": [
    {
      "bestSellers": {
        "reportDate": "2022-10-10",
        "reportGranularity": "WEEKLY",
        "countryCode": "US",
        "categoryId": "166"
        "rank": "1",
        "previousRank": "1",
        "relativeDemand": "VERY_HIGH",
        "previousRelativeDemand": "VERY_HIGH",
        "relativeDemandChange": "FLAT"
      }
      "productCluster": {
        "title": "Ugg Shoes Ugg Tasman",
        "brand": "UGG",
        "categoryL1": "Apparel & Accessories",
        "categoryL2": "Shoes",
        "categoryL3": "",
        "variantGtins":
            ["00737872992873", "00737872992880", "00737872992866"],
        "inventoryStatus": "NOT_IN_INVENTORY",
        "brandInventoryStatus": "NOT_IN_INVENTORY"
      }
    },
    {
      "bestSellers": {
        "reportDate": "2022-10-10",
        "reportGranularity": "WEEKLY",
        "countryCode": "US",
        "categoryId": "166"
        "rank": "2",
        "previousRank": "8",
        "relativeDemand": "VERY_HIGH",
        "previousRelativeDemand": "HIGH",
        "relativeDemandChange": "RISER"
      }
      "productCluster": {
        "title": "UGG Women's s Classic Mini",
        "brand": "UGG",
        "categoryL1": "Apparel & Accessories",
        "categoryL2": "Shoes",
        "categoryL3": "",
        "variantGtins":
            ["00194715081314", "00194715081246", "00194715081321"],
        "inventoryStatus": "NOT_IN_INVENTORY",
        "brandInventoryStatus": "NOT_IN_INVENTORY"
      }
    },
    {
      "bestSellers": {
        "reportDate": "2022-10-10",
        "reportGranularity": "WEEKLY",
        "countryCode": "US",
        "categoryId": "166"
        "rank": "3",
        "previousRank": "2",
        "relativeDemand": "VERY_HIGH",
        "previousRelativeDemand": "VERY_HIGH",
        "relativeDemandChange": "FLAT"
      }
      "productCluster": {
        "title": "Crocs Classic",
        "brand": "Crocs",
        "categoryL1": "Apparel & Accessories",
        "categoryL2": "Shoes",
        "categoryL3": "",
        "variantGtins":
            ["00887350811209", "00191448903852", "00191448769090"],
        "inventoryStatus": "NOT_IN_INVENTORY",
        "brandInventoryStatus": "OUT_OF_STOCK"
      }
    }
  ]
}