rocket
Meet
Merchant API
- the official successor to the Content API for Shopping.
updateGet the latest
on new features, bug fixes, and release updates of the Merchant API.
point_of_sale
Learn how to manage your business and products on Google and how to get programmatic access to
data, insights, and unique capabilities at scale.
Get started with Merchant API today!
Stay organized with collections
Save and categorize content based on your preferences.
Summary
You can use inventory filters to exclude certain products from a Shopping
campaign.To exclude products from Smart Shopping Campaigns, use negative
criteria for listing groups instead.
You can create an inventory filter based on one or more values from
fields like Custom label (0-4) or Product type. When you apply an
inventory filter to a campaign, only offers that match the filter are
advertised. You can create an inventory filter in the Google Ads UI.
The steps in this section use Custom label as an example. You can also do
this with other supported feed attributes, like Product type, Brand, or
Google product category.
Filters follow AND logic. You only see results that match all of the
criteria in your filter.
Manual steps
Here's an example of the manual steps, using the attribute Custom label:
Set the product_custom_attribute.index to 0 (0-4 are
supported).
Set the product_custom_attribute.value to your desired value for the
custom label.
Set the campaign field to the resource_name of the
campaign_criterion you created in the preceding step.
Custom label values can be 1 to 100 characters in length, and there can
be up to 1,000 unique values account-wide for each custom label attribute (up to
5,000 labels total).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-03 UTC."],[[["\u003cp\u003eUse inventory filters to include or exclude specific products from Shopping campaigns, ensuring only relevant offers are advertised.\u003c/p\u003e\n"],["\u003cp\u003eFilters can be created based on attributes like Custom label, Product type, Brand, or Google product category, utilizing 'AND' logic for precise targeting.\u003c/p\u003e\n"],["\u003cp\u003eYou can manage inventory filters manually through the Google Ads UI or automatically via the Google Ads API using listing scopes.\u003c/p\u003e\n"],["\u003cp\u003eCustom labels offer flexibility, allowing up to 1,000 unique values per attribute for refined product categorization within campaigns.\u003c/p\u003e\n"],["\u003cp\u003eRefer to the provided resources for detailed instructions, examples, and further information on implementing inventory filters effectively.\u003c/p\u003e\n"]]],[],null,[]]