The mapping is configured, the metafield has a value in the Shopify admin, and the attribute in Merchant Center is still empty. Something between the two is dropping it.
This is the troubleshooting page for that case. It assumes the mapping exists. If you have not set one up yet, start with the metafield mapping guide. The eight causes below are in the order to check them, starting with the ones you can see in the Shopify admin.
If the attribute that is failing is a standard field such as price or GTIN and no metafield is involved, SnowPipe syncs those from Shopify to Merchant Center and validates each row. You can try it free.
TL;DR
- The value is on the product, and the mapping reads the variant (or the reverse).
- The metafield type is a list or a reference, which is stored as JSON or an ID.
- The mapping lost its source, or Shopify will not let the channel read that metafield.
- The value was never entered, because the definition is not pinned and nobody saw the field.
- The value is one Google does not accept.
- The sync or Google's review has not finished.
- Your feed tool does not read variant metafields.
- Two namespaces hold the attribute and the mapping points at the other one.
Where the value can be lost
There are five hops between the metafield and Merchant Center:
- Write. You or a script set a value on a product or a variant.
- Storage. Shopify keeps it under a namespace and key, on an owner type (
PRODUCTorPRODUCTVARIANT), with a declared type. - Read. The Google & YouTube app or a feed tool reads the value on its own schedule.
- Mapping. The value is assigned to a Google attribute and may be transformed.
- Submission. The result is sent to Merchant Center, and Google reviews it.
A failure at any hop looks the same in Merchant Center. Most of them happen in the first four.
The eight causes
Cause 1: The value is on the product and the mapping reads the variant
Shopify stores product metafields and variant metafields separately. A product metafield has one value for the whole product. A variant metafield has one per variant.
Google's color, size, gtin and mpn describe a variant. If you stored color on the product and mapped a variant-level field, there is nothing to read. Shopify's channel mapping reports the reverse case with the message "[Field] can't use variant data for a product field. Choose another source."
To see which level you have, open the product in the admin. Product metafields are in the Metafields section of the product page. Variant metafields are on the variant's details page, or with the variant on the redesigned product page that Shopify is rolling out.
The fix for a product with variants is a variant-level definition, created under Settings > Metafields and metaobjects, with a value on every variant. Copying by hand works for a handful of products. For more, use a short script against the GraphQL Admin API that reads the product value and writes it to each variant.
Cause 2: The metafield type is a list or a reference
Shopify's metafield types fall into three groups:
- Scalar types:
single_line_text_field,multi_line_text_field,number_integer,number_decimal,boolean,date,url - List types:
list.single_line_text_field,list.color,list.metaobject_reference - Reference types:
metaobject_reference,mixed_reference,product_reference,variant_reference,collection_reference,file_reference
A list is stored as a JSON array in a string, so two colors are ["red", "blue"]. A reference is stored as an ID such as gid://shopify/Metaobject/123. Neither is a value Google can use, and channel mapping only offers "sources with a data type that the field accepts".
- For colors, use
single_line_text_fieldand writeRed/Blue. Google accepts up to three colors separated by a slash, and its color page warns that with commas "only one color will be applied". - For a metaobject, copy the field you need into a text metafield, or use a feed tool that resolves references.
Cause 3: The mapping lost its source
Open the mapping (Settings > Sales channels > Google & YouTube > Channel mapping > Edit mappings) and look at the row. Shopify's channel mapping page lists the messages you may find there:
- "The saved source is no longer available. Choose another source." This appears, for example, when the definition was deleted after the mapping was saved.
- "Access to the metafield is restricted. Choose a different metafield." Shopify does not say more. An app-owned metafield (its namespace starts with
app--) is the likely case. - "[Field] doesn't support the selected source's data type. Choose another source." This is Cause 2.
A metafield with no definition can be the only source of a field but cannot be part of a combined value.
Cause 4: The value was never entered
Shopify shows pinned metafield definitions on the product page and puts the rest behind a View all link. You can pin up to 50 for each part of your store. If custom.color was not pinned when your team filled in the catalog, the field was easy to miss and may be empty on most products.
Check a product that fails, not one you filled in yourself. Then pin the definition under Settings > Metafields and metaobjects so it shows in the editable table. Values set by API or CSV import are not affected by pinning.
Cause 5: The value is one Google does not accept
A value can be sent and still not be accepted. Check the two attributes with a fixed list first:
genderacceptsmale,femaleorunisex.age_groupacceptsnewborn,infant,toddler,kidsoradult.
Mens, Womens and Kids 3-5 are not supported values. Fix them in Shopify, or translate them in a feed tool.
Also look for characters you cannot see. Values pasted from a spreadsheet or a document can carry trailing spaces, non-breaking spaces or zero-width characters, and an HTML entity such as & can be left over from an import. Read the raw value through the API (see "How to verify the fix" below) to check.
Cause 6: The sync or the review has not finished
Shopify publishes no interval for the Google & YouTube app. Its documentation says only that changes "can take some time to display on the channel". After the data arrives, Google says "it can take 3-5 business days for Google to review" updated products.
Feed tools run on their own schedules. DataFeedWatch's plans allow one to five syncs a day depending on the plan, and SnowPipe runs hourly or daily, or when you press Sync. Check the tool's last run time against the time you saved the metafield.
If a product has waited longer than Google's stated review time, the stuck in pending guide covers what to check.
Cause 7: The feed tool does not read variant metafields
Some tools read products from the Admin API and never ask for each variant's metafields. Product metafields come through and variant ones do not. They need their own request:
{
productVariant(id: "gid://shopify/ProductVariant/123") {
id
metafields(first: 50) {
edges {
node { namespace key value type }
}
}
}
}
If the tool's preview shows product metafields and no variant ones, this is the cause. Ask the vendor whether variant metafields are supported and how to turn them on. SnowPipe is on that list today: it does not read Shopify metafields yet.
Cause 8: Two namespaces hold the same attribute
The namespaces that matter for Google:
custom.*holds your own definitions.mm-google-shopping.*holds the Google product data you enter in the Google & YouTube channel, such as age group or gender. Shopify's documentation says the channel's mappings "already use these metafields".app--*namespaces belong to apps.
A store can have the same attribute filled in under custom.* and under mm-google-shopping.* with different values. The channel sends whichever one the mapping points at, and you may be editing the other.
List the definitions on each owner type:
{
metafieldDefinitions(first: 250, ownerType: PRODUCT) {
nodes { namespace key name type { name } }
}
}
Run it again with ownerType: PRODUCTVARIANT. If the attribute appears twice, pick one namespace, point the mapping at it, and copy the other values across before you delete anything.
How to verify the fix
- Read the value from Shopify. Query one affected variant with the
productVariantquery above. If the value is missing or wrong there, the problem is in Shopify and nothing downstream matters yet. - Check what was sent. In channel mapping, use the preview. In a feed tool, export the feed or open the last payload and find the product. Shopify notes that its preview "doesn't tell you whether the channel approves or displays your listing".
- Check Merchant Center. Open the product there and look at the attribute. If the feed has the value and Merchant Center does not, the submission has not been processed yet.
What not to do
- Do not recreate the definition in a new namespace to force a sync. The saved mapping loses its source (Cause 3) and you now have two namespaces (Cause 8).
- Do not assume a value shown in the admin is being sent. Check the feed output.
- Do not run the Google & YouTube app and a feed tool against the same Merchant Center account while you debug. You will not know which one wrote the value you are looking at.
Where SnowPipe fits
SnowPipe syncs Shopify catalogs to Google Merchant Center through the Merchant API. It does not read metafields yet, so it is not the fix for this problem today.
What it covers is the data outside metafields: one row per variant, variant options named Color, Colour or Size sent as color and size, lookup tables that turn Mens into male, and a GTIN check-digit test before export. Its Products tab lists what is in Merchant Center with Google's review status for each product, which helps with step 3 above.
Want the standard fields handled while you fix the metafields?
Try SnowPipe free: connect your Shopify store and sync an accurate feed to Google Merchant Center. Or book a 15-min demo and I'll walk you through your specific setup.