Best sellers data helps merchants understand the most popular brands and
products in Shopping ads and unpaid listings. For more information about best
sellers, see the description in Supported reports.
The data is written to a table named BestSellers_TopBrands_MERCHANT_ID.
Schema
The BestSellers_TopBrands_ table has the following schema:
Column
BigQuery data type
Description
Example data
rank_timestamp
TIMESTAMP
Date and time when the rank was published.
2020-05-30 00:00:00 UTC
rank_id
STRING
Unique identifier for the rank.
2020-05-30:FR:264:120:brand
rank
INTEGER
The popularity rank of the brand on Shopping ads and unpaid listings for
the ranking_country and ranking_category.
Popularity is based on the estimated number of products sold. The rank
updates daily. The data included in metrics might be delayed by up 2 days.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-25 UTC."],[[["\u003cp\u003eThe BigQuery report exporting the Top brands table will be discontinued on September 1, 2025, and users should migrate to the new best sellers report.\u003c/p\u003e\n"],["\u003cp\u003eBest sellers data provides insights into the most popular brands and products within Shopping ads and unpaid listings.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eBestSellers_TopBrands_\u003c/code\u003e table contains detailed information, including rank, previous rank, ranking country, and category, along with relative demand and brand information.\u003c/p\u003e\n"],["\u003cp\u003eSQL queries can be used to retrieve top brands for specific categories and countries, and to find products in your inventory from top brands.\u003c/p\u003e\n"],["\u003cp\u003eThe popularity ranking of a brand is based on the estimated number of products sold, updating daily with a possible 2-day delay in metrics.\u003c/p\u003e\n"]]],[],null,["# Google Merchant Center top brands table\n=======================================\n\nOverview\n--------\n\n| **Caution:** BigQuery will no longer support the report that exports the Top brands table on September 1, 2025. We recommend that you migrate to use the [new best sellers report](/bigquery/docs/merchant-center-best-sellers-schema) instead. For more information about migrating to the new report, see [Migrate the best sellers report](/bigquery/docs/merchant-center-best-sellers-migration).\n\nBest sellers data helps merchants understand the most popular brands and\nproducts in Shopping ads and unpaid listings. For more information about best\nsellers, see the description in [Supported reports](/bigquery/docs/merchant-center-transfer#supported_reports).\n\nThe data is written to a table named `BestSellers_TopBrands_`\u003cvar translate=\"no\"\u003eMERCHANT_ID\u003c/var\u003e.\n\nSchema\n------\n\nThe `BestSellers_TopBrands_` table has the following schema:\n\nQuery examples\n--------------\n\n### Top brands for a given category and country\n\nThe following SQL query returns top brands for the `Smartphones` category in\nthe US. \n\n```googlesql\nSELECT\n rank,\n previous_rank,\n brand\nFROM\n dataset.BestSellers_TopBrands_\u003cvar translate=\"no\"\u003emerchant_id\u003c/var\u003e\nWHERE\n _PARTITIONDATE = '\u003cvar translate=\"no\"\u003eYYYY-MM-DD\u003c/var\u003e' AND\n ranking_category = 267 /*Smartphones*/ AND\n ranking_country = 'US'\nORDER BY\n rank\n```\n| **Note:** For more information about product categories, including a full list of category codes, see [Definition: `google_product_category`](https://support.google.com/merchants/answer/6324436).\n\n### Products of top brands in your inventory\n\nThe following SQL query returns a list of products in your inventory from top\nbrands, listed by category and country. \n\n```googlesql\n WITH latest_top_brands AS\n (\n SELECT\n *\n FROM\n dataset.BestSellers_TopBrands_\u003cvar translate=\"no\"\u003emerchant_id\u003c/var\u003e\n WHERE\n _PARTITIONDATE = '\u003cvar translate=\"no\"\u003eYYYY-MM-DD\u003c/var\u003e'\n ),\n latest_products AS\n (\n SELECT\n product.*,\n product_category_id\n FROM\n dataset.Products_\u003cvar translate=\"no\"\u003emerchant_id\u003c/var\u003e AS product,\n UNNEST(product.google_product_category_ids) AS product_category_id,\n UNNEST(destinations) AS destination,\n UNNEST(destination.approved_countries) AS approved_country\n WHERE\n _PARTITIONDATE = '\u003cvar translate=\"no\"\u003eYYYY-MM-DD\u003c/var\u003e'\n )\n SELECT\n top_brands.brand,\n (SELECT name FROM top_brands.ranking_category_path\n WHERE locale = 'en-US') AS ranking_category,\n top_brands.ranking_country,\n top_brands.rank,\n products.product_id,\n products.title\n FROM\n latest_top_brands AS top_brands\n INNER JOIN\n latest_products AS products\n ON top_brands.google_brand_id = products.google_brand_id AND\n top_brands.ranking_category = product_category_id AND\n top_brands.ranking_country = products.approved_country\n```\n| **Note:** For more information about product categories, including a full list of category codes, see [Definition: `google_product_category`](https://support.google.com/merchants/answer/6324436)."]]