Overview
This article outlines Content API specifications and guidelines for vehicle ads.
When you have set up your Merchant Center account , you can upload your feeds using the Google Content API .
API specifications
Account management
There are several Content API endpoints that can be used in conjunction with Merchant Center advanced accounts :
-
accounts.authinfowill return a list of accounts or sub-accounts of the current authenticated user. -
accounts.claimwebsitecan be used to claim websites of Merchant Center sub-accounts.
For a full list of endpoints, refer to the Account REST Resource page.
Uploading offers
Important notes:
- For a full list of vehicle ads fields, refer to the vehicle ads feed specifications . In addition, the Content API Reference contains more information on API usage.
- Most standard fields are listed in the
products.insertmethod (products.custombatchcan be used for bulk updates). - The table below lists vehicle ads-specific attributes that need to be added using the
customAttributesfield.
[VIN]
Required
Vehicle Identification Number, unique identifier for each car
[store_code]
Required
Unique alphanumeric identifier for each dealership
Note:The store code attribute is case-sensitive and must match the store codes submitted in your Business Profile.
String
This is a repeated field which can take multiple values.
[certified_pre-owned]
Optional
Car is OEM certified pre-owned
[model]
Required
Model of the car, without trim specifics such as LX, EX, and others
[trim]
Optional
Trim of the model (for example, S, SV, SL)
[year]
Required
Model year
[mileage]
Required
Number of miles on the vehicle.
Make sure to include the Unit (KM / Miles)
String of Integer + Unit (KM / Miles)
Example: 2333 Miles
[body_style]
Optional
Examples:Sedan, SUV, Crossover
Supported values:
-
convertible -
coupe -
crossover -
full size van -
hatchback -
minivan -
sedan -
station wagon -
suv -
truck
[engine]
Optional
Examples:Gasoline, Diesel, Electric, Hybrid
Supported values:
-
gasoline -
diesel -
electric -
hybrid
Vehicle MSRP [vehicle_msrp]
Required for new cars
Optional for used cars
MSRP (Manufacturer Suggested Retail Price) for the vehicle in its current configuration.
If the MSRP is not the same as the selling price (above), it should be displayed separately on your VDP landing page as well and labeled as MSRP.
Vehicle all-in price [vehicle_all_in_price]
Required for new cars in some countries
Optional for used cars
The all-in advertised price includes costs for the following – any accessories attached to the vehicle, environmental levies, extra warranty, fuel, freight, pre-delivery inspection (PDI), dealer fees for handling licensing, provincial regulatory fees, miscellaneous dealer charges for security etching and nitrogen tire fill, and factory-to-customer or dealer-to-customer discounts or incentives.
This price must appear on the vehicle description page as well.
Note:The all-in advertised price doesn’t include sales tax, licensing (the cost of the plate and registration), any trade-in, or costs associated with vehicle financing.
Learn more about the applicability of the price attribute .
Vehicle option [vehicle_option]
Optional
(Required for free vehicle ads)
List of installed options, using comma separators.
(e.g. Leatherette Seats, Rear View Camera, Navigation System, Front Seat Heaters, A/C, Sunroof, Bluetooth)
The maximum number of values supported is 200. Each value may contain up to 256 characters.
This is a repeated field which can take multiple values.
Vehicle fulfillment [vehicle_fulfillment]
Required
This group attribute is used with the store_code
sub-attribute for in store and ship to store fulfillment. Store code is not required for online offers. Learn more
.
[vehicle_price_type]
Required for new cars in some countries
Optional for used cars in some countries
Enum: All-in, Drive-away, etc.
Learn more about the applicability of the vehicle price type attribute .Use the [vehicle_price_type]
attribute to describe the type of price provided in the price
attribute.
Supported values:
-
all_in_price -
drive_away_price -
estimated_drive_away_price -
excluding_government_charges_price
Sample JSON
{
"id": string,
"offerId": string,
"googleProductCategory": string,
"title": string,
"description": string,
"channel": "local",
"excludedDestinations": [
"Free local listings",
"Local inventory ads",
],
"price": {
"value": string,
"currency": string
},
"brand": string,
"color": string,
"condition": string,
"imageLink": string,
"contentLanguage": string,
"targetCountry": string,
"customAttributes": [
{
"name": "VIN",
"value": string
},
{
"name": "store_code",
"value": string
},
{
"name": "certified_pre-owned",
"value": boolean
},
{
"name": "model",
"value": string
},
{
"name": "trim",
"value": string
},
{
"name": "year",
"value": int
},
{
"name": "mileage",
"value": string
},
{
"name": "body_style",
"value": string
},
{
"name": "engine",
"value": string
},
{
"name": "vehicle_all_in_price",
"value": string
},
{
"name": "vehicle_MSRP",
"value": string
},
{
“name”: “vehicle_option”,
“value”: string
},
{
“name”: “vehicle_fulfillment”,
“groupValues”: [{
“name”: “option”,
“value”: string
}]
},
{
"name": "vehicle_price_type",
"value": string
},
{
“name”: “vehicle_fulfillment”,
“groupValues”: [{
“name”: “option”,
“value”: string
},
{
“name”: “store_code”,
“value”: string
},
{
“name”: “store_code”,
“value”: string
}]
}
],
...
}
Creating a data feed
Note:This method is optional. You don’t have to create a data feed to submit your vehicle ads data. Vehicle ads data can also be submitted by uploading offers. If choosing to upload, refer to the “Uploading Offers” section in this article.
You can create and submit vehicle ads data through the Content API datafeeds
. When creating a data feed for your vehicle ads, you’ll need to include certain fields or attributes. Some fields or attributes can only support certain values. For a full list of fields and supported values, refer to the Datafeeds REST Resource
page.
The table below lists vehicle ads-specific fields and attributes that need to be added when creating a data feed:
[included_destinations]
Optional
List of destinations to include for this target (corresponds to marked check boxes in Merchant Center).
Note:Default destinations are always included unless provided in excludedDestinations
.
-
VehicleInventoryAds
[excluded_destinations]
Optional
List of destinations to exclude for this target (corresponds to unmarked check boxes in Merchant Center).
-
VehicleInventoryAds
[contentType]
Required
The type of data feed for local products (including vehicle ads data).
-
“local products”
Related links
- Vehicle ads overview
- Vehicle ads policies (Beta)
- About the Vehicle Feed Service Provider program (for dealers)
- About the Vehicle Feed Service Provider program (for providers)
- Vehicle ads activation
- Vehicle ads image guidelines
- Vehicle ads Content API guidelines
- Vehicle ads Troubleshooting
- Enable Vehicle ads in your Performance Max campaigns
- About Performance Max campaigns
- Create a Performance Max campaign using a Merchant Center feed

