Alcune o tutte le informazioni in questa pagina potrebbero non essere applicabili a Trusted Cloud di S3NS.
Tabella dei principali brand di Google Merchant Center
Panoramica
I dati dei più venduti aiutano i commercianti a comprendere i brand e i prodotti più apprezzati negli annunci Shopping e nelle schede non a pagamento. Per ulteriori informazioni sui più venduti, consulta la descrizione in Report supportati.
I dati vengono scritti in una tabella denominata BestSellers_TopBrands_MERCHANT_ID
.
Schema
La tabella BestSellers_TopBrands_
ha lo schema seguente:
Colonna |
Tipo di dati BigQuery |
Descrizione |
Dati di esempio |
rank_timestamp |
TIMESTAMP |
Data e ora di pubblicazione del ranking. |
30-05-2020 00:00:00 UTC |
rank_id |
STRING |
Identificatore univoco del ranking. |
2020-05-30:FR:264:120:brand |
rank |
INTEGER |
Il ranking di popolarità del brand negli annunci Shopping e nelle schede non a pagamento perranking_country e ranking_category .
La popolarità è basata sul numero stimato di prodotti venduti. Il ranking viene aggiornato ogni giorno. I dati inclusi nelle metriche potrebbero subire ritardi fino a 2 giorni.
|
120 |
previous_rank |
INTEGER |
La variazione del ranking negli ultimi 7 giorni. |
86 |
ranking_country |
STRING |
Codice paese utilizzato per il ranking. |
FR |
ranking_category |
INTEGER |
ID categoria prodotto Google utilizzato per il ranking. |
264 |
ranking_category_path |
RECORD, REPEATED |
Il percorso completo della categoria prodotto Google
utilizzata per il ranking in ogni lingua. |
|
ranking_category_path.locale |
STRING |
Le impostazioni internazionali del percorso della categoria. |
en-US |
ranking_category_path.name |
STRING |
Un nome leggibile per il percorso della categoria. |
Dispositivi elettronici > Comunicazioni > Telefonia > Accessori telefoni cellulari |
relative_demand |
RECORD |
La domanda stimata di un brand rispetto al brand con il ranking popolarità più alto nella stessa categoria e nello stesso paese. |
|
relative_demand.bucket |
STRING |
|
Molto alta |
relative_demand.min |
INTEGER |
|
51 |
relative_demand.max |
INTEGER |
|
100 |
previous_relative_demand |
RECORD |
La domanda stimata di un brand rispetto al brand con il ranking popolarità più alto nella stessa categoria e nello stesso paese negli ultimi 7 giorni.
|
|
previous_relative_demand.bucket |
STRING |
|
Molto alta |
previous_relative_demand.min |
INTEGER |
|
51 |
previous_relative_demand.max |
INTEGER |
|
100 |
brand |
STRING |
Marca dell'articolo. |
Nome del brand di esempio |
google_brand_id |
STRING |
ID brand Google dell'articolo. |
11887454107284768325 |
Esempi di query
Brand principali per una determinata categoria e un determinato paese
La seguente query SQL restituisce i principali brand per la categoria Smartphones
negli Stati Uniti.
SELECT
rank,
previous_rank,
brand
FROM
dataset.BestSellers_TopBrands_merchant_id
WHERE
_PARTITIONDATE = 'YYYY-MM-DD' AND
ranking_category = 267 /*Smartphones*/ AND
ranking_country = 'US'
ORDER BY
rank
Prodotti dei principali brand nel tuo inventario
La seguente query SQL restituisce un elenco dei prodotti nel tuo inventario dei migliori marchi, elencati per categoria e paese.
WITH latest_top_brands AS
(
SELECT
*
FROM
dataset.BestSellers_TopBrands_merchant_id
WHERE
_PARTITIONDATE = 'YYYY-MM-DD'
),
latest_products AS
(
SELECT
product.*,
product_category_id
FROM
dataset.Products_merchant_id AS product,
UNNEST(product.google_product_category_ids) AS product_category_id,
UNNEST(destinations) AS destination,
UNNEST(destination.approved_countries) AS approved_country
WHERE
_PARTITIONDATE = 'YYYY-MM-DD'
)
SELECT
top_brands.brand,
(SELECT name FROM top_brands.ranking_category_path
WHERE locale = 'en-US') AS ranking_category,
top_brands.ranking_country,
top_brands.rank,
products.product_id,
products.title
FROM
latest_top_brands AS top_brands
INNER JOIN
latest_products AS products
ON top_brands.google_brand_id = products.google_brand_id AND
top_brands.ranking_category = product_category_id AND
top_brands.ranking_country = products.approved_country
Salvo quando diversamente specificato, i contenuti di questa pagina sono concessi in base alla licenza Creative Commons Attribution 4.0, mentre gli esempi di codice sono concessi in base alla licenza Apache 2.0. Per ulteriori dettagli, consulta le norme del sito di Google Developers. Java è un marchio registrato di Oracle e/o delle sue consociate.
Ultimo aggiornamento 2025-08-17 UTC.
[[["Facile da capire","easyToUnderstand","thumb-up"],["Il problema è stato risolto","solvedMyProblem","thumb-up"],["Altra","otherUp","thumb-up"]],[["Mancano le informazioni di cui ho bisogno","missingTheInformationINeed","thumb-down"],["Troppo complicato/troppi passaggi","tooComplicatedTooManySteps","thumb-down"],["Obsoleti","outOfDate","thumb-down"],["Problema di traduzione","translationIssue","thumb-down"],["Problema relativo a esempi/codice","samplesCodeIssue","thumb-down"],["Altra","otherDown","thumb-down"]],["Ultimo aggiornamento 2025-08-17 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)."]]