Commerce Catalyst Conversion Imports

Retailers record purchases in their own systems, in store and online. A conversion import takes a file of those purchases and gives it to AdButler, which credits each one to the ads the shopper saw before buying. This is closed-loop attribution, and the matches show in your conversion reports and on the import itself. Commerce Catalyst checks every row first and shows you what it found, so nothing reaches AdButler until you click Send. You will learn:

  1. How to get your account ready.
  2. How AdButler matches a purchase.
  3. How to prepare your file.
  4. How to run an import.
  5. Where matched purchases show.
  6. How to import with the API.
Conversion imports are switched on for each organization by SparkLIT support. If you do not see Conversions in Commerce Catalyst, email support and we will set your organization up.


Before you start

For purchases to be matched to ads, the AdButler account needs three things in place.

  • A product catalog: holding the SKUs that appear in your file. Purchases are matched by SKU.
  • Ads linked to catalog products: AdButler only credits purchases of SKUs an ad actually carried. Products can be linked to image and native ads as companion products, which SparkLIT support switches on for the account.
  • The shopper's ID on the ad request: the same ID that is in your file.
Custom HTML ads cannot carry products yet, even when the product ID is written into the HTML, so purchases from them are never matched.


Which shopper ID to use

  • A User DB ID: such as a loyalty number. This needs User DB on the account, and it works both in store and online.
  • An anonymous ID (adb_uid): for online purchases. No User DB is needed, but your site must send its own shopper or session ID as the adb_uid parameter on every ad request, and your file must use that same ID.
Without adb_uid, ads are recorded with no shopper ID and no purchase can be matched. AdButler records its own browser ID only on accounts with User DB.
Keep the ID the same for a shopper for at least 14 days. Purchases made after it changes cannot be matched.
In-store purchases need a User DB ID, because the shopper has no browser ID at the till.

The import page checks all of this when it opens and tells you what is missing.




How AdButler matches a purchase

  • The lookback window: AdButler looks for an impression or click of an ad carrying the purchased SKU, for the same shopper, in the 14 days before the purchase and up to 10 minutes after it. The window is the same for every account and cannot be changed.
  • Last touch: the purchase is credited to the shopper's most recent impression or click, whichever came last. Clicks do not take priority over impressions, both kinds are always counted, and you cannot choose after-click only.
  • Timing: matching runs within an hour or two of each purchase time.
  • Counted once: each purchase, meaning each transaction ID and SKU together, is credited once. Sending the same purchase again never counts it twice.
  • Age limit: purchases older than 28 days cannot be imported. They would rarely match, and they are expensive for AdButler to look up.




Preparing your file

Your file is a CSV, separated by commas, semicolons or tabs, and up to 45 MB, which is about 500,000 rows. Use one row per item bought. A title line above the header row is skipped. Column names can be anything you like: you match them to the fields below when you upload, and your choice is remembered for next time.


Required fields

  • Shopper ID (user_id): the ID the shopper had when they saw the ad, either a User DB ID or the anonymous ID sent as adb_uid.
  • SKU (sku or product_id): the product bought, exactly as it appears in the catalog.
  • Purchase date and time (timestamp): ISO 8601 such as 2026-11-16T14:05:00-05:00, or YYYY-MM-DD HH:MM[:SS], or YYYY-MM-DD. Without a time zone, the AdButler account's time zone is used. A date on its own means the end of that day.


Optional fields

  • Transaction ID (transaction_id): your order or receipt number. Rows that share an ID are treated as one purchase. This one is strongly recommended.
  • Unit price (price): the price of a single unit. Currency symbols and thousands separators are fine.
  • Quantity (quantity): whole units, and it defaults to 1. Weighed items, such as 1.25, are sent as 1 item priced at the line total. A quantity of 0 is sent with a warning.
  • Discount (discount): the discount on that line.
  • Sales channel (sales_channel): for example in-store or online. Leave it out and the default you chose for the import is used.
Returns, meaning negative quantities, cannot be imported.


How rows become purchases

  • Without a transaction ID: rows for the same shopper at the same time become one purchase. Commerce Catalyst gives it a stable ID made from the account, the shopper and the purchase time, so re-sending the file still does not count it twice.
  • The same SKU on several lines: of one purchase is sent as a single line, with the quantities added and the price averaged by quantity, because AdButler credits a SKU once per purchase.


Rows that cannot be used

Rows with no shopper ID or SKU, an unreadable date, a date in the future or older than 28 days, or a price that is not a number are left out of the import. The summary shows how many of each, and the Rows with problems download lists every rejected row and what was wrong with it.

The Rows with problems download does not include shopper IDs or any other values from your file.




Running an import

Conversions, next to UserDB & Audiences, lists every import you have run. To add one, choose New import.

  1. Review the account check.
  2. Choose the catalog, the kind of shopper ID, the User DB if you are using one, and the default sales channel.
  3. Pick your file and match its columns. The first rows are shown so you can see how they will be read.
  4. Click Upload and check. Every row is checked in the background, and large files take a few minutes.
  5. Review the summary, then click Send.


What the progress tells you

  • Accepted: AdButler took the purchase.
  • Not recognised: AdButler refused it, almost always because the shopper ID is not in the chosen User DB.
  • Couldn't be sent: still failing after 5 tries.
If AdButler refuses 50 purchases in a row, the import pauses and shows the likely reason, so you can check before the rest go. Stop sending ends the import, and whatever was already sent stays sent.
When the import finishes, the person who uploaded it gets an email.
Sending the same file again, or a file holding purchases from an earlier import, asks you to confirm first.


Who can run an import

Anyone who can manage UserDB & Audiences, because purchases are shopper-level data. Brand portal users never see imports.




Where matched purchases show

  • On the import: Matched to ads shows how many of the purchases AdButler has matched so far, split by click and by view, with their value.
  • Reports, then Conversion details: one row per credited purchase, with the ad, the purchase time and value, and Attribution, which reads either Click or View with the date the shopper saw the ad. The same report is in AdButler as Conversion Details.
  • Conversion totals in the standard reports: conversions, conversion value and conversion rate count after-click purchases only. After-view purchases appear only in Conversion details and on the import.
Conversion details and Matched to ads both need Advanced Conversion Reporting on the account, and they show purchase matches only on accounts using AdButler's newer statistics storage. SparkLIT support can confirm both for your account.
These are the reports available today. There is no dedicated sales or return-on-ad-spend report for imported purchases yet.




Importing with the API

The same imports are available with a Commerce Catalyst API key, sent as Authorization: Bearer cc_…, whose owner can manage UserDB & Audiences.

The AdButler account key cannot be used for these endpoints.


The endpoints

  • GET /api/v1/self-service/conversion-imports/precheck: the account check, returning the account ID, time zone, catalogs, User DBs and any problems.
  • POST /api/v1/self-service/conversion-imports: the upload, as multipart/form-data, taking file, catalogId, idType (udb or adb), userDbId (with udb), salesChannel, mapping (JSON, field to column, optional and guessed from your headers otherwise) and send (true to send as soon as the file is checked).
  • GET /api/v1/self-service/conversion-imports: your imports, newest first.
  • GET /api/v1/self-service/conversion-imports/{id}: one import, with its status, counts and problems.
  • GET /api/v1/self-service/conversion-imports/{id}/errors.csv: the rows with problems.
  • GET /api/v1/self-service/conversion-imports/{id}/results: the purchases AdButler has matched.
  • POST /api/v1/self-service/conversion-imports/{id}/send: sends a checked import. Pass {"confirmRepeat": true} for a repeat.
  • POST /api/v1/self-service/conversion-imports/{id}/cancel: stops an import.
With send=true, an import that repeats an earlier one is not sent automatically. It waits as ready, with a message, for an explicit send.


An example upload

curl -X POST https://commercecatalyst.adbutler.com/api/v1/self-service/conversion-imports \
  -H "Authorization: Bearer cc_…" \
  -F file=@purchases-2026-11-16.csv -F catalogId=10029 -F idType=udb -F userDbId=7 -F salesChannel=in-store -F send=true


Webhooks

Webhooks tell your own system how an import went, so there is no need to poll for the result. See the webhooks guide for how to set them up.

  • conversion_import.completed: the import finished sending.
  • conversion_import.failed: the file could not be used.
  • conversion_import.paused: AdButler kept refusing purchases.
Each webhook carries data.conversionImport, the same object that GET /conversion-imports/{id} returns.

Can't find what you're looking for?

Send us an email

hello@adbutler.com

Visit the blog

For more ad serving tips, industry news and AdButler insights.