The availability attribute takes one of a small set of values, written a particular way:
in_stock, out_of_stock, preorder, backorder. That is
the whole list. The values are documented under the
availability
attribute, and Google does not guess at anything outside it.
Close is not the same as correct
In Stock with a capital and a space is not in_stock. Neither is
InStock, or available, or yes, or a translated word your platform
exports in the local language. To a person they all obviously mean the same thing. To Google they are
values it does not recognise, so the field is treated as missing, and a product with no availability can
be held or shown wrong. The gap between what a human reads and what a matcher accepts is the entire
problem, and it is invisible in a spreadsheet because every one of those values looks perfectly
reasonable.
Why the fix is a rule, not a pinned value
It is tempting to write in_stock straight into a supplemental file and be done. But
availability is not a fixed fact. It changes as you sell, and a value pinned today is a lie next week
when the item sells out. The correction that holds is a rule: map whatever your platform exports onto the
accepted value, and let it run on every fetch, so the mapping stays while the real state underneath keeps
moving. That is the same principle as the decimal comma in a price, and the same reason behind the whole method: reformat
the shape without freezing the fact.
A scan checks every availability value against the accepted list and, because a platform exports the same non-standard word every time, usually finds a fault that repeats across many products, with one mapping to set rather than a thousand rows to touch by hand.