Use the expiration date
[expiration_date] attribute to cause a product to stop showing on a specific date. For example, you might want to do this for limited stock or seasonal products.
When to use
- Optional for each product
If you want to set an earlier expiration date than the 30-day default, use the expiration date
[expiration_date] attribute to submit that date. Your product data expires after 30 days, because it's no longer fresh, and your product stops showing.
Follow these formatting guidelines to make sure Google understands the data you're submitting.
Date, time, and timezone, ISO 8601 compliant
|File format||Example value|
To format your data for Content API, see the Content API for Shopping.
These are the requirements you'll need to meet to show your product. If you don't follow these requirements, we'll disapprove your product and let you know in the Diagnostics page in your Merchant Center account.
- There are no minimum requirements for this attribute. Keep in mind that you still need to follow the formatting guidelines or the information you submit can't be used.
These best practices can help you go beyond the basic requirements to optimize your product data for performance.
- Specify a time and timezone in addition to the date. If you don't, the default time is 12 AM, midnight, in the UTC timezone.
- Specify when your product should stop showing. If you’re selling a product for a brief period of time, use this attribute to stop showing your product on a specific day.
|Product data for brown lederhosen|
||Lederhosen - brown - L|