The source has no ready age_group field but does have controlled categories that unambiguously identify the intended age group. The target must contain one of Google’s five values without guessing for an unknown category.
Clear age_group first, then use Equals rules to map confirmed categories to newborn, infant, toddler, kids, and adult. Leave an unknown value blank.
How to Do It in Eofferix
Add or open the target
age_groupcolumn. Use the actual age or category source in rule conditions;category_sourceis only a placeholder name.
Open the target age_group column and select the actual field that contains the confirmed age classification. Set the first rule to Any → Replace with and leave the replacement empty; this clears
age_groupbefore mapping. Add five Equals mappings:newborn clothing→newborn;infant clothing→infant;toddler clothing→toddler;kids clothing→kids;adult clothing→adult.
The result is cleared first; five confirmed categories receive Google enum values and an unknown category remains blank. Apply the rules and inspect the preview: the five sample apparel rows must return
newborn,infant,toddler,kids, andadultrespectively, whileaccessoriesmust remain blank.Before export, verify the product’s real intended audience, the attribute’s applicability, and variant grouping. Do not replace a blank value with
adultunless the source confirms it.
category_source, the category labels, and the mappings in this walkthrough are examples only. Use Equals mappings only where your product model guarantees the age group. Broad labels such as kids clothing or baby are ambiguous on their own; prefer a dedicated age field when available.Expected Result
| Exact source category | age_group |
|---|---|
newborn clothing | newborn |
infant clothing | infant |
toddler clothing | toddler |
kids clothing | kids |
adult clothing | adult |
accessories | blank |
Checks Before Export
- The chain covers all five supported values, including
toddler. - Categories use Equals and an unknown value remains blank.
adultis not used as an unconditional default.- When variants differ by age group, the feed provides the appropriate shared
item_group_id.
Google Merchant Requirements
- Google accepts exactly
newborn,infant,toddler,kids, andadult; the field is not repeatable, and Google provides no default. newbornmeans 0–3 months,infant3–12 months, andtoddler1–5 years. Do not infer these values from a broad “child” orbabylabel.- As a general rule, the attribute is required for free listings in Apparel & Accessories, category ID 166, and for Shopping ads targeting Brazil, France, Germany, Japan, the United Kingdom, and the United States. Google lists specific subcategory exceptions where it is optional; check the current list at the link below.
- Official source: Google Merchant age group.