您可以使用畅销商品报告查看 Google 购物和购物广告中的畅销商品。您可以使用此报告中的信息来了解哪些商品在 Google 上卖得好,以及您目前是否销售这些商品。
如需了解详情,请参阅畅销商品报告简介。
您的账号必须符合最低资格要求,并且您必须确保您或任何第三方在使用从您的 Merchant Center 账号中导出的市场洞察数据时,遵守 Merchant Center 条款及条件。
查询 BestSellersProductClusterView 可查看 Google 上的畅销商品。
以下是一个示例,可用于查看畅销商品。如需发出请求,请将以下 Merchant Center 查询语言语句传递给 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 子句中的值,以针对其他日期、粒度、国家/地区和类别自定义报告。
点击运行,即可在 API Explorer 中试用该示例。点击运行后,请将请求网址中的商家 ID 占位符更新为您自己的商家 ID。您可以修改查询。完整查询必须保持在一行中,才能与 API 浏览器搭配使用。
以下是上述查询的示例回答:
{
  "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"
      }
    }
  ]
}