Skip to main content

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.

Formats

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​

TransportWhat GoWit needs
HTTP(S)The feed URL, plus credentials if it is protected
Amazon S3Bucket and object key (a template with the date is fine), plus read access
SFTPHost, path and credentials
Google SheetsThe sheet and tab. Share it with the service account GoWit gives you; the tab is read as CSV
File uploadUpload 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.

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

Before sharing a feed, run a few rows through the feed validator.

FieldTypeRequiredDescription
idstringYesYour 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.
namestringYesLets advertisers search for the product when they build a campaign.
seller_refstringYesThe 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_urlurlYesProduct image, shown in the campaign setup product list so advertisers can tell products apart.
statusstringYesAvailability 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.
skustringNoOptional 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_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.
pricenumberNoCurrent price. A number or a numeric string.
stockintegerNoUnits in stock. Products out of stock are not advertised.
brandstringWhen per-brand ruleBrand 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 fieldRecognised columns
idid, product_id, item_id, external_id, sku
namename, title, product_name
image_urlimage_url, image, image_link, main_image, thumbnail
pdp_urlurl, link, product_url
barcodegtin, ean, upc, isbn
stockstock, quantity, qty
seller_refseller_id, merchant_id, vendor_ref

XML specifics​

  • Records are found at products.product by default; product, item, entry, record, row and offer elements 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 as image_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.

id,name,status
ADV001,Outdoor Brand,ACTIVE
ADV002,PhotoStore,ACTIVE
ADV003,Clothing Brand,DELETED
FieldTypeRequiredDescription
idstringYesYour seller id. It must match the seller_ref on every product of this seller exactly, including case. Surrounding spaces are trimmed.
namestringYesSeller name. Admins find the advertiser by it when they create campaigns, review results or fund budgets.
statusstringYesThe seller status in your marketplace. DELETED makes the seller inactive; nothing is ever removed. One of ACTIVE, DELETED.

Snapshot or changes only​

Snapshot

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)