To promote your automotive inventory on Facebook, you need to share this information with Facebook. You do this by creating an automotive catalog and then filling it with automotive details.
If you're a dealer interested in listing your inventory on Marketplace, the Marketplace program is a closed beta program and is only available for dealers selling used vehicles in specific regions.
To leverage your vehicle inventory catalog for Marketplace, contact an existing marketplace inventory partner.
To create a catalog, you should connect a data feed or upload data to Facebook. The data should contain all the required fields for the vehicles that you want advertise, which are listed below.
Your catalog is a structured data file with a list of cars to showcase. Each line of the file contains all information needed to create a vehicle listing.
To set up a vehicles feed, you need a catalog and a feed of your inventory hosted at a location of your choice.
From your Business Manager/Catalog Manager, create a new vehicles catalog.
Supported fields are available for Vehicle and Dealership and apply to dynamic ads and Marketplace as noted in the Description for each. All enum fields are case-insensitive.
To use Automotive Inventory Ads with an on-Facebook traffic destination, use the same required fields used for dynamic ads. In addition, you are required to set up fb_page_id
field and make sure your price
is greater than 0
.
Name | Description | Use in Creative | Use as a product set filter |
---|---|---|---|
type: int | Required for Marketplace and on-Facebook dynamic ads; NA for dynamic ads that drive traffic to a website. Facebook page ID of the partner or dealership. Your catalog must be added to the allow list by your Facebook representative before you can send your page IDs. The page must be added to the allow list using the Business Manager before it can be ingested. See Managing Permissions. | N | N |
type: string | Required for Marketplace & dynamic ads. Max characters: 100 Unique ID for item. Can be a variant for a vehicle. If there are multiple instances of the same ID, we ignore all instances. You can also use the VIN for both Example: | Y | Y |
type: string | Required for Marketplace & dynamic ads. Max characters: 500. Full name of vehicle. This is relevant and specific to each vehicle and it should contain what is set in Example: | Y | Y |
type: string | Required for Marketplace & dynamic ads. Max characters: 5000 Short text describing the vehicle. Don't include promotional text or any links. Don't enter text in all capital letters. Use line breaks to format your description. Example: | Y | N |
type: url | Required for dynamic ads; Optional for Marketplace. Link to the external site where you can view the vehicle listing. | Y | N |
type: string | Required for Marketplace & dynamic ads. Make or brand of the vehicle. Example: | Y | Y |
type: string | Required for Marketplace & dynamic ads. Model of the vehicle. Example: | Y | Y |
type: int | Required for Marketplace & dynamic ads. Year the vehicle was launched in Example: | Y | Y |
type: int | Required for Marketplace & dynamic ads. For used vehicles, current mileage of the vehicle in kilometers ( Example: '1500' | Y | Y |
type: string | Required for Marketplace & dynamic ads. Mileage units: | Y | N |
type: string | Required for Marketplace & dynamic ads. Nested or multi-value fields, such as image, can be represented using JSON-encoded values or by a set of "flattened" plain-text columns labeled using JSON-path syntax. Example: (image[0].url , image[0].tag[0] , image[0].tag[1])
See examples for CSV/TSV, Address CSV/TSV, Feed XML. Learn more about Marketplace Best Practices for images. | Y | N |
type: string | Required for Marketplace & dynamic ads. Max items: 20 URL of the vehicle image. If you have more than one vehicle image, follow this naming convention: Follow these image specifications:
| N | N |
type: enum | Optional for Marketplace & dynamic ads. Transmission type of the vehicle: | N | Y |
type: enum | Required for Marketplace & dynamic ads. Body style of the vehicle: | Y | Y |
type: enum | Optional for Marketplace & and dynamic ads. Vehicle drivetrain. Supported values: | N | Y |
| Required for dynamic ads & Marketplace, some countries. Max characters: 17 Vehicle ID number (VIN) of the vehicle. You can also use the VIN for both Example: | Y | Y |
type: string | Required for Marketplace & dynamic ads. Cost and currency of the vehicle. Format the price as the cost, followed by the ISO currency code, with a space between cost and currency. For Marketplace - new vehicles only, see Additional Fields for Specific Countries Example: | Y | Y |
type: string | Required for Marketplace & dynamic ads. Vehicle color. Example: | Y | Y |
type: enum | Required for Marketplace & dynamic ads. Current state of the vehicle. Supported values: | N | Y |
type: enum | Optional for Marketplace & and dynamic ads. Vehicle fuel type. Supported values: | N | Y |
type: string | Optional for Marketplace & dynamic ads. Max items: 20 Tag appended to the image that shows what's in the image. There can be multiple tags associated with an image. Follow this naming convention:
Example: | N | Y |
type: string | Optional for Marketplace & and dynamic ads. String that describes the image. There can be multiple tags associated with an image. Example: | Y | N |
type: int | Optional for Marketplace; NA for dynamic ads. Similar to | N | N |
type: enum | Optional for Marketplace & and dynamic ads. Condition of the vehicle. Supported values: | N | Y |
type: integer | Optional for Marketplace & dynamic ads. Sale price or special price. Format the price as the cost, followed by the ISO currency code, with a space between cost and currency. Example: | Y | Y |
type: enum | Optional for Marketplace & dynamic ads. Vehicle availability: | N | Y |
type: string | Optional for dynamic ads amp; for Marketplace. Type of vehicle. Expected values: | N | Y |
type: string | Optional for dynamic ads and Marketplace. Max characters: 50 Trim of the vehicle. Example: | Y | Y |
type: string | Optional for dynamic ads and Marketplace. Max characters: 50 Vehicle interior color. | N | Y |
type: string | Optional for dynamic ads and Marketplace. Date when this vehicle first arrived at the dealer lot. Used to indicate inventory age. Use Example: | N | Y |
Name | Description | Use in Creative | Use as a product set filter |
---|---|---|---|
type: string | Required for Marketplace & dynamic ads. Complete dealership physical address, formatted as:
The postal code is optional. Example: | N | N |
type: string | Required for Marketplace. City where the dealership is located. Example: | Y | Y |
type: string | Required for Marketplace. State, county, region, or province where the dealership is located. Example: | Y | Y |
type: string | Required for Marketplace. Country where the dealership is located. Example: | N | Y |
type: float | Required for dynamic ads & Marketplace. Latitude of the dealership location. Example: | N | N |
type: float | Required for dynamic ads amp; Marketplace. Longitude of the dealership location. Example: | N | N |
type: string | Optional for Marketplace. Postal code for vehicle (outside the U.S. or zip code within the U.S.). Example: | N | N |
type: string | Optional for dynamic ads. Required for Marketplace. Max characters: 100 Alphanumeric ID of the dealership. | Y | Y |
type: string | Optional for dynamic ads. Required for Marketplace. Max characters: 100 Name of dealership. | Y | Y |
type: string | Optional for dynamic ads. Required for Marketplace. Phone number of dealership. Must be a valid phone number format and must include the country code. Required to display the Call button on a Marketplace-based listing. Example: | N | N |
type: enum | Optional for dynamic ads. Required for Marketplace. Method with which the dealer will be contacted by the user. Available values: | N | N |
type: url | Optional for dynamic ads. Required for Marketplace. Link to the privacy URL of the dealer listing the vehicle. This should match the dealer of the Facebook page ID ( | N | N |
type: string | Optional for dynamic ads & Marketplace. Dealership's own designation of the car on their lot. The stock number is a way for the dealer to inventory specific vehicles. Example: | Y | Y |
type: string | Optional for Marketplace & dynamic ads. Max character limit: 100 Additional information about the vehicle you want to include. | Y | Y |
Name | Description | Use in Creative | Use as a product set filter |
---|---|---|---|
type: string | Required for Marketplace & dynamic ads. Complete dealership physical address, formatted as:
The postal code is optional. Example: | N | N |
type: string | Required for Marketplace. City where the dealership is located. Example: | Y | Y |
type: string | Required for Marketplace. State, county, region, or province where the dealership is located. Example: | Y | Y |
type: string | Required for Marketplace. Country where the dealership is located. Example: | N | Y |
type: float | Required for dynamic ads & Marketplace. Latitude of the dealership location. Example: | N | N |
type: float | Required for dynamic ads amp; Marketplace. Longitude of the dealership location. Example: | N | N |
type: string | Optional for Marketplace. Postal code for vehicle (outside the U.S. or zip code within the U.S.). Example: | N | N |
type: string | Optional for dynamic ads. Required for Marketplace. Max characters: 100 Alphanumeric ID of the dealership. | Y | Y |
type: string | Optional for dynamic ads. Required for Marketplace. Max characters: 100 Name of dealership. | Y | Y |
type: string | Optional for dynamic ads. Required for Marketplace. Phone number of dealership. Must be a valid phone number format and must include the country code. Required to display the Call button on a Marketplace-based listing. Example: | N | N |
type: enum | Optional for dynamic ads. Required for Marketplace. Method with which the dealer will be contacted by the user. Available values: | N | N |
type: url | Optional for dynamic ads. Required for Marketplace. Link to the privacy URL of the dealer listing the vehicle. This should match the dealer of the Facebook page ID ( | N | N |
type: string | Optional for dynamic ads & Marketplace. Dealership's own designation of the car on their lot. The stock number is a way for the dealer to inventory specific vehicles. Example: | Y | Y |
type: string | Optional for Marketplace & dynamic ads. Max character limit: 100 Additional information about the vehicle you want to include. | Y | Y |
Learn more about Product Deep Links.
You can either have a single auto feed to represent all vehicles in your catalog or multiple auto feeds where each feed represents a single dealership or a specific region's vehicles.
Provide your feed in the correct format: CSV
, TSV
, or XML
. Once you create the feed file, you should host it at a URL for regular scheduled updates.
Feed Format | Description & Guidelines | Sample Feed |
---|---|---|
CSV | Comma-separated value.
| Download |
TSV | Tab-separated value. See guidelines for CSV. | |
XML | Format typically generated by automated feed provider systems or web servers. A set of item XML nodes represents a product list and must begin with the See Feed XML example. |
Example - TSV
file with tab delimiters
vehicle_id title description url make model year mileage.value mileage.unit image[0].url image[0].tag[0] transmission fuel_type body_style drivetrain vin condition price address exterior_color sale_price availability date_first_on_lot state_of_vehicle latitude longitude i2 2017 Ford Fusion SE Ford Certified and 6-Speed Automatic. Turbocharged! Gasoline! http://www.example.com/test Ford Fusion 2017 1500 KM http://www.facebook.com/teapic.jpg Gym AUTOMATIC GASOLINE SEDAN FWD 1FADP5AU6DL536022 EXCELLENT 18000 USD {addr1: '550 Auto Center Dr', city: 'Watsonville', region: 'CA', postal_code: '96075', country: 'US'} white 16000 USD AVAILABLE 2018-02-21 NEW 52.35 42.10
Example — Feed with images as an array
auto_listing_id title description url make model year mileage.value mileage.unit image transmission fuel_type body_style drivetrain vin condition price address exterior_color sale_price availability date_first_on_lot state_of_vehicle latitude longitude "i2" 2017 Ford Fusion SE Ford Certified and 6-Speed Automatic. Turbocharged! Gasoline! http://www.example.com/test Ford Fusion 2017 1500 KM "[{""url"":""https://images.trvl-media.com/hotels/3000000/2260000/2250400/2250336/2250336_1_y.jpg""}]" AUTOMATIC GASOLINE SEDAN FWD 1FADP5AU6DL536022 EXCELLENT 18000 USD {addr1: '550 Auto Center Dr', city: 'Watsonville', region: 'CA', postal_code: '96075', country: 'US'} white 16000 USD AVAILABLE 2018-09-15 NEW 52.35 42.10
This sample feed is as XML
:
<?xml version="1.0" encoding="UTF-8"?> <listings> <title>Vehicles Feed</title> <link rel="self" href="http://www.example.com"/> <listing> <vehicle_id>SED1234</vehicle_id> <title>2017 Ford Fusion SE</title> <description>Ford Certified and 6-Speed Automatic. Turbocharged! Gasoline!</description> <url>http://www.example.com/test</url> <make>Ford</make> <image> <url>http://example.com/some.image_1.jpg</url> <tag>Exterior</tag> </image> <model>Fusion</model> <year>2017</year> <mileage> <value>10</value> <unit>MI</unit> </mileage> <drivetrain>FWD</drivetrain> <vin>1FADP5AU6DL536022</vin> <body_style>SEDAN</body_style> <fuel_type>GASOLINE</fuel_type> <transmission>AUTOMATIC</transmission> <condition>EXCELLENT</condition> <price>18000 USD</price> <address format="simple"> <component name="addr1">550 Auto Center Dr</component> <component name="city">Watsonville</component> <component name="region">CA</component> <component name="postal_code">95076</component> <component name="country">US</component> </address> <latitude>52.35</latitude> <longitude>42.10</longitude> <exterior_color>white</exterior_color> <sale_price>16000 USD</sale_price> <availability>AVAILABLE</availability> <date_first_on_lot>2018-02-21</date_first_on_lot> <state_of_vehicle>NEW</state_of_vehicle> <dealer_id>ABC1234</dealer_id> </listing> </listings>
"vehicle_id","vehicle_registration_plate","vin","make","model","year","transmission","body_style","fuel_type","drivetrain","description","image[0].url", "image[1].url","image[2].url","mileage.value","mileage.unit","url","title","price","state_of_vehicle","exterior_color","address","latitude","longitude","trim","interior_colour","dealer_id","dealer_name","postal_code","dealer_phone","fb_page_id","dealer_communication_channel","dealer_privacy_policy_url" "56345636","AB12CDE","YV1DZ8256F2693747","Volvo","XC60","2014","AUTOMATIC","OTHER","DIESEL","OTHER","Volvo XC60 2.4 TD D5 R-Design Lux Geartronic 5dr (Nav)","http://website.com/images/stock/car1.jpg","http://website.com/images/stock/car2.jpg","http://website.com/images/stock/car3.jpg","12950","MI","http://www.dealership.co.uk","Volvo XC60 2.4 TD D5 R-Design Lux Geartronic 5dr (Nav)","22495.00 GBP","Used","White","{""addr1"":""Sample Road"",""city"":""London"",""region"":""Greater London"",""postal_code"":""SW31 3EW"",""country"":""United Kingdom""}","52.7445867","-2.7337375","2.4 TD D5 R-Design Lux Geartronic 5dr (Nav)","Black","436456435347346","Dealer Group","SSW31 3EW","","3562564376375","CHAT","https://www.dealership.co.uk/site/privacy-and-legal/"
"{addr1: '1 Hacker Way', city: 'Menlo Park', region: 'CA', postal_code: '94025', country: 'US'}"
<?xml version="1.0" encoding="UTF-8"?> <listings> <title>Sample Vehicles Feed</title> <link rel="self" href="https://www.example.com/dealers/cars/1234/?r=vddn" /> <listing> <vehicle_id>3456553</vehicle_id> <title>Ford B-MAX ZETEC</title> <description>Adjustable Steering Column, Adjustable Steering Wheel, Air Bags, Air Conditioning, Alloy Wheels, Anti Lock Brakes, Bluetooth Preparation (Phone), CD Player, CD Radio, Driver Airbag, Electric & Heated Door Mirrors, Electric Windows, Electronic Stability Programme (ESP), Front Electric Windows, Front Fog Lights, Height Adjustable Drivers Seat, Passenger Airbag, Power Assisted Steering (PAS), Power Fold & Heated DoorMirrors, Rear Parking Sensor, Remote Boot Release, Remote Central Locking, Solid Paint,LOW MILEAGE WITH A FULL FORD HISTORY, SUPPLIED FROM US,</description> <url>https://www.example.com/car-1234> <make>Ford</make> <image> <url>https://www.example.com/1234/image_1.jpg</url> </image> <image> <url>https://www.example.com/1234/image_2.jpg</url> </image> <image> <url>https://www.example.com/1234/image_3.jpg</url> </image> <model>B-MAX</model> <year>2015</year> <mileage> <value>15617</value> <unit>MI</unit> </mileage> <drivetrain>Other</drivetrain> <vin>1A2BCDEF3GH456789</vin> <body_style>OTHER</body_style> <fuel_type>Gasoline</fuel_type> <transmission>Manual</transmission> <price>9490 GBP</price> <address format="simple"> <component name="addr1">Sample Road</component> <component name="city">Carland</component> <component name="region">North Test</component> <component name="country">United States of America</component> <component name="postal_code">12345</component> </address> <latitude>37.484419</latitude> <longitude>-122.148406</longitude> <exterior_color>White</exterior_color> <state_of_vehicle>Used</state_of_vehicle> <dealer_id>453356</dealer_id> <vehicle_registration_plate>AB12CD</vehicle_registration_plate> <fb_page_id>5636367576574</fb_page_id> <dealer_communication_channel>LEAD_FORM</dealer_communication_channel> <dealer_privacy_policy_url>https://www.example.com/privacy/</dealer_privacy_policy_url> </listing> </listings>
For Marketplace, you need approval from the Facebook Support team. Contact your Facebook Partner Manager or at commerce-partnerships@fb.com with the catalog's ID. You should schedule feed uploads to automatically push the latest vehicle inventory data to Facebook instead of uploading refreshed files manually.
For details on how to schedule feed uploads, see Catalog - Schedule Product Feed Fetches.
You can download a sample feed (CSV, TSV, XML format) if you try to create an auto catalog via Catalog Manager.
See also Direct Upload Feed Reference and Catalog Feed Debugger.
Using the Product Feed Debug Tool, you can paste in a product feed, and validate the feed for errors and warnings.
To debug your automotive feed, in the catalog selection drop-down menu, select Vehicles.
This is helpful in the early stages of integrating automotive inventory ads to discover whether the current feeds you may already have are supported by Facebook.
After the catalog upload is set up and working properly, you can create vehicle sets.
A vehicle set is a subset of your catalog. Vehicle sets are defined by filters that are applied to the Vehicle catalog. For example, you can create a vehicle set with all vehicles with a year later than 2015
. Note: A vehicle set with all vehicles in your catalog is pre-created for you.
Example - Create a vehicle set containing all the vehicles that manufactured in 2016
use FacebookAds\Object\ProductSet; use FacebookAds\Object\Fields\ProductSetFields; $vehicle_set = new ProductSet(null, <PRODUCT_CATALOG_ID>); $vehicle_set->setData(array( ProductSetFields::NAME => 'Test Vehicle Set', ProductSetFields::FILTER => array( 'year' => array( 'eq' => 2016, ), ), )); $ vehicle_set->create();
The filter
parameter is made up of the following operators and data:
Operators | Filter Type |
---|---|
| Contains substring. Operator is case-insensitive. |
| Does not contain substring. Operator is case-insensitive. |
| Contains substring. Operator is case-insensitive. |
| Does not contain substring. Operator is case-insensitive. |
| Equal to. Operator is case-insensitive. |
| Not equal to. Operator is case-insensitive. |
| Less than. For numeric fields only. |
| Less than or equal to. For numeric fields only. |
| Greater than. For numeric fields only. |
| Greater than or equal to. For numeric fields only. |
Currently, Marketplace only supports used and certified pre-owned Vehicles. All vehicle mileage must be over 500 miles. Listings with less than 500 miles (or equivalent in km) will be rejected, unless they have a registration plate.
Learn more about Marketplace Vehicles best practices.
Facebook fetches vehicles feeds from your system on a schedule you define. There are two types of schedule you can define:
This functionality is in beta.
For more details, see "How can I see the full error list of my catalog?" in the Marketplace FAQ list.