A supplier represents availability with A and N. Google Merchant uses in_stock and out_of_stock, while Meta uses in stock and out of stock, so one universal output value is not correct for both channels.
Create a separate target configuration for each channel, clear the result first, and populate only the confirmed A and N mappings. Leave unknown codes blank.
How to Do It in Eofferix
Add or open the comparison column
availability_googlewith its source set toavailability_raw. These names and the codesAandNare examples, not channel requirements.
The walkthrough opens a separate Google configuration; replace the comparison name with the actual field used by your profile. For Google, add Any → Replace with with a blank result; then test the source column with
^\s*A\s*$and writein_stock; test it with^\s*N\s*$and writeout_of_stock.
The result is cleared first; only confirmed A and N codes are populated, while X remains blank. In a separate Meta column or profile, clear the result in the same way but write
in stockandout of stockwith spaces. Do not reuse the underscored Google values.
The Meta configuration uses space-separated values and leaves an unknown code blank. Inspect
A,N, unknownX, and whitespace-paddedain the preview. In the actual export, use the header required by that channel; it may simply be namedavailability.
availability_raw, availability_google, availability_meta, A, and N are supplier examples and comparison labels. Confirm the dictionary used by your source. Never assume that unknown P, B, or D means preorder, backorder, or discontinued.Expected Result
| Supplier code | Google Merchant | Meta |
|---|---|---|
A | in_stock | in stock |
N | out_of_stock | out of stock |
X | blank | blank |
a | in_stock | in stock |
Checks Before Export
- Google and Meta use separate target rules or separate profiles.
- Unknown code
Xis cleared instead of passing through unchanged. - The regular expressions validate the complete code and permit only surrounding whitespace.
- The actual export header and value format match the selected channel.
Channel Requirements
- Google uses
in_stock,out_of_stock,preorder, andbackorder; the value must agree with the product page and checkout. - Google requires an appropriate
availability_datewithpreorderandbackorder. - Meta uses space-separated values including
in stockandout of stock; do not substitute Google’s underscored format. - Official sources: Google Merchant availability and Meta Business SDK ProductItem.Availability.