Product Feed Field Mapping Tool
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 | OpenAI field | Treatment | Notes |
|---|---|---|---|
id | item_id | Renamed | Copied as a string. Keep it stable between uploads. |
title | title | Direct | Copied. |
description | description | Direct | Copied. Both specs expect plain text. |
link | url | Renamed | Copied. Point it at the variant-selected page when possible. |
image_link | image_url | Renamed | Copied. |
additional_image_link | additional_image_urls | Transformed | Split on commas and emitted as an array (JSONL) or a comma-separated cell (CSV). |
availability | availability | Transformed | preorder becomes pre_order; in stock-style spellings are normalized. GMC has no unknown; empty values stay empty and fail validation rather than being guessed. |
price | price | Transformed | Normalized to amount CODE with the currency's decimals (15 USD becomes 15.00 USD). GMC tax-inclusion conventions are not converted. |
sale_price | sale_price | Transformed | Normalized 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. |
brand | brand | Direct | Copied. Required on every OpenAI row. |
gtin | gtin | Transformed | Spaces and dashes removed. GMC allows several values; only the first is kept (lossy). |
mpn | mpn | Direct | Copied. |
identifier_exists | — | Dropped (lossy) | No OpenAI equivalent. Omit gtin when none is assigned. |
condition | condition | Direct | Same values (new, refurbished, used). |
item_group_id | group_id | Renamed | Copied, and listing_has_variations=true is set when it differs from id. |
color | color | Direct | Copied; also used in variant_dict when it varies within the group. |
size | size | Direct | Copied; also used in variant_dict when it varies within the group. |
material | material | Direct | Copied; also used in variant_dict when it varies within the group. |
pattern | — | Derived | No top-level OpenAI field. Used only as a variant_dict key when it varies within the group; otherwise dropped. |
gender | gender | Direct | Same values (male, female, unisex). |
age_group | age_group | Direct | Same values (newborn, infant, toddler, kids, adult). |
product_type | product_category | Renamed | Copied (first value if several). |
google_product_category | product_category | Transformed | Used 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_length | dimensions | Transformed | Combined with width/height into the dimensions object when at least two axes share one unit. |
product_width | dimensions | Transformed | See product_length. |
product_height | dimensions | Transformed | See product_length. |
product_weight | weight | Transformed | Split into weight and item_weight_unit. |
shipping | shipping_price | Transformed | Lossy. 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_system | size_system | Not emitted (needs OpenAI setup) | Same value list, but OpenAI honors it only with feed-specific setup, so it is not emitted. |
custom_label_0 | ads_metadata | Not emitted (needs OpenAI setup) | Possible ads_metadata key, but keys must be confirmed during Ads setup; not emitted. |
custom_label_1 | ads_metadata | Not emitted (needs OpenAI setup) | See custom_label_0. |
custom_label_2 | ads_metadata | Not emitted (needs OpenAI setup) | See custom_label_0. |
custom_label_3 | ads_metadata | Not emitted (needs OpenAI setup) | See custom_label_0. |
custom_label_4 | ads_metadata | Not 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 field | Where the value comes from |
|---|---|
seller_name | Required on every row. GMC has no per-row seller name, so you must supply it. |
target_countries | Defaults to ["US"]: the standard OpenAI upload currently targets the US. |
store_country | Defaults to US for the same reason. |
seller_url | Optional; applied to every row when supplied. |
return_policy | Optional; 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-positionshippingtuple 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, andexpiration_dateare 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, andreturn_policyper row. The mapper applies only a return-policy URL you provide. It never setsaccepts_returnsfor you. - Categories. A numeric
google_product_categorycannot become a text path without Google's taxonomy file.product_typemaps directly. - Ads labels.
custom_label_0–4could feedads_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.
{"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 |
|---|---|---|
preorder | pre_order | OpenAI's availability enum |
in stock | in_stock | Older spellings normalized |
149 USD, 18.00USD | 149.00 USD, 18.00 USD | USD uses two decimals and one space |
020-1234-500018 | 0201234500018 | OpenAI GTINs are digits only |
0.4 kg | weight: 0.4, item_weight_unit: kg | Separate 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 USD | shipping_price: 7.00 USD | Service name dropped (lossy) |
| (none) | target_countries: ["US"], store_country: US | Standard 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.
Related
- Google Merchant Center to OpenAI feedThe conversion explained step by step.
- Product feed validatorValidate any OpenAI-format feed with a downloadable report.
- Feed field referenceEvery OpenAI field with its GMC counterpart.
- Sample product feedsSynthetic fixtures, including the GMC-style input.
- Product feed integrationGenerate the feed from your source systems.
Sources
- OpenAI: Product feed schema (Stable)
- OpenAI: Submit product feeds
- Google Merchant Center: Product data specification
- 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.