expiration_date [expiration_date]: Definition

Use the expiration_date [expiry_date] attribute to cause a product to stop showing ads 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 ads for that product are no longer shown. 

Format

Follow these formatting guidelines to make sure that we understand the data that you're submitting. 

Type

Date only, ISO 8601 compliant

(YYYY-MM-DD)

Limits 10 characters
Repeated field No
 
File format Example value
Text feeds

2016-02-24

XML feeds <g:expiration_date>2016-02-24</g:expiration_date>


For format API information, please see Content API for Shopping.

Guidelines

Follow these guidelines to make sure that you submit high-quality data for your products and get the best performance from your ads.

Minimum requirements

These are the requirements that you'll need to meet to show ads for your product. If you don't follow these requirements, we'll disapprove your product and let you know on the Diagnostics page of 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.

Best practices

These are best practices that can help you go beyond the basic requirements to optimise your product data for performance. 

  • Specify when ads should stop being shown for a product. If you're selling a product for a brief period, use this attribute to stop showing ads on a specific day. 

Examples

Product is available for pre-orders with a specific release date

An example ad showing how you can select different sizes for a product

Product Lederhosen
title [title] Lederhosen – Brown – L
expiration_date [expiration_date] 2016-12-25

Was this helpful?
How can we improve it?