Marketplace feeds

How to Build Separate Availability Values for Google Merchant and Meta

2026-06-20
Task

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.

Short answer

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

  1. Add or open the comparison column availability_google with its source set to availability_raw. These names and the codes A and N are examples, not channel requirements.

    Opening the availability_google column rules in Eofferix
    The walkthrough opens a separate Google configuration; replace the comparison name with the actual field used by your profile.
  2. For Google, add AnyReplace with with a blank result; then test the source column with ^\s*A\s*$ and write in_stock; test it with ^\s*N\s*$ and write out_of_stock.

    Google rules mapping supplier codes A and N to in_stock and out_of_stock
    The result is cleared first; only confirmed A and N codes are populated, while X remains blank.
  3. In a separate Meta column or profile, clear the result in the same way but write in stock and out of stock with spaces. Do not reuse the underscored Google values.

    Meta rules mapping supplier codes A and N to in stock and out of stock
    The Meta configuration uses space-separated values and leaves an unknown code blank.
  4. Inspect A, N, unknown X, and whitespace-padded a in the preview. In the actual export, use the header required by that channel; it may simply be named availability.

Important. 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 codeGoogle MerchantMeta
Ain_stockin stock
Nout_of_stockout of stock
Xblankblank
a in_stockin stock

Checks Before Export

  • Google and Meta use separate target rules or separate profiles.
  • Unknown code X is 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, and backorder; the value must agree with the product page and checkout.
  • Google requires an appropriate availability_date with preorder and backorder.
  • Meta uses space-separated values including in stock and out of stock; do not substitute Google’s underscored format.
  • Official sources: Google Merchant availability and Meta Business SDK ProductItem.Availability.

Process data faster with Eofferix

Create a free account to automate catalogs and price lists around your own rules.

Sign up