Attribute Guide

Google Shopping ID Attribute: Requirements, Best Practices & Examples

Complete guide to the id attribute in Google Merchant Center. Why it's your most critical feed attribute, how changing it destroys performance history, and…

Updated 7 min readBoostora Team
ID Attribute — Impact of Changing vs. Keeping Stable

Running Shoes — Men's — Black

€89.00example-store.com
id: SHOE-BLK-42Stable since day 1

All historical clicks, conversions, and auction signals preserved. Smart Bidding learns and improves continuously without disruption.

Running Shoes — Men's — Black

€89.00example-store.com

Old ID "SHOE-BLK-42" deleted, new ID "PROD-00412" created → all historical performance data lost. Smart Bidding starts from zero. Bid instability, CPC spike, ROAS drop for 2–4 weeks.

The id attribute is the primary key for your entire Merchant Center product. Every click, conversion, bid signal, and review is anchored to this value. Changing it — even if you keep all other attributes identical — resets performance history completely. Think of it as a product's permanent fingerprint in Google's system.

What is the id attribute?

The id attribute is the unique identifier for each product in your Google Merchant Center feed. It is the primary key that Google uses to track your product across every system: feed processing, auction participation, click and conversion attribution, Smart Bidding signals, campaign targeting, and performance reporting. Every piece of data Google accumulates about a product is anchored to its id.

Unlike most other feed attributes, the id attribute does not affect what shoppers see — it’s never displayed in Shopping ads or product listings. Its impact is entirely structural and operational. That invisibility makes it easy to underestimate, but it is arguably the most consequential single field in your feed. The rule is simple: assign it correctly once, then never change it.

Technical specifications

Feed nameid
RequiredYes — every product must have an id
Max length50 characters
FormatAny Unicode string; recommended: alphanumeric + hyphens/underscores only
Case sensitivityYes — "SKU-001" and "sku-001" are different products
Uniqueness scopeMust be unique within a single Merchant Center account and feed
ChangeabilityEffectively immutable — changing resets all historical performance data

Where it displays

  • Merchant Center feed management — The ID is the row key shown in feed diagnostics, product lists, and issue reports. When investigating a disapproval or data quality issue, you look up the product by its ID.

  • Google Ads campaign interface — In Shopping campaigns, product-level reports, bid adjustments, and exclusions all reference the Merchant Center ID. Product group targeting in Standard Shopping and Performance Max uses the ID as the product reference.

  • Dynamic Remarketing tags — Your website’s remarketing tag must pass the same ID values that exist in your Merchant Center feed so Google can match user behaviour (product views, add-to-cart, purchases) to specific products for audience building and ad personalization.

  • Conversion tracking — For Shopping campaigns, conversion data is attributed at the product level using the ID. This is the foundation for product-level ROAS reporting and Smart Bidding signals.

The ID is never shown to shoppers in any Google surface — it is purely an internal system identifier.

Rules

  • Must be unique within your Merchant Center account — Two products with the same ID in the same feed will cause one to overwrite the other. Across multiple feeds within one account, IDs must still be unique.

  • 50-character maximum — IDs exceeding 50 characters will be truncated or cause feed errors. Design your ID schema to stay well within this limit.

  • Case-sensitive — Maintain consistent casing throughout your feed and across all systems that reference product IDs (Google Ads, remarketing tags, analytics). Mixed casing is a common source of attribution failures.

  • Must match remarketing tag values — If you implement Dynamic Remarketing, the ecomm_prodid (or equivalent) value in your website’s tag must exactly match the Merchant Center id, including case.

  • Stable across feed uploads — The same physical product must have the same ID in every feed upload. Generating new IDs on each upload (e.g., using timestamps or auto-increment) is a critical anti-pattern.

Best practices

Use your SKU as the ID

The single best practice for product IDs is to use your internal SKU — the identifier your business already uses to refer to specific product variants in your inventory, ERP, or order management system. SKUs are stable (they don’t change when prices, descriptions, or images change), unique per variant (each size/color combination has its own SKU), and meaningful to your operations team (useful when debugging feed issues).

ID schema design for large catalogs

For catalogs with thousands of SKUs, a structured ID schema improves manageability:

PatternExampleBest for
Plain SKUWH-1000XM5-BLKMost merchants — simple and direct
Category prefix + SKUELEC-WH-1000XM5-BLKMulti-category catalogs with shared SKU ranges
Vendor + SKUSONY-WH1000XM5-BKMulti-vendor marketplaces
Internal DB IDP-48291Acceptable if IDs are guaranteed stable in your DB

Variant ID strategy

For product variants (different sizes, colors, or configurations of the same base product), each variant needs a unique ID. A consistent naming scheme avoids confusion:

  • Base product: DRESS-WRAP-MIDI (do not submit the base — submit variants)

  • Floral / S: DRESS-WRAP-MIDI-FLORAL-S

  • Floral / M: DRESS-WRAP-MIDI-FLORAL-M

  • Solid Navy / S: DRESS-WRAP-MIDI-NAVY-S

Group these with a shared item_group_id (e.g., DRESS-WRAP-MIDI) to tell Google they are variants of the same product.

Impact on performance

  • Smart Bidding continuity — Smart Bidding strategies (Target ROAS, Maximize Conversion Value) accumulate conversion signals per product ID. A stable ID with 6 months of conversion history gets much better bid decisions than a new ID starting from scratch. ID changes directly set back Smart Bidding performance.

  • Auction signals — Google’s auction uses historical product-level performance signals (CTR, conversion rate, quality) anchored to the ID. These signals take 4–8 weeks to rebuild after an ID reset, causing higher CPCs and lower impression share during that period.

  • Dynamic Remarketing accuracy — If remarketing tag IDs don’t match feed IDs, audience lists are misattributed or empty, breaking retargeting campaigns entirely. Getting IDs right from day one prevents this class of problems.

  • Reporting and attribution — Product-level ROAS reports, impression share data, and conversion path analysis all depend on stable IDs. Changing IDs mid-campaign makes historical comparison impossible and typically requires manual data reconciliation.

Common mistakes

  • Using auto-generated sequential IDs that change when products are re-imported or the database is migrated

  • Using product URLs as IDs — URLs change when site structure changes

  • Using product titles or names as IDs — titles change for SEO or merchandising reasons

  • Inconsistent casing between feed IDs and remarketing tag values, breaking Dynamic Remarketing attribution

  • Reusing IDs from discontinued products for new products — old auction signals from the retired product contaminate the new one

  • Submitting the parent/base product ID instead of individual variant IDs

  • Using special characters or spaces that cause parsing errors in TSV/CSV feeds

Pro tips

  • Add a feed ID validation step to your feed pipeline — Before every feed upload, run a check that verifies: no new IDs have appeared for products that already have IDs in the previous feed, no IDs exceed 50 characters, and no IDs contain prohibited characters. This catches accidental ID changes before they reach Merchant Center and destroy performance history.

  • Maintain a product ID registry — Keep a canonical mapping of your internal product identifiers to their Merchant Center IDs. This is especially important during platform migrations (re-platforming your e-commerce site) where internal IDs may change but Merchant Center IDs must stay identical.

  • If a forced ID change is unavoidable — Plan for a 2–4 week performance recovery period. Temporarily increase bids on affected products to maintain impression share while Smart Bidding re-learns. Monitor auction signals weekly and reduce budget protection as performance stabilises.

  • Use ID as the cross-system product key — Align your Merchant Center ID with the product ID in Google Analytics 4 (the item_id in e-commerce events), your remarketing tags, and your ad reporting. A single, consistent product identifier across all systems enables end-to-end product performance analysis without ID reconciliation.

Frequently asked questions

What happens if I change a product's ID in my feed?
Google treats an ID change as a deletion of the old product and creation of a brand-new product. All accumulated performance history — clicks, conversion data, auction signals, Smart Bidding learning — is permanently lost. The new product starts from zero, causing bid instability and typically a 2–4 week performance dip while Smart Bidding re-learns the product. Never change an ID unless you are intentionally retiring a product and launching a genuinely new one.
What format should I use for product IDs?
Your best option is to use your internal SKU (Stock Keeping Unit) exactly as it appears in your ERP or inventory system. SKUs are stable, unique per product variant, and meaningful to your operations team. Avoid auto-incremented database row IDs (fragile to migration), product names (change over time), or URLs (change when site restructures). Format: alphanumeric characters, hyphens, and underscores are all accepted. Maximum 50 characters.
Is the ID case-sensitive?
Yes — Google Merchant Center treats IDs as case-sensitive. The IDs "SKU-001", "sku-001", and "Sku-001" are treated as three different products. Choose one consistent casing convention (lowercase-with-hyphens is common and robust) and apply it uniformly across your entire feed. Inconsistent casing is a common source of accidental duplicate or orphaned products.
Can I use the same ID for different product variants (sizes, colors)?
No — each variant must have a unique ID. A blue size M shirt and a red size L shirt must have different IDs, even if they share an item_group_id. The ID is the key that distinguishes individual purchasable products. Using the same ID for multiple variants causes one to silently overwrite the other in Merchant Center.
What characters are allowed in a product ID?
Google accepts Unicode characters in IDs, but best practice is to limit yourself to: letters (A–Z, a–z), digits (0–9), hyphens (-), underscores (_), and dots (.). Avoid spaces, slashes, ampersands, and special characters — they can cause parsing issues in some feed formats (especially TSV/CSV) and are harder to use in API calls. Keep IDs URL-safe for maximum compatibility.
Does the ID attribute affect what shoppers see in ads?
No — the id attribute is never shown to shoppers. It is a purely internal identifier used by Google's systems to track the product across feeds, campaigns, and reports. Its value is operational and technical, not consumer-facing. However, it indirectly affects what shoppers see because it anchors all performance data that influences how often and where the product is shown.
Should my ID match the product ID in my Google Ads campaigns?
Yes — the Merchant Center id is how Google Ads links Shopping campaign performance to specific products. When you create product-level bid adjustments, exclusions, or custom labels in Google Ads, they reference this ID. If your feed IDs change, those campaign settings become orphaned and must be manually rebuilt. Stable IDs = stable campaign configuration with no manual rework.

Related guides