Product Catalog Feed for WooCommerce / Product & Category Data / Google Automated Discounts & Cost of Goods

Google Automated Discounts & Cost of Goods

Last updated: February 12, 2026

The Google Automated Discounts feature allows Google Merchant Center to automatically adjust your product prices to maximize gross profit. By providing the Cost of Goods Sold (COGS) and a minimum price floor, you enable Google to calculate dynamic discounts.

For this feature to work, you need the WooCommerce Smart Prices plugin to output the discounted prices generated by Google!

Prerequisites

  • Supported Feed: This feature is available exclusively for Google Merchant feeds.
  • Cost of Goods Plugin: You must have one of the following plugins installed and active:
    • PixelYourSite Cost of Goods (Recommended)
    • WooCommerce Cost of Goods
  • Global Setting: Enable “Enable [cost_of_goods_sold] field” in the plugin Global Settings.
  • Product IDs: Your Google Tag must use the default product IDs for WooCommerce events. Ensure your Product ID setting is configured to use ID with empty Prefix and Postfix in the ID settings section.

Configuration

Cost of Goods Sold

Enable the [cost_of_goods_sold] attribute in the Global Settings. This is mandatory; the [auto_pricing_min_price] attribute will not be included in the feed unless COGS is also present.

Auto Pricing Min Price

The [auto_pricing_min_price] attribute sets the lowest price you are willing to accept. The plugin determines this value based on the following hierarchy (stopping at the first value found):

  1. Variation: Custom value set on the specific variation options.
  2. Product: Custom value set on the product edit page.
  3. Category: Custom value set in the WooCommerce Category options.
  4. Global: A global percentage defined in the Global Settings.

Category Logic: If a product belongs to multiple categories with conflicting auto_pricing_min_price values, you can configure the plugin to use either the Max or Min value.