Send products and sellers by feed
Scheduled feeds are the alternative to the API. GoWit fetches each feed on the schedule set for its source. A product feed is all you need to start.
A feed is read in the format you already publish: CSV, JSON, JSONL, XML or XLSX, over HTTP, S3, SFTP or Google Sheets. GoWit maps its columns to GoWit fields once, in the console source wizard.
Transports
| Transport | What GoWit needs |
|---|---|
| HTTP(S) | The feed URL, plus credentials if it is protected |
| Amazon S3 | Bucket and object key (a template with the date is fine), plus read access |
| SFTP | Host, path and credentials |
| Google Sheets | The sheet and tab. Share it with the service account GoWit gives you; the tab is read as CSV |
| File upload | Upload a file in the console (CSV, JSONL, XML or XLSX) |
Product feed
The product feed lists the products advertisers can promote. Your column names can differ: the mapping tells GoWit which column holds each field. Here is the same feed in every format. Download one as a starting point.
- CSV
- JSON
- JSONL
- XML
id,name,seller_ref,image_url,retailer_taxonomy,status,price,stock,brand,sku
P30001,Waterproof Hiking Boots,ADV001,https://cdn.example.com/p/P30001.jpg,Outdoor>Footwear>Hiking Boots,ACTIVE,129.99,95,TrailMaster,TM-HB-001
P30006,Thermal Hiking Socks (3-Pack),ADV001,https://cdn.example.com/p/P30006.jpg,Outdoor>Accessories>Socks,DELETED,19.99,300,SummitGear,SG-SK-006
[
{
"id": "P30001",
"name": "Waterproof Hiking Boots",
"seller_ref": "ADV001",
"image_url": "https://cdn.example.com/p/P30001.jpg",
"retailer_taxonomy": "Outdoor>Footwear>Hiking Boots",
"status": "ACTIVE",
"price": 129.99,
"stock": 95,
"brand": "TrailMaster",
"sku": "TM-HB-001"
},
{
"id": "P30006",
"name": "Thermal Hiking Socks (3-Pack)",
"seller_ref": "ADV001",
"image_url": "https://cdn.example.com/p/P30006.jpg",
"retailer_taxonomy": "Outdoor>Accessories>Socks",
"status": "DELETED",
"price": 19.99,
"stock": 300,
"brand": "SummitGear",
"sku": "SG-SK-006"
}
]
{"id":"P30001","name":"Waterproof Hiking Boots","seller_ref":"ADV001","image_url":"https://cdn.example.com/p/P30001.jpg","retailer_taxonomy":"Outdoor>Footwear>Hiking Boots","status":"ACTIVE","price":129.99,"stock":95,"brand":"TrailMaster","sku":"TM-HB-001"}
{"id":"P30006","name":"Thermal Hiking Socks (3-Pack)","seller_ref":"ADV001","image_url":"https://cdn.example.com/p/P30006.jpg","retailer_taxonomy":"Outdoor>Accessories>Socks","status":"DELETED","price":19.99,"stock":300,"brand":"SummitGear","sku":"SG-SK-006"}
<?xml version="1.0" encoding="UTF-8"?>
<products>
<product>
<id>P30001</id>
<name>Waterproof Hiking Boots</name>
<seller_ref>ADV001</seller_ref>
<image_url>https://cdn.example.com/p/P30001.jpg</image_url>
<retailer_taxonomy>Outdoor>Footwear>Hiking Boots</retailer_taxonomy>
<status>ACTIVE</status>
<price>129.99</price>
<stock>95</stock>
<brand>TrailMaster</brand>
<sku>TM-HB-001</sku>
</product>
<product>
<id>P30006</id>
<name>Thermal Hiking Socks (3-Pack)</name>
<seller_ref>ADV001</seller_ref>
<image_url>https://cdn.example.com/p/P30006.jpg</image_url>
<retailer_taxonomy>Outdoor>Accessories>Socks</retailer_taxonomy>
<status>DELETED</status>
<price>19.99</price>
<stock>300</stock>
<brand>SummitGear</brand>
<sku>SG-SK-006</sku>
</product>
</products>
Before sharing a feed, run a few rows through the feed validator.
| 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. |
price | number | No | Current price. A number or a numeric string. |
stock | integer | No | Units in stock. Products out of stock are not advertised. |
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. |
Column names GoWit recognises
The wizard suggests a mapping from common column names, ignoring case and separators. You can always change it.
| GoWit field | Recognised columns |
|---|---|
id | id, product_id, item_id, external_id, sku |
name | name, title, product_name |
image_url | image_url, image, image_link, main_image, thumbnail |
pdp_url | url, link, product_url |
barcode | gtin, ean, upc, isbn |
stock | stock, quantity, qty |
seller_ref | seller_id, merchant_id, vendor_ref |
XML specifics
- Records are found at
products.productby default;product,item,entry,record,rowandofferelements are found too. Another path can be set on the source. - Namespace prefixes are ignored, so a Google Shopping feed’s
<g:image_link>reads asimage_link. - Attributes are read as
@name.
Seller feed (optional)
A seller feed adds details to the advertisers your products already created: names, e-mails and, for a per-brand-ID rule, the brand ID that groups several sellers into one advertiser. Send it whenever you like.
- CSV
- JSON
- JSONL
- XML
id,name,status
ADV001,Outdoor Brand,ACTIVE
ADV002,PhotoStore,ACTIVE
ADV003,Clothing Brand,DELETED
[
{
"id": "ADV001",
"name": "Outdoor Brand",
"status": "ACTIVE"
},
{
"id": "ADV002",
"name": "PhotoStore",
"status": "ACTIVE"
},
{
"id": "ADV003",
"name": "Clothing Brand",
"status": "DELETED"
}
]
{"id":"ADV001","name":"Outdoor Brand","status":"ACTIVE"}
{"id":"ADV002","name":"PhotoStore","status":"ACTIVE"}
{"id":"ADV003","name":"Clothing Brand","status":"DELETED"}
<?xml version="1.0" encoding="UTF-8"?>
<sellers>
<seller>
<id>ADV001</id>
<name>Outdoor Brand</name>
<status>ACTIVE</status>
</seller>
<seller>
<id>ADV002</id>
<name>PhotoStore</name>
<status>ACTIVE</status>
</seller>
<seller>
<id>ADV003</id>
<name>Clothing Brand</name>
<status>DELETED</status>
</seller>
</sellers>
| Field | Type | Required | Description |
|---|---|---|---|
id | string | Yes | Your seller id. It must match the seller_ref on every product of this seller exactly, including case. Surrounding spaces are trimmed. |
name | string | Yes | Seller name. Admins find the advertiser by it when they create campaigns, review results or fund budgets. |
status | string | Yes | The seller status in your marketplace. DELETED makes the seller inactive; nothing is ever removed. One of ACTIVE, DELETED. |
Snapshot or changes only
A scheduled feed is a snapshot: a complete list. After a run completes, a record it no longer names is made inactive. Nothing is ever deleted. A failed run changes nothing.
Status values are matched first against the vocabulary you set on the source (e.g. in stock → active). After that, active, 1 and true in any case mean active and every other value means inactive.
Checklist
- The product feed (and, if you have one, the seller feed) is created and shared with GoWit. (Retailer)
- Each feed source is set up with its mapping, and its first run is processed. (GoWit)
- Products appear in the console and in campaign setup, and their advertisers in the Onsite app. (Retailer)