Tool

Product Feed Field Mapping Tool

By Michael E.Updated Sources checked

Short answer

Yes, most of a Google Merchant Center feed maps to OpenAI's product feed schema, but not all of it. The Agent Commerce Optimization feed mapper renames and reformats columns in your browser, keeps item_group_id variant groups, and builds variant_dict. It also adds the seller_name and market defaults GMC lacks, lists every lossy or unmappable field, and validates the generated file against OpenAI's Stable schema.

Key takeaways

  • Core GMC attributes (id, title, description, link, image_link, price, availability, brand, gtin) map with renames and small format fixes.
  • item_group_id becomes group_id, and the attributes that vary within a group become variant_dict.
  • OpenAI requires seller_name, target_countries, and store_country on every row; GMC keeps them at account level, so the mapper asks for or defaults them.
  • Shipping tuples, sale dates, package dimensions, custom labels, and numeric Google categories do not convert cleanly and are listed as lossy.
  • The generated output runs through the same validator as the product feed validator.

Can I map my current feed to the OpenAI format?

Usually, for the core fields. Paste or choose a GMC-style CSV or TSV, enter your seller name, and select Map fields. The tool shows how each column was treated, notes every row-level conversion or loss, previews the output, and validates it. You can download the result as CSV or JSONL. The steps are explained in converting a Google Merchant Center feed to OpenAI.

GMC to OpenAI feed mapper

Schema: OpenAI product feed schema, Stable · pin stable@2026-11-29 · checked 2026-11-29

Input: Google Merchant Center product data specification · checked 2026-11-29

Runs in your browser · nothing is uploaded

target_countries defaults to ["US"] and store_country to US, matching the standard OpenAI upload.

How do Google Merchant Center fields map to OpenAI fields?

The table is generated from the same mapping module the tool runs, so it cannot drift from the tool's behavior. Direct and renamed fields copy the value. Transformed fields change format. Dropped fields have no faithful OpenAI equivalent. For the OpenAI side of each field, see the feed field reference.

GMC attribute to OpenAI field (generated from src/lib/feed-spec/gmc-mapping.ts)
GMC attributeOpenAI fieldTreatmentNotes
iditem_idRenamedCopied as a string. Keep it stable between uploads.
titletitleDirectCopied.
descriptiondescriptionDirectCopied. Both specs expect plain text.
linkurlRenamedCopied. Point it at the variant-selected page when possible.
image_linkimage_urlRenamedCopied.
additional_image_linkadditional_image_urlsTransformedSplit on commas and emitted as an array (JSONL) or a comma-separated cell (CSV).
availabilityavailabilityTransformedpreorder becomes pre_order; in stock-style spellings are normalized. GMC has no unknown; empty values stay empty and fail validation rather than being guessed.
pricepriceTransformedNormalized to amount CODE with the currency's decimals (15 USD becomes 15.00 USD). GMC tax-inclusion conventions are not converted.
sale_pricesale_priceTransformedNormalized like price.
sale_price_effective_date—Dropped (lossy)Lossy. OpenAI: sale-window dates do not schedule price changes; update the feed when a sale starts or ends.
brandbrandDirectCopied. Required on every OpenAI row.
gtingtinTransformedSpaces and dashes removed. GMC allows several values; only the first is kept (lossy).
mpnmpnDirectCopied.
identifier_exists—Dropped (lossy)No OpenAI equivalent. Omit gtin when none is assigned.
conditionconditionDirectSame values (new, refurbished, used).
item_group_idgroup_idRenamedCopied, and listing_has_variations=true is set when it differs from id.
colorcolorDirectCopied; also used in variant_dict when it varies within the group.
sizesizeDirectCopied; also used in variant_dict when it varies within the group.
materialmaterialDirectCopied; also used in variant_dict when it varies within the group.
pattern—DerivedNo top-level OpenAI field. Used only as a variant_dict key when it varies within the group; otherwise dropped.
gendergenderDirectSame values (male, female, unisex).
age_groupage_groupDirectSame values (newborn, infant, toddler, kids, adult).
product_typeproduct_categoryRenamedCopied (first value if several).
google_product_categoryproduct_categoryTransformedUsed only when product_type is empty and the value is a text path. Numeric taxonomy IDs cannot be converted without Google's taxonomy file (lossy).
product_lengthdimensionsTransformedCombined with width/height into the dimensions object when at least two axes share one unit.
product_widthdimensionsTransformedSee product_length.
product_heightdimensionsTransformedSee product_length.
product_weightweightTransformedSplit into weight and item_weight_unit.
shippingshipping_priceTransformedLossy. Converted only when there is exactly one entry with no region or postal code; service, handling, and transit times are dropped. The four-position OpenAI shipping tuple needs feed-specific setup and is not emitted.
shipping_weight—Dropped (lossy)Package weight. OpenAI weight is the net product weight.
shipping_length—Dropped (lossy)Package dimension, not product dimension.
shipping_width—Dropped (lossy)Package dimension, not product dimension.
shipping_height—Dropped (lossy)Package dimension, not product dimension.
size_systemsize_systemNot emitted (needs OpenAI setup)Same value list, but OpenAI honors it only with feed-specific setup, so it is not emitted.
custom_label_0ads_metadataNot emitted (needs OpenAI setup)Possible ads_metadata key, but keys must be confirmed during Ads setup; not emitted.
custom_label_1ads_metadataNot emitted (needs OpenAI setup)See custom_label_0.
custom_label_2ads_metadataNot emitted (needs OpenAI setup)See custom_label_0.
custom_label_3ads_metadataNot emitted (needs OpenAI setup)See custom_label_0.
custom_label_4ads_metadataNot emitted (needs OpenAI setup)See custom_label_0.
availability_date—Dropped (lossy)OpenAI: availability dates do not schedule changes or display a pre-order date.
expiration_date—Dropped (lossy)OpenAI: do not rely on uploaded dates to remove a product.

Fields the mapper fills in

OpenAI fieldWhere the value comes from
seller_nameRequired on every row. GMC has no per-row seller name, so you must supply it.
target_countriesDefaults to ["US"]: the standard OpenAI upload currently targets the US.
store_countryDefaults to US for the same reason.
seller_urlOptional; applied to every row when supplied.
return_policyOptional; applied to every row when supplied. It does not set accepts_returns.

Which fields cannot be converted automatically?

Anything that carries meaning the OpenAI Stable schema has no place for. The mapper drops these fields and says so, rather than guessing. Five categories need human decisions.

  • Shipping. GMC shipping entries can include region, postal code, service, and handling and transit times. OpenAI's standard field is a single shipping_price, and its four-position shipping tuple works only with feed-specific setup. The mapper converts one nationwide entry and drops the rest. See shipping and returns data.
  • Dates. sale_price_effective_date, availability_date, and expiration_date are dropped. OpenAI's schema says these dates do not schedule price or availability changes, so re-export when a sale starts or ends.
  • Returns and seller identity. GMC handles these at account level. OpenAI accepts accepts_returns, return_deadline_in_days, and return_policy per row. The mapper applies only a return-policy URL you provide. It never sets accepts_returns for you.
  • Categories. A numeric google_product_category cannot become a text path without Google's taxonomy file. product_type maps directly.
  • Ads labels. custom_label_0–4 could feed ads_metadata, but OpenAI says to use keys configured during Ads setup, so they are not emitted.

Also reported as unmappable: mobile_link, video_link, virtual_model_link, lifestyle_image_link, item_group_title, short_title, structured_title, structured_description, product_highlight, product_detail, adult, multipack, is_bundle, energy_efficiency_class, min_energy_efficiency_class, max_energy_efficiency_class, certification, unit_pricing_measure, and similar attributes.

Does item_group_id carry over to OpenAI variants?

Yes. When a row's item_group_id differs from its id, the mapper writes group_id, sets listing_has_variations=true, and builds variant_dict from whichever of color, size, material, and pattern vary within the group. Each variant keeps its own item_id, price, availability, URL, and image, as the schema requires.

Synthetic example: two GMC rows in group FH-SHELL become OpenAI variant records (abridged)
{"item_id":"FH-SHELL-SLT-S","group_id":"FH-SHELL","listing_has_variations":true,"variant_dict":{"size":"S"},"price":"149.00 USD","availability":"in_stock", "...":"..."}
{"item_id":"FH-SHELL-SLT-M","group_id":"FH-SHELL","listing_has_variations":true,"variant_dict":{"size":"M"},"price":"149.00 USD","sale_price":"119.00 USD","availability":"in_stock", "...":"..."}

Because color is the same (Slate) across that group, only size becomes an option. If a group varies by an attribute the mapper does not read, such as a GMC variant_option or a custom field, add it to variant_dict yourself. The rules for stable identifiers are in stable product IDs and variants.

What defaults and format changes does the mapper apply?

Input (GMC)Output (OpenAI)Why
preorderpre_orderOpenAI's availability enum
in stockin_stockOlder spellings normalized
149 USD, 18.00USD149.00 USD, 18.00 USDUSD uses two decimals and one space
020-1234-5000180201234500018OpenAI GTINs are digits only
0.4 kgweight: 0.4, item_weight_unit: kgSeparate value and unit fields
product_length: 12 cm (+ width, height)dimensions: {"length":"12",…,"unit":"cm"}Structured dimensions are recommended for new feeds
US::Standard:7.00 USDshipping_price: 7.00 USDService name dropped (lossy)
(none)target_countries: ["US"], store_country: USStandard uploads target the US

Frequently asked questions

Is my Google Merchant Center file uploaded when I use the mapper?

No. The file is read and converted by JavaScript in your browser tab, and the downloads are created locally. Only the synthetic sample is fetched from this site, and only when you ask for it.

Can I upload the mapper's output straight to OpenAI?

Treat it as a starting point. Review the lossy-field notes, fix any validator errors, and confirm the currency and markets configured for your account. Then deliver it through the method set up in Business Hub. Passing local validation does not guarantee acceptance.

Why does the mapper ask for a seller name?

OpenAI's schema requires seller_name on every row and says not to assume registration supplies it. GMC keeps the store name in account settings rather than in the feed, so the mapper cannot read it from your file.

Does the mapper support XML or Google Sheets feeds?

It reads delimited text, CSV or TSV. Export a Google Sheet as CSV or TSV first. XML feeds are not parsed. Convert them to a delimited file with the same attribute names.

What happens to multiple shipping entries?

They are dropped and noted, because a single shipping_price cannot express regional or multi-service rates. If your integration is configured for OpenAI's shipping tuples, build those deliberately. Do not send both representations for the same charge.

Can the mapper keep products that only differ by pattern?

Yes. If pattern varies within an item_group_id, it becomes a variant_dict key. OpenAI has no top-level pattern field, so for single items the pattern value is dropped.

Need the conversion built into your pipeline?

A one-time mapping helps you test. Production feeds need the mapping in your export, with variants, markets, and refresh handled. Tell us your platform and catalog size.

Sources

  1. OpenAI: Product feed schema (Stable)
  2. OpenAI: Submit product feeds
  3. Google Merchant Center: Product data specification
  4. OpenAI: Ads product feeds

Platform capabilities, eligibility, and specifications change. Sources were checked on 2026-11-29; confirm the current primary documentation before scoping an implementation. See our editorial policy and methodology.