The current sale price for products with a price optimized using Google
Automated Discounts (GAD). Absent if the information about the GAD_price of
the product is not available.
The current sale price for products with a price optimized using Google
Automated Discounts (GAD). Absent if the information about the GAD_price of
the product is not available.
.google.shopping.type.Price gad_price = 3;
Returns
Type
Description
com.google.shopping.type.PriceOrBuilder
getPriorPrice()
publicabstractPricegetPriorPrice()
The price prior to the application of the first price reduction.
Absent if the information about the prior price of the product is not
available.
The current sale price for products with a price optimized using Google
Automated Discounts (GAD). Absent if the information about the GAD_price of
the product is not available.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface AutomatedDiscountsOrBuilder (1.0.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.0.0 (latest)](/java/docs/reference/google-shopping-merchant-products/latest/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.26.0](/java/docs/reference/google-shopping-merchant-products/0.26.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.24.0](/java/docs/reference/google-shopping-merchant-products/0.24.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.23.0](/java/docs/reference/google-shopping-merchant-products/0.23.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.20.0](/java/docs/reference/google-shopping-merchant-products/0.20.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.19.0](/java/docs/reference/google-shopping-merchant-products/0.19.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.18.0](/java/docs/reference/google-shopping-merchant-products/0.18.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.16.0](/java/docs/reference/google-shopping-merchant-products/0.16.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.15.0](/java/docs/reference/google-shopping-merchant-products/0.15.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.14.0](/java/docs/reference/google-shopping-merchant-products/0.14.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.13.0](/java/docs/reference/google-shopping-merchant-products/0.13.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.12.0](/java/docs/reference/google-shopping-merchant-products/0.12.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.11.0](/java/docs/reference/google-shopping-merchant-products/0.11.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.10.0](/java/docs/reference/google-shopping-merchant-products/0.10.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.9.0](/java/docs/reference/google-shopping-merchant-products/0.9.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.8.0](/java/docs/reference/google-shopping-merchant-products/0.8.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.7.0](/java/docs/reference/google-shopping-merchant-products/0.7.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.5.0](/java/docs/reference/google-shopping-merchant-products/0.5.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.4.0](/java/docs/reference/google-shopping-merchant-products/0.4.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.3.0](/java/docs/reference/google-shopping-merchant-products/0.3.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.2.0](/java/docs/reference/google-shopping-merchant-products/0.2.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder)\n- [0.1.0](/java/docs/reference/google-shopping-merchant-products/0.1.0/com.google.shopping.merchant.products.v1.AutomatedDiscountsOrBuilder) \n\n public interface AutomatedDiscountsOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getGadPrice()\n\n public abstract Price getGadPrice()\n\nThe current sale price for products with a price optimized using Google\nAutomated Discounts (GAD). Absent if the information about the GAD_price of\nthe product is not available.\n\n`.google.shopping.type.Price gad_price = 3;`\n\n### getGadPriceOrBuilder()\n\n public abstract PriceOrBuilder getGadPriceOrBuilder()\n\nThe current sale price for products with a price optimized using Google\nAutomated Discounts (GAD). Absent if the information about the GAD_price of\nthe product is not available.\n\n`.google.shopping.type.Price gad_price = 3;`\n\n### getPriorPrice()\n\n public abstract Price getPriorPrice()\n\nThe price prior to the application of the first price reduction.\nAbsent if the information about the prior price of the product is not\navailable.\n\n`.google.shopping.type.Price prior_price = 1;`\n\n### getPriorPriceOrBuilder()\n\n public abstract PriceOrBuilder getPriorPriceOrBuilder()\n\nThe price prior to the application of the first price reduction.\nAbsent if the information about the prior price of the product is not\navailable.\n\n`.google.shopping.type.Price prior_price = 1;`\n\n### getPriorPriceProgressive()\n\n public abstract Price getPriorPriceProgressive()\n\nThe price prior to the application of consecutive price reductions.\nAbsent if the information about the prior price of the product is not\navailable.\n\n`.google.shopping.type.Price prior_price_progressive = 2;`\n\n### getPriorPriceProgressiveOrBuilder()\n\n public abstract PriceOrBuilder getPriorPriceProgressiveOrBuilder()\n\nThe price prior to the application of consecutive price reductions.\nAbsent if the information about the prior price of the product is not\navailable.\n\n`.google.shopping.type.Price prior_price_progressive = 2;`\n\n### hasGadPrice()\n\n public abstract boolean hasGadPrice()\n\nThe current sale price for products with a price optimized using Google\nAutomated Discounts (GAD). Absent if the information about the GAD_price of\nthe product is not available.\n\n`.google.shopping.type.Price gad_price = 3;`\n\n### hasPriorPrice()\n\n public abstract boolean hasPriorPrice()\n\nThe price prior to the application of the first price reduction.\nAbsent if the information about the prior price of the product is not\navailable.\n\n`.google.shopping.type.Price prior_price = 1;`\n\n### hasPriorPriceProgressive()\n\n public abstract boolean hasPriorPriceProgressive()\n\nThe price prior to the application of consecutive price reductions.\nAbsent if the information about the prior price of the product is not\navailable.\n\n`.google.shopping.type.Price prior_price_progressive = 2;`"]]