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

Configure Product Filter Rules for the Google Product Feed

Add include and exclude rules in the Product Filter rule builder to control which products from your B2C Commerce catalog sync to Google.

Before you configure product filter rules, set up the Google integration for your site:

To understand how include and exclude rules combine, see Product Filter Rules for the Google Product Feed.

By default, the rule builder includes one include rule with two preloaded conditions—Online = true and Searchable = true—that match the original feed eligibility behavior. Modify, remove, or add to these defaults to control which products sync to Google.

Each site maintains its own independent filter configuration.

  1. Click App Launcher App Launcher, and then select Merchant Tools | Site | AI & Social Integrations | Google.
  2. Click Catalog.
  3. Locate the Product Filter section.
    The Product Filter section shows the active include and exclude rules. New installations show one include rule with the default Online = true and Searchable = true conditions.
  4. (Optional) Modify any existing include rule.
    1. To remove a condition, click the delete icon next to it.
      For example, to include offline products, remove the Online = true condition.
    2. To change a condition's value, edit the operator or value field.
  5. (Optional) To add an include rule, click Add Include Rule and configure the first condition.
    A new rule group appears with an empty condition row.
    1. Select a filter type from the dropdown.
      Choose from product ID, brand, category, price, inventory, online, searchable, or custom attribute. For the full list of filter types, see Product Filter Rules for the Google Product Feed.
    2. Select an operator and enter a value.
      Operators vary by filter type. For example, brand supports equals and not equals; price and inventory support comparisons such as greater than or equal to.
  6. (Optional) To require a product to match more than one condition, add more conditions to the same rule group.

    Conditions within a rule group use AND logic—a product matches the group only when all conditions are true.

    Example: To include only Nike products priced at $50.00 or more, add a Brand condition with the value Nike, and then add a Price condition with the operator and the value 50.00.

  7. (Optional) To include products that satisfy any of multiple independent conditions, add another include rule.

    Rule groups use OR logic—a product matching any group is included.

    Example: To include both Men's Products and Women's Products, click Add Include Rule and add a custom attribute condition c_groupName = Men's Products. Click Add Include Rule again and add a second condition c_groupName = Women's Products.

  8. (Optional) To remove products that match specific criteria, click Add Exclude Rule and configure the exclude conditions.

    Exclude rules override include rules. A product matching any exclude rule is removed from the feed, even if it satisfies an include rule.

    Example: To exclude clearance items, add an exclude rule with the custom attribute condition c_onSale = true.

  9. Click Save.

The system saves your filter rules. The next daily feed sync uses these rules to determine which products to include in the Google product feed.

To control where products that pass the filter rules appear in Google, configure the included_destination, excluded_destination, and pause field mappings. See Map Product Fields for Google.

 
Loading
Salesforce Help | Article