Product
The primary data of your integration. Advertisers are opened from products (per seller or per brand), promote them, and ad requests and sales name them.
- Sent to:
POST /api/integration/products - Feed:
Product feed
Fields
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Your product code, shared by GoWit and you. It goes in the products array of ad requests and in sale events, where it links each sale to an ad. Send it as a string. |
name | string | Yes | Lets advertisers search for the product when they build a campaign. |
seller_ref | string | Yes | The code of the seller that offers the product. Under a per-seller setup rule it decides the product’s advertiser. It is only a code: no seller record has to be sent, and one sent later is linked automatically. |
image_url | url | Yes | Product image, shown in the campaign setup product list so advertisers can tell products apart. |
status | string | Yes | Availability in your marketplace. A DELETED product is made inactive, never removed. (active, 1 and true in any case also mean active.) One of ACTIVE, DELETED. |
sku | string | No | Optional storefront code. A sponsored product ad answers it as product_id. Without a sku, the id is used so the two stay the same. Default the product id. |
retailer_taxonomy | string | No | The 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_structure | string | No | Your 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_taxonomies | object[] | No | More category paths for a product listed in several categories. The first one is the primary. |
retailer_taxonomies[].taxonomy | string | Yes | Category path, as in retailer_taxonomy. |
retailer_taxonomies[].id_structure | string | No | Ids for the same steps. |
description | string | No | Product description. |
price | number | No | Current price. A number or a numeric string. |
stock | integer | No | Units in stock. Products out of stock are not advertised. |
stock_levels | object[] | No | Per-store price and stock, for multi-location markets. Top-level price and stock still apply where a store has none of its own. |
stock_levels[].location_id | string | Yes | Your store code. An element without it is rejected on its own; the product and its other stores still land. |
stock_levels[].price | number | No | Price at this store. Not sent = unchanged. 0 = free. |
stock_levels[].sale_price | number | No | Discounted price at this store. |
stock_levels[].currency | string | No | Currency of the store prices. |
stock_levels[].stock | integer | No | Units in stock at this store. Not sent = unknown. 0 = out of stock. |
stock_levels[].availability | string | No | Availability text at this store, e.g. in_stock or out_of_stock. |
brand | string | When per-brand rule | Brand name. Under a per-brand setup rule each brand becomes one advertiser, so send it on every product. Spell a brand the same way everywhere. |
rating | number | No | Average shopper rating, e.g. 4.7. |
buybox | boolean | No | Whether this seller currently holds the buy box for the product. |
barcode | string | No | GTIN / EAN / UPC barcode. |
pdp_url | url | No | Product page URL on your storefront. |
google_taxonomy | string | No | Google product category, when you have it. |
filters | string[] | No | Product labels that ad requests can filter on (see placements[].filters in Request ads). |
Shape
{
"id": "P30001",
"name": "Waterproof Hiking Boots",
"seller_ref": "ADV001",
"image_url": "https://…",
"status": "ACTIVE",
"sku": "the product id",
"retailer_taxonomy": "<retailer_taxonomy>",
"retailer_taxonomy_id_structure": "<retailer_taxonomy_id_structure>",
"retailer_taxonomies": [
{
"taxonomy": "<taxonomy>",
"id_structure": "<id_structure>"
}
],
"description": "<description>",
"price": 129.99,
"stock": 95,
"stock_levels": [
{
"location_id": "STORE-012",
"price": 0,
"sale_price": 0,
"currency": "<currency>",
"stock": 0,
"availability": "<availability>"
}
],
"brand": "TrailMaster",
"rating": 0,
"buybox": true,
"barcode": "<barcode>",
"pdp_url": "https://…",
"google_taxonomy": "<google_taxonomy>",
"filters": []
}