FeedMender

FeedMender/Errors/Invalid measure

Common rejections

Invalid measure [unit_pricing_base_measure]

Unit pricing is two attributes that have to agree with each other. When the measure is in millilitres and the base is in grams, Google cannot compute a price per unit, and reports the pair as an invalid measure.

Scan your feed for free

What Google requires

A measure and a compatible base

unit_pricing_measure is the quantity the product is sold in, a number and a unit such as 750ml, and unit_pricing_base_measure is the unit the shelf price is expressed against, such as 100ml. The two units have to be the same kind, volume with volume, weight with weight, and the base has to use a supported integer (1, 10, 100, 2, 4 or 8) with a valid unit. In several EU markets the pair is required for whole categories.

What Google does

The per-unit price cannot be computed

A malformed measure, a base absent where it is required, or a base whose unit does not match the measure all produce Invalid measure or Missing product measurement. Where the market mandates unit pricing that holds up the listing; elsewhere it is shown without the per-unit price shoppers use to compare. The mismatch is the subtle one: each value looks valid alone, and only the pairing is wrong.

How to fix it by hand

Make the units agree

  • Write each measure as a number plus an allowed unit; no missing unit, no abbreviations Google does not list.
  • Express the base measure in the same kind of unit as the measure: ml with ml or l, g with g or kg.
  • Use a standard base, 100 g, 100 ml, 1 kg, 1 l, so the per-unit price reads the way shoppers expect.

What FeedMender checks today

5 checks apply, read from the scanner's registry

The scan validates each measure's format, catches the missing base measure, and flags the pairs whose units cannot be reconciled.

  • unit_pricing_measure_formatblocks
  • unit_pricing_base_formatblocks
  • unit_pricing_unit_mismatchblocks
  • unit_pricing_missingat risk
  • unit_pricing_base_missingat risk

What the scan does not check today: whether the measure matches the physical product; it checks format and unit compatibility, not the real contents on the shelf.

The quicker way

Let the scan reconcile them

Run the free scan and it lists the malformed measures, the missing base measures, and the pairs whose units do not match. The scan to identify errors is free and shows every finding before you pay anything. You only pay for the fix.

Scan your feed