- Google Product Data Specification.
- Tab separated values (TSV).
- Comma separated values (CSV).
Google Product Data Specification
Share your catalog with Topsort using existing Google product feeds. We support the Google Product Data Specification.TSV and CSV
We support sharing your catalog using TSV and CSV feeds. The instructions in this section apply to both formats.Which format should you use?We recommend you use TSV over CSV. CSV is more error prone due to commas often being present in the catalog data.If your product name or category name contains commas, you must use TSV.
Supported Columns
| Name | Required | Default | Description |
|---|---|---|---|
id | yes | - | Unique identifier for each product. |
active | no | true | Whether the product can be part of campaigns or auctions. Inactive products will be removed from existing campaigns. |
title | yes | - | Name of the product |
category.0.name | yes | - | Category name of the primary category for this product. |
category.0.id | no | Slug of category name | ID of the primary category for this product. |
vendor.0.name | yes if not use seller_name | - | Vendor of the product. This is the entity that has their own budget to advertise this product and competes with other vendors. |
vendor.0.id | yes if not use seller_name | Slug of vendor name | ID of the vendor of this product. |
seller_name | yes if not use vendor.0.name | Vendor name of the product, same value as vendor.0.name. | |
google_product_category | yes | Categories provided in Google Taxonomy Format. | |
price | no | - | Product price. |
image_link | no | - | URL to an image of the product. |
availability | no | - | Stock status. Must be one of in stock, out of stock or preorder. |
description | no | - | Detailed description of the product. |
File examples
Example TSV using vendor.0.name
Example CSV using vendor.0.name
Multiple categories and vendors
Products can be associated with multiple categories and/or vendors. As you might have noticed, the category and vendor columns contain indices. You can add additional category and/or vendor columns as long as you increase the index appropriately. For example, a product with three categories and two vendors would have at the very least these columns:Google Taxonomy Format
Alternatively, you can use Google’s Taxonomy Format as category names. This allows you to describe more complex hierarchical relationships. For example, this hierarchy:Hosting your product feed
Your product feed needs to be continuously accessible to Topsort so that we can keep our data up to date. We can currently access public product feeds or feeds that are protected using Basic HTTP Authorization. In addition, use the ETag Response headers to help us determine if a product feed has been updated since last fetch.Deleting products
Products can be “soft deleted” by setting theactive property to false. This can be done both via the API and via the product feed.
Inactive products will not be included in new campaigns or auctions and will be removed from any active campaigns they are part of.
To permanently delete products from Topsort’s system, use the API.
Generated slugs
When categories or vendors don’t have an ID, we generate one on the fly. These IDs use a slug derived from the name. A slug is a kebab case formatted string that is suitable for inclusion in URLs. For example,Hello world becomes hello-world.
The format is based on the npm slugify library.