How to exclude out-of-stock products from your product feed
Learn how to filter your catalog without deleting products from your store or sending inconsistent data to ad channels.
Julia Villegas

To exclude out-of-stock products from your feed, you do not need to delete them from your store. It means deciding which products should or should not appear in the product feed you send to advertising channels. If your catalog changes often, filtering by availability, margin, or minimum stock helps you avoid promoting inventory that cannot be fulfilled or is not worth pushing.
What it means to exclude products from a feed
A product feed is a file or URL that gives an advertising or commerce platform the information it needs to understand your catalog: product ID, title, description, product link, image link, price, availability, brand, category, and other attributes depending on the channel.
Google’s product data specification explains the core principle clearly: product data should describe the actual product and match what shoppers find on your landing page. In practice, that means your feed should not say a product is available if the store page says it is sold out, and it should not send a price that differs from the product page.
When we talk about excluding products, we are not talking about removing them from Shopify, BigCommerce, Tiendanube, your ERP, or your master catalog. We are talking about creating a filtered version of your catalog for a specific use: a Google Shopping feed, a Meta catalog, a prospecting campaign, a clearance campaign, or an always-on product set.
| Action | What it does | When to use it |
|---|---|---|
| Delete from the store | Removes or hides the product from your ecommerce site | When the item should no longer be sold or shown |
| Mark as out of stock | Keeps the product page but shows no availability | When you expect replenishment or want to keep the URL live |
| Exclude from the feed | Stops sending the product to a channel or campaign | When you do not want to spend media budget on that item |
| Create a filtered product set | Groups products that match defined rules | When you need campaigns by stock, margin, category, or season |
For beginners, think of the feed as a guest list. Your store can contain every product you sell or have sold; each ad channel receives only the products that meet the conditions you define.
Why exclude out-of-stock or low-margin products
The most obvious reason is to avoid sending traffic to products that cannot be purchased. If someone sees an ad, clicks, and lands on an out-of-stock product page, you have paid for a visit with a poor chance of converting. That can also create a frustrating experience for the shopper.
But stock is not the only reason to filter a feed. You may also want to exclude low-margin products. For example, imagine you sell home fitness accessories. Some products may be popular and inexpensive, but after discounts, shipping, handling, returns, and advertising cost, they may contribute very little profit. If those products receive the same campaign budget as higher-margin items, your catalog ads can end up pushing sales you did not really want to prioritize.
Common reasons to exclude products include:
- Products that are out of stock.
- Items with very low remaining stock.
- Products with incorrect or unreviewed prices.
- Items without a valid main image.
- Duplicated or poorly grouped variants.
- Categories that should not be promoted in a specific campaign.
- Seasonal products outside their selling window.
- Products restricted by country, age, shipping rules, or channel policy.
The important point is that exclusion should be based on reliable data. If your stock field is outdated, your rule may exclude the wrong items. If your margin field does not exist, you should not invent it. Before writing rules, you need to know which fields you have, what they mean, and whether they match the store.
Exclude out-of-stock products: data to check first
Before you exclude out-of-stock products, review the fields that will support that decision. A clean rule depends on clean inputs.
Product ID
The ID should be stable. If it changes every time the feed is exported, platforms may struggle to recognize the same product over time.Availability
This field may appear as “in stock”, “out of stock”, “preorder”, or another value depending on the source and destination channel.Stock quantity
This is not always available, but it lets you create thresholds. For example, you may decide to exclude products with fewer than three units available.Price
The price should match the store and use the expected currency and format for the destination channel.Cost or margin
If you want to filter by margin, you need a reliable cost, margin, or commercial-priority field. If it is missing, fix the data source first or use another criterion.Product link
The URL should lead to a valid product page where the shopper can buy or view the item.Image link
The image should represent the advertised product and meet the channel’s requirements.
Google’s product data documentation also notes that required attributes vary depending on the product type and market. That matters because a feed that works for one destination may still be incomplete for another. A simple apparel feed, for instance, may need different attributes than a homeware or electronics feed.
It also helps to separate two concepts: availability and available quantity. Availability is the product’s selling status. Quantity is the number of units left. A product can be technically available with only one unit in stock. You may want to keep that product live in the store, but exclude it from paid campaigns if it sells out quickly.
Example: a fictional running store
Let’s use a fictional store called North Trail Running. It sells 4,000 products across running shoes, technical apparel, hydration gear, and accessories. The marketing team wants to launch catalog ads, but they find three recurring problems:
- Sold-out products still appear in the advertising feed.
- Some shoe sizes have only one or two units left.
- A few low-priced accessories generate sales but leave very little margin after shipping and discounts.
The goal is not to clean the whole store or delete products. The goal is to create an advertising feed that includes only products worth promoting.
A first version of the rule logic could be:
- Include products where availability is “in stock”.
- Exclude products where stock is lower than 3.
- Exclude products where margin is below the business threshold.
- Keep only products with a valid image and product link.
The same store could then create a different set for clearance campaigns. That set might include available products from previous seasons with an active discount. In other words, exclusion does not always mean “this product is bad”. It often means “this product does not belong in this campaign”.
How to create a product set that filters out unavailable and low-margin items
A product set is a subset of your catalog defined by rules. Instead of selecting products one by one, you describe the conditions products must meet. This becomes much easier to manage when your catalog contains hundreds, thousands, or tens of thousands of SKUs.
Use this process as a starting point:
Define the purpose of the set
Do not create filters without a goal. A useful goal might be: “products available and profitable enough for always-on catalog campaigns”.Choose the required fields
For stock decisions, you need availability and, if possible, quantity. For margin decisions, you need cost, calculated margin, or a trusted commercial label.Normalize field values
One system may use “available”, another may use “in stock”, and another may use “1”. Translate those values into a consistent logic before filtering.Create inclusion and exclusion rules
Combine explicit conditions: include available products, exclude low-stock products, exclude low-margin products, and exclude critical data errors.Review a sample manually
Check several included and excluded products by hand. A total product count is not enough; you need to know whether the rule made the right decisions.Publish the correct feed
Use the filtered feed URL in the relevant channel. Avoid accidentally using the full catalog if the campaign is supposed to target only a curated product set.
A common mistake is making rules too aggressive. For example, excluding every product with an empty margin field may remove profitable items if the margin data simply failed to import. In that case, fix the data first or create a more conservative temporary rule.
How to do it with AdMotion
With AdMotion Feed Manager, you can connect a store or product file, map fields, normalize data with rules, create filtered sets, and publish feeds through URLs. The idea is to work on the advertising version of the catalog without changing the original store catalog.
A practical workflow looks like this:
Connect the catalog
Start from a supported store connection or an existing file or feed. Bring in the core fields you need: ID, title, price, availability, stock quantity, image, product link, and, if available, cost or margin.Map the fields
Review which source field corresponds to each product attribute. For example,inventory_quantitymay be your stock field, whileavailabilitymay come from a different system. Mapping matters because a rule applied to the wrong column can filter the wrong products.Normalize with rules
If stock arrives as a number, you can use it for thresholds. If availability arrives with different labels, you can standardize them before filtering. AdMotion supports rules and can also help write rules from a natural-language description, with the result reviewed in the editor before applying it.Create a filtered set
Define a set for “promotable products” using conditions such as available status, stock equal to or above your minimum, and margin above your business threshold.Review the feed for the destination channel
Before using it, check that the required attributes are present and that the feed fits the destination specification. If you publish to several platforms, Export Channels can help generate feeds for channels such as Meta, Google Shopping, TikTok, Pinterest, Snapchat, Criteo, Microsoft Advertising, Thribee, ChatGPT, or a custom destination, with analysis against the channel specification.Copy the feed URL into the ad channel
The feed is published via a URL generated at each download. One important limitation: your catalog import frequency and the frequency with which each ad channel reads the feed are not the same thing. You should not expect or promise instant synchronization inside the advertising platform.
If your ads also need to show product-specific information such as price, offer, or stock status, you can combine a clean feed with the Templates Editor. It generates one image per product using catalog fields such as photo, title, price, and brand, and updates the image when data such as price or stock changes within the AdMotion workflow.
Useful rules for avoiding problematic products
The examples below are starting points. Adjust field names, thresholds, and logic to match your real catalog and business model.
| Goal | Example rule | Risk if you do not review it |
|---|---|---|
| Avoid unavailable items | Exclude if availability = out of stock | The value may be written in several different ways |
| Avoid fast stockouts | Exclude if stock quantity < 3 | The stock field may be outdated in the source system |
| Protect margin | Exclude if margin is below your threshold | Margin may be missing for some products |
| Avoid broken landing pages | Exclude if product link is empty or invalid | Good products may be excluded because of a temporary URL issue |
| Avoid weak creatives | Exclude if main image is empty | Missing images may affect only some variants |
| Control campaign focus | Include only category = running shoes | Category data may be inconsistent or too broad |
Not every rule needs to be permanent. You can keep stable rules for critical feed quality issues and use temporary rules for seasonal campaigns, promotions, clearance, or holiday gifting. It is also worth documenting why each rule exists. Three months later, “exclude low margin” will still make sense; “test rule 4” probably will not.
Final check before sending the feed
Before copying a product feed URL into Meta, Google, TikTok, Pinterest, or another channel, do a practical review:
- Open several included products and confirm they can be purchased.
- Open several excluded products and confirm the exclusion makes sense.
- Check that the feed price matches the store price.
- Confirm that product links lead to the correct pages.
- Verify that each main image represents the right product.
- Make sure product IDs stay stable between exports.
- Check that the final feed contains the attributes required by the destination channel.
- Save a short note explaining the exclusion logic and review date.
If you work with ecommerce catalog campaigns, it can also help to review visual examples in the the platform ecommerce examples gallery. That does not replace technical feed validation, but it can help you spot products that may need a different template or campaign treatment.
What to do this week
Audit 20 products manually
Pick available products, out-of-stock products, low-stock products, and products with different margins. Check whether the feed data matches the store.Define your minimum promotion criteria
Decide what “promotable” means for your business: minimum stock, minimum margin, valid image, correct product link, and included categories.Create a test product set
Do not replace your main feed immediately. Create a filtered version first and compare included and excluded products.Review feed errors before connecting campaigns
Make sure the feed has stable IDs, useful titles, coherent prices, valid links, and the attributes required by the destination channel.Document the logic
Write down the rules, thresholds, and who approved them. That makes it easier to adjust the set when seasonality, stock, or margin strategy changes.
Excluding out-of-stock or low-margin products is catalog management, not a last-minute media buying trick. If your data is clean and your product sets are well defined, each channel receives a more useful version of your inventory.
You can start by reviewing your catalog with Feed Manager and creating a filtered feed for your campaigns without deleting products from your store.
Frequently asked questions
Does excluding a product from the feed delete it from my store?
No. Excluding a product from a feed only means you stop sending it to a specific channel or campaign. The product can still exist in your store, remain visible as out of stock, or be kept for future replenishment. It is a way to control paid promotion without necessarily changing your public catalog.
Should I exclude every product with low stock?
It depends on your operations. If a product with one unit left sells out quickly and the ad channel reads the feed only periodically, excluding it from paid campaigns may be safer. If it is a high-value item and stock is closely managed, you may decide to keep it. Define a threshold that fits your business.
Can I filter by margin if my feed does not include margin data?
You should not invent margin data. To filter by margin, you need a reliable cost, margin, or commercial-priority field from a trusted source. If that field is missing, add it first or use alternative criteria such as category, price, discount, or internal priority until real margin data is available.
Sources
- Feed Manager de AdMotion — AdMotion
- Especificación de datos de producto de Google — Google
Related posts

TikTok Smart+: how to prepare your catalog, control and creatives
TikTok Smart+ can combine campaign automation with catalog-based ads, but performance still depends on product data, stock, landing pages, creative assets and measurement. Here is what to prepare before you switch it on.

Pinterest gift catalog: how to prepare it for Christmas
Learn how to prepare a Pinterest gift catalog for Christmas: what product data to check, how to build product groups and how to keep stock, images and links from hurting your shopping ads.

How to create a TikTok product feed step by step
Creating a TikTok product feed is not the same as copying your Google or Meta catalog. Learn how to adapt IDs, prices, availability, images and video to TikTok’s feed requirements.