Google Merchant Fields
PromoSync fills in the Google Shopping attributes Google Merchant Center asks for (category, brand, condition, age group, gender, GTIN, MPN and more) from supplier data, so you don’t have to type them per product. They are written as metafields in the mm-google-shopping namespace, the namespace Shopify’s Google & YouTube app reads.
{% raw %}{{ product.metafields['mm-google-shopping'].brand }}
{{ product.metafields['mm-google-shopping'].condition }}
{{ variant.metafields['mm-google-shopping'].gtin }}{% endraw %}The namespace has hyphens, so use bracket notation in Liquid.
Plan eligibility
Google Merchant fields are part of the PromoSync Merchandising bundle. On the PSRESTful plans:
| Plan | Google Merchant fields written? |
|---|---|
| Free | No |
| Standard | No |
| Premium | With the Merchandising add-on |
| Business | Yes |
| Enterprise | Yes |
| Trial | Yes, for the duration of the trial |
PSRESTful tells PromoSync whether your account has the bundle. When the Trial ends on a plan without it, PromoSync stops writing these fields. The PromoSync team can also turn the feature on for a single shop; there is no setting for it in the app.
To change your plan, visit psrestful.com/pricing.
Choosing Which Fields Are Written
In PromoSync, open Settings and pick SEO Fields in the sidebar. Tick the fields you want and click Save Settings. If no field is ticked, PromoSync writes all of them. Changes apply to products synced after you save.
Example with made-up data.
On a plan without the Merchandising bundle, the tab shows a notice instead of the checkboxes.
Product-Level Fields
google_product_category
The Google product category PSRESTful assigned to the product.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | google_product_category |
| Type | single_line_text_field |
{% raw %}{{ product.metafields['mm-google-shopping'].google_product_category }}
→ "Apparel & Accessories > Clothing > Shirts & Tops"{% endraw %}condition
Always new.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | condition |
| Type | single_line_text_field |
brand
The brand, using PSRESTful’s standard spelling when it has one, else the supplier’s own.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | brand |
| Type | single_line_text_field |
{% raw %}{{ product.metafields['mm-google-shopping'].brand }}
→ "Bella + Canvas"{% endraw %}identifier_exists
true when the product has a brand, false when it doesn’t.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | identifier_exists |
| Type | boolean |
adult
Always false.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | adult |
| Type | boolean |
age_group
Target age group, from the supplier’s apparel style. adult when the supplier sends no apparel size.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | age_group |
| Type | single_line_text_field |
Google’s values: adult, kids, toddler, infant, newborn.
gender
Target gender, from the supplier’s apparel style. unisex when the supplier sends no apparel size.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | gender |
| Type | single_line_text_field |
Google’s values: male, female, unisex.
material
The supplier’s primary material, on one line.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | material |
| Type | single_line_text_field |
size_system
Size system, from the country of origin. US when the country is missing or not in PromoSync’s list.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | size_system |
| Type | single_line_text_field |
Custom labels
PromoSync fills three custom labels with fixed values, so you can group products in Google Ads campaigns:
| Key | Value |
|---|---|
custom_label_0 | Supplier code (for example SanMar) |
custom_label_1 | The product’s line name |
custom_label_2 | The product’s main category |
All custom labels are single_line_text_field. PromoSync leaves custom_label_3 and custom_label_4 empty, so they are yours to use.
Variant-Level Fields
These fields are attached to individual variants.
gtin
The supplier’s Global Trade Item Number (barcode), when the supplier sends one.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | gtin |
| Type | single_line_text_field |
| Owner | PRODUCTVARIANT |
mpn
The supplier’s Part ID for the variant.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | mpn |
| Type | single_line_text_field |
| Owner | PRODUCTVARIANT |
title
<product title> - <size>. Without a size, PromoSync uses the variant’s description, then its Part ID, in place of the size.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | title |
| Type | single_line_text_field |
| Owner | PRODUCTVARIANT |
{% raw %}{{ variant.metafields['mm-google-shopping'].title }}
→ "Unisex Jersey Tee - L"{% endraw %}cost_of_goods_sold
The variant’s cost with the store currency, for Google’s cost of goods sold attribute. Update Prices also refreshes it.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | cost_of_goods_sold |
| Type | single_line_text_field |
| Owner | PRODUCTVARIANT |
{% raw %}{{ variant.metafields['mm-google-shopping'].cost_of_goods_sold }}
→ "8.25 USD"{% endraw %}color
The variant’s color, from the Preferred Color Field in your Product Display Settings, falling back to the other color field.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | color |
| Type | single_line_text_field |
| Owner | PRODUCTVARIANT |
size
The variant’s label size from the supplier’s apparel data.
| Property | Value |
|---|---|
| Namespace | mm-google-shopping |
| Key | size |
| Type | single_line_text_field |
| Owner | PRODUCTVARIANT |
Complete Field List
Product-Level Fields
| Key | Type | Value |
|---|---|---|
google_product_category | text | Google product category |
condition | text | Always new |
brand | text | Brand name |
identifier_exists | boolean | true when there is a brand |
adult | boolean | Always false |
age_group | text | Target age group |
gender | text | Target gender |
material | text | Primary material |
size_system | text | Size system |
custom_label_0 | text | Supplier code |
custom_label_1 | text | Line name |
custom_label_2 | text | Main category |
Variant-Level Fields
| Key | Type | Value |
|---|---|---|
gtin | text | Global Trade Item Number |
mpn | text | Supplier Part ID |
title | text | Product title and size |
cost_of_goods_sold | text | Variant cost and currency |
color | text | Variant color |
size | text | Variant size |
PromoSync also creates definitions for product_type, pattern, size_type, custom_label_3, custom_label_4 and product_detail (product) and item_group_id (variant), but does not write values to them today. You can fill them yourself.
Shopify Google & YouTube App
These metafields are read by Shopify’s Google & YouTube app:
- Install Google & YouTube from the Shopify App Store
- Connect your Google Merchant Center account
- Your products sync to Merchant Center with the attributes PromoSync filled in
Troubleshooting
Missing Required Fields
If Google rejects products for missing data:
- Check whether the supplier provides it. Many promotional products have no GTIN
- Check that the field is ticked on the SEO Fields tab (or that no field is ticked, which means all)
- Run Update Metafields on the product after changing the SEO Fields selection
Feed Errors
| Error | Cause | What to do |
|---|---|---|
Invalid GTIN | Checksum failure | Verify with the supplier |
Missing brand | Supplier sent no brand | Add the brand manually |
Invalid category | Old taxonomy | Check Google’s taxonomy updates |