Restez organisé à l'aide des collections
Enregistrez et classez les contenus selon vos préférences.
Table des comparatif des prix Google Merchant Center
Présentation
Les données sur les comparatifs de prix dans BigQuery permettent aux marchands de comprendre comment les autres marchands évaluent le prix du même produit. Lorsque vos données de rapports Google Merchant Center sont transférées vers BigQuery, le format de la table Products_PriceBenchmarks_ fournit un comparatif de prix quotidien par pays et par produit.
Les données sont écrites dans une table nommée Products_PriceBenchmarks_MERCHANT_ID si vous utilisez un ID de marchand individuel, ou Products_PriceBenchmarks_AGGREGATOR_ID si vous utilisez un compte MC.
Schéma
Le tableau Products_PriceBenchmarks présente le schéma suivant :
Colonne
Type de données BigQuery
Description
product_id
STRING
ID REST du produit dans Content API au format channel:content_language:feed_label:offer_id, semblable à celui défini dans le schéma de la table de produits. Ce champ est une clé primaire.
merchant_id
INTEGER
ID du compte marchand
aggregator_id
INTEGER
ID de compte agrégateur pour les multicomptes
country_of_sale
STRING
Pays depuis lequel l'utilisateur a effectué la requête sur Google
price_benchmark_value
FLOAT
Prix moyen pondéré par le nombre de clics d'un produit donné, pour tous les marchands qui en font la publicité à l'aide d'annonces Shopping. Les produits sont mis en correspondance en fonction de leur code GTIN. Pour en savoir plus, consultez cet article du Centre d'aide.
price_benchmark_currency
STRING
Devise de la valeur comparative
price_benchmark_timestamp
DATETIME
Code temporel du comparatif
Exemple : comparer les prix des produits par rapport aux comparatifs
La requête SQL suivante joint les données Products et Price Benchmarks pour renvoyer la liste des produits et des comparatifs associés.
Sauf indication contraire, le contenu de cette page est régi par une licence Creative Commons Attribution 4.0, et les échantillons de code sont régis par une licence Apache 2.0. Pour en savoir plus, consultez les Règles du site Google Developers. Java est une marque déposée d'Oracle et/ou de ses sociétés affiliées.
Dernière mise à jour le 2025/09/04 (UTC).
[[["Facile à comprendre","easyToUnderstand","thumb-up"],["J'ai pu résoudre mon problème","solvedMyProblem","thumb-up"],["Autre","otherUp","thumb-up"]],[["Difficile à comprendre","hardToUnderstand","thumb-down"],["Informations ou exemple de code incorrects","incorrectInformationOrSampleCode","thumb-down"],["Il n'y a pas l'information/les exemples dont j'ai besoin","missingTheInformationSamplesINeed","thumb-down"],["Problème de traduction","translationIssue","thumb-down"],["Autre","otherDown","thumb-down"]],["Dernière mise à jour le 2025/09/04 (UTC)."],[[["\u003cp\u003eThe Google Merchant Center Price Benchmarks report in BigQuery will be discontinued on September 1, 2025, and users are advised to migrate to the Price Competitiveness report.\u003c/p\u003e\n"],["\u003cp\u003ePrice Benchmarks data allows merchants to analyze how their product pricing compares to other merchants selling the same items, providing a daily benchmark per product and country.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eProducts_PriceBenchmarks_\u003c/code\u003e table contains detailed information including product ID, merchant ID, country of sale, price benchmark value, currency, and timestamp.\u003c/p\u003e\n"],["\u003cp\u003eProducts are matched to one another using their GTIN, and the price benchmark is the average click-weighted price across all merchants advertising the same product on Shopping ads.\u003c/p\u003e\n"],["\u003cp\u003eThe provided SQL example shows how to join \u003ccode\u003eProducts\u003c/code\u003e and \u003ccode\u003ePrice Benchmarks\u003c/code\u003e tables to get a list of products and their associated benchmarks, with the caveat that inner or left joins must be used as not all products will have a benchmark.\u003c/p\u003e\n"]]],[],null,["# Google Merchant Center price benchmarks table\n=============================================\n\nOverview\n--------\n\n| **Caution:** BigQuery will no longer support the Price Benchmarks report on September 1, 2025. We recommend that you migrate to use the [Price Competitiveness report](/bigquery/docs/merchant-center-price-competitiveness-schema) instead. For more information about migrating to the new report, see [Migrate the price competitiveness report](/bigquery/docs/merchant-center-price-competitiveness-migration).\n\nPrice Benchmarks data in BigQuery helps merchants understand how\nother merchants are pricing the same product. When your Google Merchant Center\nreporting data is transferred to BigQuery, the format of the\n`Products_PriceBenchmarks_` table provides a daily price benchmark per country\nand per product.\n\nThe data is written to a table named\n`Products_PriceBenchmarks_`\u003cvar translate=\"no\"\u003eMERCHANT_ID\u003c/var\u003e if you are\nusing an individual Merchant ID, or\n`Products_PriceBenchmarks_`\u003cvar translate=\"no\"\u003eAGGREGATOR_ID\u003c/var\u003e if you're\nusing an MCA account.\n\nSchema\n------\n\nThe `Products_PriceBenchmarks` table has the following schema:\n\nExample: compare product prices to benchmarks\n---------------------------------------------\n\nThe following SQL query joins `Products` and `Price Benchmarks` data to return\nthe list of products and associated benchmarks. \n\n```googlesql\nWITH products AS\n(\n SELECT\n _PARTITIONDATE AS date,\n *\n FROM\n dataset.Products_\u003cvar translate=\"no\"\u003emerchant_id\u003c/var\u003e\n WHERE\n _PARTITIONDATE \u003e= '\u003cvar translate=\"no\"\u003eYYYY-MM-DD\u003c/var\u003e'\n),\nbenchmarks AS\n(\n SELECT\n _PARTITIONDATE AS date,\n *\n FROM\n dataset.Products_PriceBenchmarks_\u003cvar translate=\"no\"\u003emerchant_id\u003c/var\u003e\n WHERE\n _PARTITIONDATE \u003e= '\u003cvar translate=\"no\"\u003eYYYY-MM-DD\u003c/var\u003e'\n)\nSELECT\n products.date,\n products.product_id,\n products.merchant_id,\n products.aggregator_id,\n products.price,\n products.sale_price,\n benchmarks.price_benchmark_value,\n benchmarks.price_benchmark_currency,\n benchmarks.country_of_sale\nFROM\n products\nINNER JOIN\n benchmarks\nON products.product_id = benchmarks.product_id AND\n products.merchant_id = benchmarks.merchant_id AND\n products.date = benchmarks.date\n```\n| Notes on joining the data: \n| 1. Not all products have benchmarks, so use INNER JOIN or LEFT JOIN accordingly. \n| 2. Each product may have multiple benchmarks (one per country)."]]