Google Merchant Center top brands table

Overview

Caution: BigQuery will no longer support the report that exports theTop brands table on September 1, 2025. We recommend that you migrate to use thenew best sellers reportinstead. For more information about migrating to the new report, seeMigrate the best sellers report.

Best sellers data helps merchants understand the most popular brands andproducts in Shopping ads and unpaid listings. For more information about bestsellers, see the description inSupported reports.

The data is written to a table namedBestSellers_TopBrands_MERCHANT_ID.

Schema

TheBestSellers_TopBrands_ table has the following schema:

ColumnBigQuery data typeDescriptionExample data
rank_timestampTIMESTAMPDate and time when the rank was published.2020-05-30 00:00:00 UTC
rank_idSTRINGUnique identifier for the rank.2020-05-30:FR:264:120:brand
rankINTEGERThe popularity rank of the brand on Shopping ads and unpaid listings for theranking_country andranking_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.120
previous_rankINTEGERThe change in rank over the previous 7 days.86
ranking_countrySTRINGCountry code used for ranking.FR
ranking_categoryINTEGERGoogle product category ID used for ranking.264
ranking_category_pathRECORD, REPEATEDThe full path of theGoogle product category used for ranking in each locale.
ranking_category_path.localeSTRINGThe locale of the category path.en-US
ranking_category_path.nameSTRINGA human-readable name for the category path.Electronics > Communications > Telephony > Mobile Phone Accessories
relative_demandRECORDA brand's estimated demand in relation to the brand with the highest popularity rank in the same category and country.
relative_demand.bucketSTRINGVery high
relative_demand.minINTEGER51
relative_demand.maxINTEGER100
previous_relative_demandRECORDA brand's estimated demand in relation to the brand with the highest popularity rank in the same category and country over the previous 7 days.
previous_relative_demand.bucketSTRINGVery high
previous_relative_demand.minINTEGER51
previous_relative_demand.maxINTEGER100
brandSTRINGBrand of the item.Example Brand Name
google_brand_idSTRINGGoogle brand ID of the item.11887454107284768325

Query examples

Top brands for a given category and country

The following SQL query returns top brands for theSmartphones category inthe US.

SELECTrank,previous_rank,brandFROMdataset.BestSellers_TopBrands_merchant_idWHERE_PARTITIONDATE='YYYY-MM-DD'ANDranking_category=267/*Smartphones*/ANDranking_country='US'ORDERBYrank
Note: For more information about product categories, including a full list ofcategory codes, seeDefinition:google_product_category.

Products of top brands in your inventory

The following SQL query returns a list of products in your inventory from topbrands, listed by category and country.

WITHlatest_top_brandsAS(SELECT*FROMdataset.BestSellers_TopBrands_merchant_idWHERE_PARTITIONDATE='YYYY-MM-DD'),latest_productsAS(SELECTproduct.*,product_category_idFROMdataset.Products_merchant_idASproduct,UNNEST(product.google_product_category_ids)ASproduct_category_id,UNNEST(destinations)ASdestination,UNNEST(destination.approved_countries)ASapproved_countryWHERE_PARTITIONDATE='YYYY-MM-DD')SELECTtop_brands.brand,(SELECTnameFROMtop_brands.ranking_category_pathWHERElocale='en-US')ASranking_category,top_brands.ranking_country,top_brands.rank,products.product_id,products.titleFROMlatest_top_brandsAStop_brandsINNERJOINlatest_productsASproductsONtop_brands.google_brand_id=products.google_brand_idANDtop_brands.ranking_category=product_category_idANDtop_brands.ranking_country=products.approved_country
Note: For more information about product categories, including a full list ofcategory codes, seeDefinition:google_product_category.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-02-18 UTC.