---
title: 'Offline sales onboarding - flat file feed integration'
description: 'Type Feed example Format Update Location One event_item_id per line. Each line of a given transaction to share the same event_id. Feed example in attachment 1…'
language: en
guide: 8g1zFYawMy
updated: 2026-01-19T13:38:36Z
canonical: https://help.criteo.com/kb/guide/en/offline-sales-onboarding-flat-file-feed-integration-8g1zFYawMy/Steps/775585
alternates:
  de: https://help.criteo.com/kb/guide/de/onboarding-von-offline-sales-integration-uber-einen-flat-file-feed-8g1zFYawMy.md
  es: https://help.criteo.com/kb/guide/es/incorporacion-de-las-ventas-offline-integracion-de-feeds-en-archivos-sin-formato-8g1zFYawMy.md
  fr: https://help.criteo.com/kb/guide/fr/gestion-des-ventes-offline-integration-de-fichiers-de-flux-plats-8g1zFYawMy.md
  it: https://help.criteo.com/kb/guide/it/inserimento-di-vendite-offline-integrazione-del-feed-flat-file-8g1zFYawMy.md
  ja: https://help.criteo.com/kb/guide/ja/-8g1zFYawMy.md
  ko: https://help.criteo.com/kb/guide/ko/feed-8g1zFYawMy.md
  pt: https://help.criteo.com/kb/guide/pt/integracao-de-vendas-offline-integracao-de-feed-de-arquivo-simples-8g1zFYawMy.md
  zh: https://help.criteo.com/kb/guide/zh/-8g1zFYawMy.md
---

> Index of this knowledge base: https://help.criteo.com/llms.txt
>
> Interactive version: https://help.criteo.com/kb/guide/en/offline-sales-onboarding-flat-file-feed-integration-8g1zFYawMy/Steps/775585

# Offline sales onboarding - flat file feed integration

<a id="step-775585"></a>

## Offline sales onboarding - flat file feed integration

| Type | Feed example | Format | Update | Location |
| --- | --- | --- | --- | --- |
| One event\_item\_id per line.<br>Each line of a given transaction to share the same event\_id. | Feed example in attachment 1 | CSV/TSV | Daily (Max. 48 hours) | Criteo (S)FTP/Client (S)FTP |
| One event\_id per line.<br>Including an event\_item\_id column with a list of product IDs separated by pipes (I). | Feed example in attachment 2 | CSV/TSV | Daily (Max. 48 hours) | Criteo<br>(S)FTP/Client (S)FTP |

If you wish to share your data via flat file feed integration, please use a TSV or CSV feed format.

The CSV format is based on the comma-separated value. The header must be declared in the first row of the file, it is recommended that headers are provided in the lower case and don't contain spaces.

Files can be uploaded to the Criteo FTP or SFTP, or downloaded from your own FTP or SFTP by Criteo. Get in touch with your Account Strategist to agree on the integration method that is best for you. 

Each line in the file should be a distinct product with its unit price and quantity.  Transactions that include several products should be split into multiple lines, sharing the same event\_id.  Criteo will group by event\_id and calculate the total price.

Please note that Criteo can also accept one line per transaction, in which case multiple product data should be separated by pipes(|) inside the "event\_item\_id" column.

It is recommended that you schedule an import at least once daily, Criteo can process the flat file as frequently as every hour.  The maximum ingestion delay is 48 hours.

Please see the above table with the data specification for your flat file upload, showing columns that are required and optional.

Attachments:

- [Attachment 1.csv](https://files.stonly.com/stepAttachments/1de14f43-2bfb-47b2-aae1-490fbca6f93e.csv)
- [Attachment 2.csv](https://files.stonly.com/stepAttachments/82d57887-47bf-4994-93bd-7c17d126d1da.csv)

- If "Required fields": [Required fields](#step-891116)
- If "Optional fields": [Optional fields](#step-891115)

<a id="step-891116"></a>

## Required fields

- If "user\_email": [user\_email](#step-891527)
- If "Store Directory": [Store Directory](#step-912786)
- If "event\_id": [event\_id](#step-891539)
- If "event\_item\_quantity": [event\_item\_quantity](#step-891533)
- If "event\_item\_id": [event\_item\_id](#step-891541)
- If "event\_currency": [event\_currency](#step-891532)
- If "event\_item\_price": [event\_item\_price](#step-891538)
- If "event\_timestamp": [event\_timestamp](#step-891534)

<a id="step-891115"></a>

## Optional fields

- If "user\_crmid": [user\_crmid](#step-891535)
- If "Store Directory": [Store Directory](#step-912786)
- If "event\_item\_alternate\_id": [event\_item\_alternate\_id](#step-891531)
- If "event\_value": [event\_value](#step-891526)
- If "event\_item\_id\_gtin": [event\_item\_id\_gtin](#step-891536)
- If "event\_item\_category": [event\_item\_category](#step-891540)
- If "event\_item\_brand": [event\_item\_brand](#step-891529)
- If "event\_item\_id\_mpn": [event\_item\_id\_mpn](#step-891537)
- If "event\_custom\_data": [event\_custom\_data](#step-891530)
- If "store\_id": [store\_id](#step-4979060)

<a id="step-891527"></a>

## user\_email

Email of the shopper.

Emails will be ingested into Criteo’s identity graph as SHA256 of an MD5. If you are unable to provide emails in this format you can provide MD5 encrypted emails, which will be hashed on the fly by Criteo before being ingested.

  
Before hashing, all users' email addresses must be:

-   Trimmed i.e. all spaces before and after the user's email address must be removed
-   Converted to lowercase
-   Encoded in UTF-8

  

**Type:** String

**Example:** **MD5:** e13743a7f1db7f4246badd6fd6ff54ff

**SHA256 of MD5:** 000e3171a5110c35c69d060112bd0ba55d9631c7c2ec93f1840e4570095b263a

This path ends here.

<a id="step-912786"></a>

## Store Directory

<a id="step-SHaqqKX3FY-775587"></a>

## Store Directory

**1 - Why should I share this data?**

In order to run Store Conversions campaigns, we need to understand the location of your stores and key information that shoppers need to visit.

We will leverage this data to improve campaign targeting and display the most relevant ads to shoppers. 

**2 - Format overview and frequency**

-   We accept CSV or TSV (comma- or tab-separated values) files
    
-   The header must be declared in the first row of the file and must be provided in lower case without spaces
    
-   Each line of the file should be a distinct store
    
-   Files can be uploaded to the Criteo FTP or SFTP, or downloaded from your own FTP, SFTP or http(s) servers by Criteo. Get in touch with your Criteo Account Strategist to agree the integration method that is best for you
    
-   We can support daily file updates. However, if information doesn’t change that often, just let us know when we need to ingest a new file
    

  
  

 **3 - List of required fields**

- If "Store information": [Store information](#step-SHaqqKX3FY-887843)
- If "Location data": [Location data](#step-SHaqqKX3FY-887842)
- If "Opening hours": [Opening hours](#step-SHaqqKX3FY-887845)
- If "Additional Information": [Additional Information](#step-SHaqqKX3FY-887840)

<a id="step-SHaqqKX3FY-887843"></a>

## Store information

- If "store\_id": [store\_id](#step-SHaqqKX3FY-887846)
- If "store\_name": [store\_name](#step-SHaqqKX3FY-887841)
- If "store\_url": [store\_url](#step-SHaqqKX3FY-887844)

<a id="step-SHaqqKX3FY-887842"></a>

## Location data

- If "Address": [Address](#step-SHaqqKX3FY-887940)
- If "Zipcode": [Zipcode](#step-SHaqqKX3FY-887924)
- If "City": [City](#step-SHaqqKX3FY-887927)
- If "Location\_lat": [Location\_lat](#step-SHaqqKX3FY-887932)
- If "Location\_long": [Location\_long](#step-SHaqqKX3FY-887939)
- If "Primary\_phone": [Primary\_phone](#step-SHaqqKX3FY-887941)

<a id="step-SHaqqKX3FY-887845"></a>

## Opening hours

- If "Monday\_hours": [Monday\_hours](#step-SHaqqKX3FY-887933)
- If "Tuesday\_hours": [Tuesday\_hours](#step-SHaqqKX3FY-887926)
- If "Wednesday\_hours": [Wednesday\_hours](#step-SHaqqKX3FY-887938)
- If "Thursday\_hours": [Thursday\_hours](#step-SHaqqKX3FY-887936)
- If "Friday\_hours": [Friday\_hours](#step-SHaqqKX3FY-887929)
- If "Saturday\_hours": [Saturday\_hours](#step-SHaqqKX3FY-887928)
- If "Sunday\_hours": [Sunday\_hours](#step-SHaqqKX3FY-887934)
- If "Special\_hours": [Special\_hours](#step-SHaqqKX3FY-887931)

<a id="step-SHaqqKX3FY-887840"></a>

## Additional Information

- If "Services": [Services](#step-SHaqqKX3FY-887930)
- If "Store\_picture": [Store\_picture](#step-SHaqqKX3FY-887925)
- If "Custom\_label1": [Custom\_label1](#step-SHaqqKX3FY-887935)
- If "is\_closed": [is\_closed](#step-SHaqqKX3FY-887937)

<a id="step-SHaqqKX3FY-887846"></a>

## store\_id

ID of the store. This must match the value sent in your [offline sales data feed](https://help.criteo.com/kb/guide/en/how-can-i-pass-my-offline-sales-data-to-criteo-Yf95KPKbjB/Steps/775624).

**Value:** String.

**Example:** 1so56

This path ends here.

<a id="step-SHaqqKX3FY-887841"></a>

## store\_name

Name of the store. Please note, this value can be used to display in the creatives.

**Value:** String.

**Example:** Rockefeller Center

This path ends here.

<a id="step-SHaqqKX3FY-887844"></a>

## store\_url

URL of the dedicated store page on your website.

Please note, this URL can be used in creatives to redirect to more information about the specific store.  If you don't have dedicated store pages on your site, we can default to a given URL.

**Value:** URL

**Example:** http://mysite.com/ stores?store=r23

This path ends here.

<a id="step-SHaqqKX3FY-887940"></a>

## Address

First line(s) of the store address excluding postal code, city, region/state and country.

Please note, this value can be used to display in the creatives.

**Value:** String

**Example:** 514 4th ave.

This path ends here.

<a id="step-SHaqqKX3FY-887924"></a>

## Zipcode

Zipcode of the store.

Please note, this value can be used to display in the creatives. 

**Value:** String

**Example:** 94120

This path ends here.

<a id="step-SHaqqKX3FY-887927"></a>

## City

City the store is located in.

**Value:** String

**Example:** San Francisco

This path ends here.

<a id="step-SHaqqKX3FY-887932"></a>

## Location\_lat

Latitude GPS co-ordinate of the store.

Please conform to the [WGS84 standard](http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf).

**Value:** Decimal

**Example:** 47.908126

This path ends here.

<a id="step-SHaqqKX3FY-887939"></a>

## Location\_long

Longitude GPS co-ordinate of the store.

Please conform to the [WGS84 standard](http://www.unoosa.org/pdf/icg/2012/template/WGS_84.pdf).

**Value:** Decimal

**Example:** 1.905492

This path ends here.

<a id="step-SHaqqKX3FY-887941"></a>

## Primary\_phone

Phone number of the store.

_This data input is optional._

**Value:** String

**Example:** (765) 876-7211

This path ends here.

<a id="step-SHaqqKX3FY-887933"></a>

## Monday\_hours

Opening hours of the store on Mondays.

-   Please present the data in the following format; HH:mm-HH:mm|HH:mm-HH:mm
-   Use "|" to separate morning and afternoon opening hours when there is a break during the day.
-   Leave this field empty or use "x" if the store is closed on this day.

**Value:** String

**Example:** 09:00-12:00|13:00-20:00

This path ends here.

<a id="step-SHaqqKX3FY-887926"></a>

## Tuesday\_hours

Opening hours of the store on Tuesdays.

-   Please present the data in the following format; HH:mm-HH:mm|HH:mm-HH:mm
-   Use "|" to separate morning and afternoon opening hours when there is a break during the day.
-   Leave this field empty or use "x" if the store is closed on this day.

**Value:** String

**Example:** 09:00-18:00

This path ends here.

<a id="step-SHaqqKX3FY-887938"></a>

## Wednesday\_hours

Opening hours of the store on Wednesdays.

-   Please present the data in the following format; HH:mm-HH:mm|HH:mm-HH:mm
-   Use "|" to separate morning and afternoon opening hours when there is a break during the day.
-   Leave this field empty or use "x" if the store is closed on this day.

**Value:** String

**Example:** 09:00-18:00

This path ends here.

<a id="step-SHaqqKX3FY-887936"></a>

## Thursday\_hours

Opening hours of the store on Thursdays.

-   Please present the data in the following format; HH:mm-HH:mm|HH:mm-HH:mm
-   Use "|" to separate morning and afternoon opening hours when there is a break during the day.
-   Leave this field empty or use "x" if the store is closed on this day.

**Value:** String

**Example:** 09:00-18:00

This path ends here.

<a id="step-SHaqqKX3FY-887929"></a>

## Friday\_hours

Opening hours of the store on Fridays.

-   Please present the data in the following format; HH:mm-HH:mm|HH:mm-HH:mm
-   Use "|" to separate morning and afternoon opening hours when there is a break during the day.
-   Leave this field empty or use "x" if the store is closed on this day.

**Value:** String

**Example:** 09:00-18:00

This path ends here.

<a id="step-SHaqqKX3FY-887928"></a>

## Saturday\_hours

Opening hours of the store on Saturdays.

-   Please present the data in the following format; HH:mm-HH:mm|HH:mm-HH:mm
    
-   Use "|" to separate morning and afternoon opening hours when there is a break during the day.
    
-   Leave this field empty or use "x" if the store is closed on this day.
    

**Value:** String

**Example:** 09:00-18:00

This path ends here.

<a id="step-SHaqqKX3FY-887934"></a>

## Sunday\_hours

Opening hours of the store on Sundays.

-   Please present the data in the following format; HH:mm-HH:mm|HH:mm-HH:mm
-   Use "|" to separate morning and afternoon opening hours when there is a break during the day.
-   Leave this field empty or use "x" if the store is closed on this day.

**Value:** String

**Example:** 09:00-18:00

This path ends here.

<a id="step-SHaqqKX3FY-887931"></a>

## Special\_hours

Special opening hours of your store on a specific day.

-   Please present the data in the following format; yyyy-MM-dd:HH:mm-HH:mm|HH:mm-HH:mm;yyyy-MM-dd
-   Use "|" to separate morning and afternoon opening hours when there is a break during the day.
-   Use "x" to represent that a store is shut on a specific date.

**Value:** String

**Example:** 2016-12-24:08:00-13 :00|14:00-20:00;2016-12-25:x;2016-12-26:08:00-18:00

This path ends here.

<a id="step-SHaqqKX3FY-887930"></a>

## Services

List of the services offered in this store. Values must be separated by pipes (|).

_This data input is optional._

**Value:** String

**Example:** Pet Grooming|ATM|Free Delivery

This path ends here.

<a id="step-SHaqqKX3FY-887925"></a>

## Store\_picture

URL to the main picture of the store.

_This data input is optional._

**Value:** URL

**Example:** http://storepicture123c.jpg

This path ends here.

<a id="step-SHaqqKX3FY-887935"></a>

## Custom\_label1

Any short marketing message you want to push which is specific to this store.

_This data input is optional. You can add multiple marketing messages by including additional custom\_label lines in your feed._

**Value:** String

**Example:** Free yoga class every Tuesday

This path ends here.

<a id="step-SHaqqKX3FY-887937"></a>

## is\_closed

In certain situations (like during the COVID lockdowns) some stores can be temporarily closed, so you may not want to leverage them when computing audiences or recommending stores to users. In this case, you can use the is\_closed field in the feed to indicate that a store is closed. Alternatively, you can delete closed stores from the feed before importing it. They won't be deleted from our database, but they will be marked as closed.

**Value:** Boolean

**Example:** 1

This path ends here.

_End of the embedded guide "Store Directory"._

<a id="step-891539"></a>

## event\_id

The transaction ID.  This will be used for deduplication and debugging, and to group product item data in from different lines.  
  

**Type:** String

**Example:** tr\_1234567a

This path ends here.

<a id="step-891533"></a>

## event\_item\_quantity

The number of products purchased.  
  

**Type:** Integer

**Example:** 2

This path ends here.

<a id="step-891541"></a>

## event\_item\_id

The unique identifier for each product purchased.  This must match with your online product feed.  
  

**Type:** String

**Example:** pdct\_1234

This path ends here.

<a id="step-891532"></a>

## event\_currency

The currency of the transaction. This must follow the 3 letter [ISO 4217 code](https://en.wikipedia.org/wiki/ISO_4217).  
  

**Type:** String

**Example:** EUR

This path ends here.

<a id="step-891538"></a>

## event\_item\_price

The unit price of each product purchased. There must be 2 decimal points and the decimal separator must be a point.  
  

**Type:** Float

**Example:** 43.99

This path ends here.

<a id="step-891534"></a>

## event\_timestamp

The timestamp should be included otherwise time of transaction will be recorded as the time of ingestion.  The timestamp should be precise to the minute for optimal accuracy.

The timestamp must follow the ISO 8601 standards with explicit timezone designator 'Z' when in UTC time zone.  
  

**Type:** Timestamp. 

UTC format: \[YYYY\]-\[MM\]-\[DD\]T\[hh\]:\[mm\]:\[ss\]Z

None UTC format: \[YYYY\]-\[MM\]-\[DD\]T\[hh\]:\[mm\]:\[ss\]±\[hh:mm\]

**Example (in UTC+1):** 2017-06-02T13:25:15+01:00

This path ends here.

<a id="step-891535"></a>

## user\_crmid

CRM ID of the shopper.

**Type:** String

**Example:** 00Q7000fAJuO

This path ends here.

<a id="step-891531"></a>

## event\_item\_alternate\_id

An additional unique identifier for each product purchased, where products have more than one identifier.

**Type:** String

**Example:** pdct\_1234

This path ends here.

<a id="step-891526"></a>

## event\_value

The value of the total transaction. There must be 2 decimal points and the decimal separator must be a point.

**Type:** Float

**Example:** 75.00

This path ends here.

<a id="step-891536"></a>

## event\_item\_id\_gtin

Global Trade Item Number (GTIN).

**Type:** String

**Example:** 00045678900012

This path ends here.

<a id="step-891540"></a>

## event\_item\_category

The category of each product purchased.

**Type:** String

**Example:** Shoes

This path ends here.

<a id="step-891529"></a>

## event\_item\_brand

The brand of each product purchased.

**Type:** String

**Example:** Nike

This path ends here.

<a id="step-891537"></a>

## event\_item\_id\_mpn

The MPN of each product purchased.

MPN (Manufacturer Part Number) is the unique identifier used by brands to identify their products.

**Type:** String

**Example:** 000123456

This path ends here.

<a id="step-891530"></a>

## event\_custom\_data

Any additional information you wish to provide about this sale. 

  

**Type**: Event Dependent 

  
**Example**: Dependent on event

This path ends here.

<a id="step-4979060"></a>

## store\_id

The ID of the store in which the sale occurred.

We also highly recommend that you provide us with a Store Directory feed to enable us to effectively drive shoppers to your stores and improve campaign targeting.  

**Type:** Integer

**Example:** 75020

Next: [Store Directory](#step-4979061)

<a id="step-4979061"></a>

## Store Directory

See [Store Directory](#step-SHaqqKX3FY-775587) above.

This path ends here.
