Loading
Salesforce Enforces New Security Requirements in Summer 2026Read More
Get Started with B2C Commerce
Product Filter Rules for the Google Product Feed

Product Filter Rules for the Google Product Feed

Product filter rules control which products from your B2C Commerce catalog sync to Google. Configure include and exclude rules to broaden or narrow the default ruleset based on how your catalog is organized.

Use product filter rules to precisely control which products appear in the Google product feed. Configure rules from the Google integration page in Business Manager to reflect how your catalog is organized—using standard product flags, custom attributes, brands, categories, prices, or inventory levels.

Default Behavior

By default, the rule builder includes two preloaded conditions in a single include rule:

  • Online = true
  • Searchable = true

These conditions match the original feed eligibility behavior: only products that are online and searchable appear in the feed. Keep, modify, or remove these defaults to fit your catalog. For example, if you manage catalog visibility through custom attributes rather than the standard flags, replace the defaults with rules that reflect how your catalog works.

Each site maintains its own independent filter configuration.

How Include and Exclude Rules Work

The rule builder supports two rule types:

  • Include rules: A product appears in the feed only if it matches at least one include rule.
  • Exclude rules: A product that matches any exclude rule is removed from the feed, even if it satisfies an include rule. Exclusions always take precedence.

Within a single rule group, conditions use AND logic—a product matches the group only when all conditions are true. Across multiple rule groups, conditions use OR logic—a product that qualifies under any group is included.

For step-by-step instructions, see Configure Product Filter Rules for the Google Product Feed.

Filter Types

The rule builder supports the following filter types:

Filter Matches Products By Example
Product ID Specific product IDs mens-shirt-001, mens-shirt-002
Brand Brand attribute value Nike, Adidas
Category Category assignment, optionally including subcategories mens-clothing
Price Current price (supports ranges and comparisons) Price ≥ 50.00
Inventory (ATS) Available-to-sell quantity ATS ≥ 10
Online Whether the product is set to online true or false
Searchable Whether the product is set to searchable true or false
Custom attribute Any site-defined product attribute c_groupName = Men's Products

Common Scenarios

Use the following configurations as a starting point for common goals:

Goal Configuration
Sync only a specific category Include rule: Category filter
Exclude clearance items Exclude rule: Custom attribute c_onSale = true
Restrict to specific brands Include rule: Brand filter listing allowed brands
Sync a custom product group Include rule: Custom attribute c_groupName = your group name

Filter Rules and Destination Visibility

Product filter rules control which products are included in the feed. A separate set of fields—included_destination, excluded_destination, and pause—controls where products that pass the filter rules appear in Google (for example, Shopping ads versus free listings). The two layers work together:

  • Filter rules act as the first gate: products that don't match the include rules (or that match an exclude rule) never appear in the feed.
  • The destination fields act as the second gate: among products that pass the filter rules, these fields determine which Google destinations surface each product.

To configure destination fields, map them in the Field Mapping section. See Map Product Fields for Google.

Master Products, Variation Groups, and Product Sets

The feed automatically excludes master products, variation groups, and product sets, exporting only individual variant products (SKUs) and standalone products. Variants inherit attribute data from their variation group or master product, so including masters, variation groups, or product sets in the feed produces non-sellable entries that Google might reject or deprioritize.

If you currently have a large feed, you might see a reduction in total product count after the next daily sync. This reduction is intentional.

 
Loading
Salesforce Help | Article