Skip to main content

Populate the category list

GoWit builds a category tree from the retailer_taxonomy of your products. Those categories become the options in a campaign's category targeting.

There is no separate category upload. Each product’s retailer_taxonomy path adds its steps to the tree:

Outdoor>Footwear>Hiking Boots      →  Outdoor
Outdoor>Footwear>Hiking Sandals └─ Footwear
Outdoor>Accessories>Socks ├─ Hiking Boots
└─ Hiking Sandals
└─ Accessories
└─ Socks

Use your own category ids​

Send retailer_taxonomy_id_structure with your ids for the same steps (e.g. 10>1010>101010). The tree is then built with your ids, so ad requests can send category_id instead of the text path. The step counts must match, or only the text path is kept.

Products in several categories​

For a product listed in more than one place, send retailer_taxonomies, a list of {taxonomy, id_structure}. The first entry is the primary category.

FieldTypeRequiredDescription
retailer_taxonomystringNoThe product category in your marketplace, e.g. Outdoor>Footwear>Hiking Boots. It fills the category list used for category targeting and relevance. Strongly recommended.
retailer_taxonomy_id_structurestringNoYour category ids for the same steps, e.g. 10>1010>101010. Paired with retailer_taxonomy to build the category tree with your ids. The step counts must match.
retailer_taxonomiesobject[]NoMore category paths for a product listed in several categories. The first one is the primary.
Relevance

The same paths are what the ad request’s products[].category and category are matched against. Keep them identical, character for character, between catalog and storefront.