vertical to home_listings:curl \ -F 'name=Home Listing Catalog Name' \ -F 'vertical=home_listings' \ -F 'access_token=<ACCESS TOKEN>' \ https://graph.facebook.com/<API_VERSION>/<BUSINESS_ID>/owned_product_catalogs
| File Format | Description | Sample File |
|---|---|---|
XML | Typically generated by automated feed provider systems. A root <listings> XML node encloses a set of <listing> nodes, each representing a home listing. The file must begin with a valid <?xml declaration tag. | |
CSV, TSV | The first row must list the chosen field names in the order the values will be given. Subsequent rows then supply the corresponding values for each home listing. 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, such as image[0].url, image[0].tag[0], image[0].tag[1]. | Download (CSV) |
| File Format | Description |
|---|---|
XML | Typically generated by automated feed provider systems. A root <listings> XML node encloses a set of <listing> nodes, each representing a home listing. The file must begin with a valid <?xml declaration tag. |
CSV, TSV, JSON | These formats are not currently supported. |
UTF8, UTF16 or UTF32 text-encodings, falling back to LATIN1 if unexpected byte sequences appear.<?xml version="1.0" encoding="UTF-8"?> <listings> <title>example.com Feed</title> <link rel="self" href="http://www.example.com"/> <listing> <home_listing_id>12345678</home_listing_id> <name>1 Hacker Way, Menlo Park, CA 94025</name> <availability>for_rent</availability> <description>An amazing listing</description> <address format="simple"> <component name="addr1">1 Hacker Way</component> <component name="city">Menlo Park</component> <component name="region">California</component> <component name="country">United States</component> <component name="postal_code">94025</component> </address> <latitude>1.11414</latitude> <longitude>-1.835003</longitude> <neighborhood>Menlo Oaks</neighborhood> <image> <url>http://example.com/12345678-1.jpg</url> </image> <image> <url>http://example.com/12345678-2.jpg</url> </image> <image> <url>http://example.com/12345678-3.jpg</url> </image> <listing_type>for_rent_by_agent</listing_type> <num_baths>6</num_baths> <num_beds>5</num_beds> <num_units>1</num_units> <price>110000 USD</price> <property_type>house</property_type> <url>http://www.example.com/link_to_listing</url> <year_built>2007</year_built> </listing> </listings>
UTF8, UTF16 or UTF32 text-encodings, falling back to LATIN1 if unexpected byte sequences appear. While text in field values can be given in any language, field names must be given exactly as below, in English.| Field Name and Type | Description |
|---|---|
home_listing_idtype: string | Required for Advantage+ catalog ads and commerce. Unique home (apartment/condo) listing ID; most granular ID possible. Example: FB_home_1234 |
home_listing_group_idtype: string | Not applicable to Advantage+ catalog ads. Optional for commerce. Building or apartment’s unique ID. Must be unique per group. |
nametype: string | Required for Advantage+ catalog ads and commerce. Title of home listing. Example: Modern Eichler in Green Oaks |
availability type: string | Required for Advantage+ catalog ads and commerce. Current availability for the home listing. Supported values are: for_sale, for_rent, sale_pending, recently_sold, off_market, available_soon. For commerce, the only supported value is ‘for_rent’. |
addresstype: string | Required for Advantage+ catalog ads and commerce. Street address for the property that must be resolvable to its location. Example: 1 Hacker Way |
address.citytype: string | Required for Advantage+ catalog ads and commerce. City where the property is located. Example: Menlo Park |
address.regiontype: string | Required for Advantage+ catalog ads and commerce. State, county, region, or province for the property. Example: Menlo Park |
address.countrytype: object | Required for Advantage+ catalog ads and commerce. Country where the property is located. Example: United States |
address.postal_codetype: string | Required for Advantage+ catalog ads and commerce. Country where the property is located. Example: United States |
latitudetype: float | Required for Advantage+ catalog ads and commerce. Latitude of the listing. Example: 37.484100 |
longitudetype: float | Required for Advantage+ catalog ads and commerce. Longitude of the listing. Example: -122.148252 |
neighborhoodtype: string | Required for Advantage+ catalog ads. Optional, but strongly recommended for commerce. Max neighborhoods allowed: 20 Listing neighborhood for the property. Can have multiple neighborhoods. If you have more than one neighborhood, add additional columns for each type and use JSON-path syntax in each column name to indicate the number of neighborhoods. Example: neighborhood[0]; neighborhood[1] |
pricetype: string | Required for Advantage+ catalog ads and commerce. Sale or rental price of the property. Format price as the cost, followed by the [3-digit ISO currency code](https://en.wikipedia.org/wiki/ISO_4217?fbclid=IwAR0_xYfUmL3kIUA6sMeEaFAzbJa4MLeMiPDPrftFSX6wkKiTXxPinC-5j70”>, with a space between cost and currency. Example: 13,999 USD |
imagetype: object | Required for Advantage+ catalog ads and commerce. Maximum images: 20 Maximum size: 4 MB The URL for the image used in your ad.
Example: image[0].url, image[0].tag[0] |
urltype: string | Required for Advantage+ catalog ads and commerce. Link to the property listing page. Must be a valid URL. Example: http://www.realestate.com |
descriptiontype: string | Optional for Advantage+ catalog ads. Required for commerce. Max characters: 5000 Description of the property. Example: Beautiful 3BD home available in Belmont |
num_bedstype: float | Optional for Advantage+ catalog ads. Required for commerce. Total number of bedrooms. Can be 0 for Studios.Example: 2 |
num_bathstype: float | Optional for Advantage+ catalog ads. Total number of bathrooms. For commerce, must be 1 at minimum. |
num_roomstype: float | Not applicable for Advantage+ catalog ads. Required for commerce.
Total number of rooms of property. |
property_typetype: string | Optional for Advantage+ catalog ads. Type of property. Supported values for Advantage+ catalog ads: apartment, condo, house, land, manufactured, other, townhouse. Supported values for commerce: apartment, builder_floor, condo, house, house_in_condominium, house_in_villa, loft, penthouse, studio, townhouse, other. |
listing_typetype: string | Optional for Advantage+ catalog ads. Type of property listing. Supported values for Advantage+ catalog ads: for_rent_by_agent, for_rent_by_owner, for_sale_by_agent, for_sale_by_owner, foreclosed, new_construction, new_listing. Supported values for commerce: for_rent_by_agent, for_rent_by_owner. |
area_sizetype: int | Not applicable for Advantage+ catalog ads. Required for commerce. Area or space of the floor plan’s listing. |
area_unittype: string | Not applicable for Advantage+ catalog ads. Required for commerce. The units (square feet or square meters) of the floor area’s value. Supported values: sq_ft, sq_m. |
ac_typetype: string | Not applicable for Advantage+ catalog ads. Optional for commerce. Type of air conditioning. Supported values: central, other,none. |
furnish_typetype: string | Not applicable for Advantage+ catalog ads. Optional for commerce. Type of furniture available in the property. Supported values: furnished, semi-furnished,unfurnished. |
heating_typetype: string | Not applicable for Advantage+ catalog ads. Optional for commerce. Type of heating installed in the property. Supported values: central,gas,electric,radiator,other,none. |
laundry_typetype: string | Not applicable for Advantage+ catalog ads. Optional for commerce. Type of laundry available. Supported values: in_unit,in_building, other,none. |
num_unitstype: int | Optional for Advantage+ catalog ads and commerce. Total number of units (apartments, condos) available for rent. Example: 0 |
parking_typetype: string | Not applicable for Advantage+ catalog ads. Optional for commerce. Type of parking available on property. Supported values: garage,street,off-street, other,none. |
partner_verificationtype: string | Not applicable for Advantage+ catalog ads. Optional for commerce. Whether the partner company has verified the listing. Supported values: verified, none. |
year_builttype: string | Year the property was built, using the YYYY format, 4 digit year. Example: 1994. |
pet_policytype: string | Not applicable for Advantage+ catalog ads. Optional for commerce. Indicates the pets allowed on the property: cat, dog, all, none. |
available_dates_price_configtype: object | List of dates and prices that a listing is available. When you provide values, Facebook can recommend listings based on their available dates and dynamically show the associated price in your ad. |
applinktype: object | App link to listing. |
statusType: string | Controls whether an item is active or archived in your catalog. Only active items can be seen by people in your ads, shops or any other channels. Supported values: active, archived. Items are active by default. Learn more about archiving items.Example: activeNote: Some partner platforms such as Shopify may sync items to your catalog with a status called staging, which behaves the same as archived.This field was previously called visibility. While we still support the old field name, we recommend that you use the new name. |
| Field Name and Type | Description |
|---|---|
urltype: string | Required for Advantage+ catalog ads and commerce. Image source URL. Follow these image specifications:
|
tagtype: string | Optional for Advantage+ catalog ads and commerce. Tag appended to the image that shows what’s in the image. There can be multiple tags associated with an image. Examples: Fitness Center, Swimming PoolINSTAGRAM_STANDARD_PREFERRED - Allows advertisers to tag a specific image in their feed as the default image that will be used for Instagram. This tag is case sensitive. |
| Field Name and Type | Description |
|---|---|
addr1type: string | Required. Street address of hotel. Example: 675 El Camino Real |
citytype: string | Required. City where hotel is located. Example: Palo Alto |
regiontype: string | Required. State, county, region or province for hotel. Example: California |
countrytype: string | Required. Country of the hotel. Example: United States |
postal_codetype: string | Postal or zip-code of the property. Required unless country does not have a postal-code system. Examples: 94125, NW1 3FG |
available_dates_price_config, you can provide the availability and prices of each property for a given date range. When you include date ranges in this field, Facebook factors this availability into our product recommendations and tries to show listings that are available for the dates someone searched on your site. Optionally, if you include pricing we can also show date-specific prices in your ad creative. To enable this feature, you must also send Facebook lease_start_date and lease_end_date in your pixel events.| Field Name and Type | Description |
|---|---|
start_datetype: string | Optional if end_date is provided.Start of the available date range in ISO-8601 format; inclusive of the start date. If you only provide start_date, end_date defaults to a year from that date.Example: YYYY-MM-DD, such as 2018-01-01. |
end_datetype: string | Optional if start_date is provided.End of the available date range in ISO-8601 format; excludes the end date. If you only provide end_date, start_date defaults to the current date.Example: YYYY-MM-DD, such as 2018-02-01. |
ratetype: string | Integer price of the listing during this time range. Example: 10000 if the listing was $100.00 USD |
currencytype: string | |
intervaltype: string | Length of stay for the specified rate. Allowed values are: nightly, weekly, monthly, sale. |

"available_dates_price_config": [
{
// available until 11/01 at $150/night
"end_date": "2018-11-01",
"rate": "15000",
"currency": "USD",
"interval": "nightly",
},
{
// available from 11/01 - 12/01 at $200/night
"start_date": "2018-11-01",
"end_date": "2018-12-01",
"rate": "20000",
"currency": "USD",
"interval": "nightly",
},
{
// available from 11/01 onward at $500/week
"start_date": "2018-11-01",
"rate": "50000",
"currency": "USD",
"interval": "weekly",
},
]
curl \ -F "url=http://www.example.com/sample_feed.xml" \ -F "access_token=<ACCESS_TOKEN>" \ https://graph.facebook.com/<API_VERSION>/<PRODUCT_FEED_ID>/uploads




curl \
-F "name=test set" \
-F 'filter={"availability":{"eq":"for_sale"}}' \
-F "access_token=" \
https://graph.facebook.com/<API_VERSION>/<CATALOG_ID>/product_sets
filter is made up of the following operators and data:| Operators | Type of filter |
|---|---|
i_contains | Contains substring (case insensitive) |
i_not_contains | Does not contain substring (case insensitive) |
contains | Contains substring (case sensitive) |
not_contains | Does not contain substring (case sensitive) |
eq | Equal to (case insensitive) |
neq | Not equal to (case insensitive) |
lt | Less than (numeric fields only) |
lte | Less than or equal to (numeric fields only) |
gt | Greater than (numeric fields only) |
gte | Greater than or equal to (numeric fields only) |
| Data | Data to filter |
|---|---|
availability | Listing availability. Example: for_sale |
listing_type | Listing type. Example: for_sale_by_agent |
property_type | Property type. Example: house |
price | Listing price |
name | Name |
city | City |
country | Country |
region | Region or state |
postal_code | Postal code |
num_beds | Number of beds |
num_baths | Number of baths |
| Key | Description |
|---|---|
email | Email address(es) Hash |
phone | Phone number(s) Hash |
fn | First name Hash |
ln | Last name Hash |
madid | Apple or Android advertising ID Hash |
zip | ZIP code(s) Hash |
ct | City Hash |
st | State Hash |
country | Country Hash |
dob | Date of birth (DD format) Hash |
doby | Date of birth (YYYY format) Hash |
gen | Gender Hash |
age | Age Hash |
lead_id | Lead ID of Marketplace leads |
| Field | Description |
|---|---|
content_ids | home_listing_id from the catalog upload |
content_type | Set to home_listing |
| Field | Description |
|---|---|
event_name | Required Event type enum: ViewContentSearchAddToCartAddToWishlistLead = Had a phone call or other qualified leadCompleteRegistration = Appointment setupInitiateCheckout = Agency visitAddPaymentInfo = Property viewingPurchase = Lease signedOther |
event_time | Required Time of the event |
value | Required Rent value. Set to 0 for non-lease events. |
currency | Required Currency code |