Free for 4 days: connect your Google Business Profile and get every Pro feature. No payment needed.
Chamko AI
Websites & tools

Merchant Center Attribute Rules: Correct Product Feed Values Without Rebuilding Your Store

Use Google Merchant Center attribute rules to transform product data safely, test draft changes and prevent catalogue-wide mistakes before reprocessing.

By Chamko Research Team Updated 8 min read

Quick answer

An ecommerce catalogue can contain thousands of products supplied by a store platform, inventory system or spreadsheet. A feed may use an internal column called stockstatus, while Merchant Center expects the availability attribute.

An ecommerce catalogue can contain thousands of products supplied by a store platform, inventory system or spreadsheet. A feed may use an internal column called stock_status, while Merchant Center expects the availability attribute. Product titles may need consistent formatting, or a brand value may be missing from one supplier's records. Editing every product manually is slow and creates a risk of inconsistent updates.

Google Merchant Center attribute rules let eligible accounts transform product data so it better matches Google's product data specification. Rules can draw from data sources, modify values and apply conditions to selected items. They are useful for controlled data preparation, but they do not make false product information acceptable. If a rule changes in_stock to out_of_stock incorrectly, it can create a catalogue-wide problem rather than solve one.

What attribute rules do

Google has renamed feed rules to attribute rules. The feature helps transform data to match product data specification requirements, resolve feed issues and help Google interpret product information.

Attribute rules can use data source values and modifications. Depending on the operation, they can set a value, replace or append content, extract information or use the latest value from an eligible source. Conditions determine which products receive a rule.

The Advanced Data Source Management add-on is required to access attribute rules. Google also requires a primary product data source to be selected before rules can be configured and tested.

When a rule is appropriate

Use an attribute rule when a repeatable transformation is needed and the source data is reliable.

Problem Possible rule approach Check before applying
Source uses a different availability field name Map source field to availability Confirm values map to supported values
One supplier omits brand Add brand from a verified source Ensure the brand is genuinely correct
Product title needs a consistent prefix Modify title conditionally Avoid keyword stuffing or misleading claims
Category-specific attributes are incomplete Apply conditions to relevant products Confirm each item belongs to the category
A source contains an unwanted suffix Remove or replace text Check variants and identifiers remain intact

Do not use a rule to invent GTINs, brand names, stock status, discounts or product characteristics. A transformation should represent a fact that the merchant can verify.

Step 1: Inspect the original product source

Before creating a rule, identify the primary data source and inspect the raw fields for a representative group of products. Include products with different brands, categories, variants and availability states.

Create a mapping sheet with:

  • Original source field.
  • Merchant Center target attribute.
  • Expected output format.
  • Example raw value.
  • Example transformed value.
  • Person responsible for verifying the field.

This is especially important when the same source field is populated by different suppliers. A value such as Y might mean available in one supplier file and discontinued in another. Do not map it until the meaning is confirmed.

Step 2: Enable Advanced Data Source Management

In Merchant Center, open Settings > Add-ons and locate the Advanced data source management add-on. Enable it if the account offers the feature and the business needs attribute rules.

Then navigate to Data sources, select the relevant product source under Product sources and open the Attribute rules tab. If the tab is missing, verify that the add-on is enabled and that the correct primary source is selected.

Google's interface may change, so use the current Merchant Center help page if the navigation differs. Do not confuse attribute rules with supplemental data sources: the latter provide additional values, while rules define how target attributes are assembled or modified.

Step 3: Choose the target attribute

Select the attribute you want to change, such as title, availability, brand, description or another supported field. Start with one attribute and a narrowly defined objective.

For example, a store may receive the stock value available from its inventory system but need to map it to Google's accepted availability vocabulary. Before building the rule, verify that the source value truly means the item can be purchased and fulfilled. A product that is listed on the website but cannot be ordered should not be mapped to in-stock merely to clear a warning.

Step 4: Build the rule using source data and conditions

Attribute rules can combine data source operations and modifications. A condition can restrict the rule to products that meet a criterion. For example, a title change may apply only when the brand field equals a specific verified brand.

Google documents conditions using operators such as contains or does not equal, with AND and OR logic available. Multiple rules on the same attribute are processed in a cascading sequence, so order matters.

Illustrative logic:

  • If brand equals Acme Home, append a verified product line to the title.
  • If stock_status equals available, set availability to the corresponding accepted value.
  • If stock_status equals sold_out, map it to the appropriate unavailable state.

The examples are not universal mappings. Confirm source meanings and accepted attribute values for the actual product category.

Step 5: Save as draft and preview affected products

Do not immediately apply a new rule across the catalogue. Save it as a draft first. Merchant Center provides a preview that can show the active and draft values for selected product IDs.

Test a cross-section:

  • A normal product.
  • A product with missing source data.
  • A product with a different brand.
  • A variant.
  • An item that should not match the condition.
  • A product with punctuation or unusual text.
  • An item that is currently disapproved for a related attribute.

Check both expected changes and unintended side effects. A title rule may accidentally duplicate a brand name. An availability rule may map a blank source field to an incorrect value. A category condition may catch products that share a word but are not in that category.

Step 6: Run the rules test before applying

Google's testing workflow allows draft rules to be tested before they are applied. The documented process includes selecting Test rules, waiting for the report and reviewing the results. Google says the test can take around 10 to 20 minutes.

Inspect the output for:

  • Products with unexpected values.
  • New item issues.
  • Required attributes left blank.
  • Rules that did not match intended products.
  • Rules that match too many items.
  • Changes to product IDs or other critical attributes.

If the result is wrong, edit the draft and test again. Applying a rule without reviewing the test report defeats the purpose of having a preview process.

Step 7: Apply changes and reprocess the source

When the draft behaves as intended, apply the changes. Google notes that after applying attribute rules, the data source needs to be reprocessed. The new rules are applied to subsequent uploads until changed.

After reprocessing, review the latest update and product issue reports. Do not stop at a green upload status: inspect actual product values in Merchant Center and compare them with the website and inventory source.

Record:

  • Rule name and target attribute.
  • Conditions and operation order.
  • Products included in the test.
  • Test date and reviewer.
  • Date applied.
  • Source reprocessing result.
  • Rollback or correction procedure.

Step 8: Protect high-risk attributes

Some attributes have greater commercial consequences than others. Incorrect price, availability, condition, shipping or product identifiers can misrepresent the offer and create customer frustration.

Use a second-person review for changes to:

  • Price and sale price.
  • Availability.
  • Brand and product identifiers.
  • Condition.
  • Shipping-related values.
  • Variant attributes such as size and colour.

Do not apply a global rule to a mixed catalogue unless the underlying fact is genuinely universal. A single static value may be correct for one product family and false for another.

Example: an Indian apparel merchant normalising supplier titles

A retailer imports products from three apparel suppliers. One supplier prefixes every title with a brand, another includes size in the title, and the third uses inconsistent separators. The merchant wants a more consistent title format.

The team first maps supplier fields and checks a sample of products. It creates a conditional rule for one supplier's verified brand field, saves the rule as a draft and previews products from several categories. The test reveals that one supplier already includes the brand in the title, so the rule is narrowed to avoid duplication. Only after reviewing the test results does the team apply the rule and reprocess the source.

Common mistakes

Using rules to invent product facts. A transformation must be supported by the merchant's source data.

Applying a global rule to a mixed catalogue. Use conditions when categories or suppliers differ.

Skipping draft previews. Inspect actual product IDs before applying a change.

Ignoring cascading order. Earlier rules can affect the values processed by later rules.

Changing identifiers casually. Product IDs and identifiers are central to matching and catalogue continuity.

Assuming rule changes immediately update every product. Reprocess the data source and inspect the latest results.

Frequently asked questions

What are attribute rules in Merchant Center?

They are rules used to transform product data so it matches Google's product data specification and can be interpreted correctly.

Are feed rules and attribute rules the same?

Google renamed feed rules to attribute rules. The current Merchant Center interface and documentation use the newer terminology.

Do I need an add-on to use attribute rules?

Yes. Google says Advanced Data Source Management must be enabled to access the attribute rules feature.

Can attribute rules add products to Merchant Center?

No. A supplemental source cannot add or remove products, and attribute rules are used to transform product data rather than create a standalone catalogue.

Can I test rules before applying them?

Yes. Save the rules as a draft, use Test rules and inspect the generated results before applying changes.

Why does rule order matter?

Rules for an attribute can be processed in a cascading sequence. Earlier operations can affect the value used by later rules.

Do I need to reprocess the product source after applying rules?

Google's documentation says the data source needs to be reprocessed after applying changes so the new rules appear in the latest product upload.

Conclusion

Merchant Center attribute rules can reduce repetitive feed editing, but they should be treated as controlled data transformations. Begin with a reliable source mapping, target one attribute at a time, use conditions for mixed catalogues and inspect draft previews before applying anything. Reprocess the source and compare the final product data with the store's actual offer.

For an Indian retailer managing supplier feeds, assign a catalogue owner to approve high-impact fields such as price, availability and identifiers. A rule that saves hours is valuable only when the transformed values remain accurate for every affected product.

References

Keep reading

Websites & tools

A Store-Code Reconciliation Workflow for Local Inventory Feeds

Google's Merchant Center guidance says the storecode value is case-sensitive and must match the store codes supplied for the relevant locations. Its local inventory…

Industry guides

Google Local Inventory for Furniture Stores in India: Promote Showroom Display Models with ‘On Display in Store’

Learn how Indian furniture showrooms can use Google Merchant Center local inventory and ‘On display in store’ for made-to-order sofas, beds and other display models, with accurate feeds, delivery policies and store-level availability.

Websites & tools

Merchant Center product_detail: Add Useful Product Specifications

Practical guidance for google merchant center product_detail attribute, with checks, examples, and troubleshooting for Indian businesses.

Websites & tools

Merchant Center Product Condition in India: List Used and Refurbished Items Accurately

A product-feed guide to Google's new, used and refurbished condition values, evidence checks, landing-page consistency and common disapproval causes.

Websites & tools

Merchant Center Product Highlights: Write Useful Product Feed Bullets

Learn how to use Google's product_highlight attribute to communicate product benefits accurately in Merchant Center feeds.

Websites & tools

Google Merchant Center Product Highlights: Write Useful Feed Bullets for Indian Shoppers

Learn how to use the product_highlight attribute, create factual product bullets, map catalogue data and avoid repetitive or promotional feed text.