Use the warranty [warranty] attribute to indicate the warranty information of a vehicle. If both the duration and mileage information for a vehicle are available, the warranty becomes “or”. For example, “36 months or 30,000 km”, whichever comes first.
On this page
When to use
Optional and only available in Japan for Vehicle ads.
When not specified, equivalent to “No warranty”.
- Duration: Number (in months)
- Mileage: Number (in kilometers)
Format
Follow these formatting guidelines to make sure Google understands the data you're submitting. Learn when and how to submit your product data.
| Formatting specifications | |
| Technical name | warranty |
| Type | Unicode characters (Recommended: ASCII only) |
| Sub-attributes |
|
| Repeated field | No |
| Schema.org property (What’s this?) |
No |
File format examples
To ensure your attribute is recognized correctly, use the formatting specific to your data source type.
| Data source format | Examples |
|---|---|
| Text data sources |
Format the name by including which sub-attributes you’re submitting. Include For example, to submit the duration or mileage of the warranty (or both), submit in the attribute header and the value including the colon (:) :
|
| XML data sources |
|
| Merchant API | To format your data for the Merchant API, check the Merchant API resource. |
Best practice
This best practice can help you go beyond the basic requirements to optimize your product data for performance.
- Give the accurate warranty coverage of the vehicle.
Examples
Example of warranty duration with unlimited mileage
The following example illustrates a warranty for 3 years (36 months) with unlimited mileage.
| Name | warranty(duration:mileage) |
| Value | 36:30000 km |