How to Upload Conversions in Bulk in CAKE

This article will cover the following:


When to Use Bulk Conversion Upload

Bulk conversion upload lets you import or adjust large numbers of conversions at once without using the API or editing individual records. The most common use cases are:

Use CaseDescription
Offline conversion importYou collected conversions outside of CAKE (e.g. in-store purchases, phone orders) and need to import them with the correct affiliate attribution.
Reconciliation adjustmentAn advertiser has disputed or reversed a batch of conversions. You need to update the status of many records at once.
Missed postback recoveryPostback failures caused a window of missing conversions. You have the original click IDs and need to recreate the records.
Bulk status updateYou want to approve, reject, or reverse a large group of conversions that are currently in Pending status.
Payout correctionAn error in payout configuration means many conversions were recorded with the wrong payout amount.
Note:
Bulk uploads are permanent write operations. Always validate your CSV on a small test batch before uploading your full file. Reversed or incorrectly created conversions require manual correction or API intervention to fix.

CSV File Format and Required Fields

CAKE accepts bulk conversion data as a .csv file (comma-separated values). The file must have a header row with the exact column names shown below. Column order does not matter, but column names must match exactly.

Column NameRequiredDescription
click_idYesThe unique click ID generated when the user clicked the affiliate tracking link. This is the primary key that links the conversion back to the right affiliate and campaign.
offer_idYesThe numeric CAKE offer ID associated with this conversion.
conversion_dateYesDate and time of the conversion in ISO 8601 format: YYYY-MM-DD HH:MM:SS
payoutNoAffiliate payout amount for this conversion. Overrides the offer default if provided.
revenueNoAdvertiser revenue for this conversion. Overrides the offer default if provided.
unique_idNoYour system's unique transaction reference. Prevents duplicate conversion creation if the same file is uploaded twice.
order_idNoOrder or lead ID from the advertiser's system. Useful for cross-referencing.
statusNoConversion status: approved, pending, or rejected. Defaults to approved if omitted.
adv1NoCustom sub ID field 1.
adv2NoCustom sub ID field 2.
adv3NoCustom sub ID field 3.
adv4NoCustom sub ID field 4.
adv5NoCustom sub ID field 5.

Sample CSV

click_id,offer_id,conversion_date,payout,revenue,unique_id,order_id,status abc123xyz,12345,2024-06-01 09:22:00,5.00,12.00,TXN-001,ORD-8801,approved def456uvw,12345,2024-06-01 10:05:00,5.00,12.00,TXN-002,ORD-8802,approved ghi789rst,12345,2024-06-01 10:47:00,5.00,12.00,TXN-003,ORD-8803,pending
Caution:
Do not include a BOM (byte order mark) at the start of your CSV file. Some Excel exports include a BOM automatically — use a plain text editor or export tool that produces standard UTF-8 without BOM. BOM characters cause the header row to fail validation.

How to Upload a Conversion File

1
Go to Admin → Conversions in the top navigation.
2
Click Import Conversions or Bulk Upload (the exact label depends on your CAKE version).
3
Click Choose File and select your prepared CSV. Review the column mapping preview to confirm CAKE has correctly identified each field.
4
Select the duplicate handling option: skip duplicates (recommended) or overwrite. If your CSV includes a unique_id column, CAKE will use that for deduplication automatically.
5
Click Preview to see a sample of how the first few rows will be imported. Check that click IDs, dates, and amounts look correct.
6
Click Import. CAKE will process the file and display a results summary showing rows imported, rows skipped, and any errors.
7
Download the error report if any rows failed, correct the issues, and re-upload only the failed rows.
Tip:
Keep your import files under 5,000 rows per upload. Larger files take longer to process and are harder to troubleshoot if something goes wrong. Split large datasets into multiple smaller files and upload sequentially.

Mass Conversion Adjustments

In addition to importing new conversions, CAKE's bulk tools let you update the status or payout of existing conversion records in bulk. This is most commonly used for:

  • Approving a batch of Pending conversions after an advertiser review period.
  • Rejecting a batch of conversions flagged as fraudulent or non-compliant.
  • Reversing approved conversions after a return or chargeback window.

Steps for Mass Status Update

1
Run a Conversion Report filtered to the exact set of conversions you want to update (offer, date range, current status).
2
Export the report to CSV and keep only the conversion_id column alongside the new_status you want to apply.
3
Go to Admin → Conversions → Mass Update and upload your adjustment file.
4
Review the preview and confirm. CAKE will update all matching conversion records.
Caution:
Mass status updates that change conversions from Approved to Rejected or Reversed will reduce affiliate payout totals and may affect invoices that have already been generated. Coordinate with your billing team before running large reversals.

Mass Payout Adjustment via API

For precise payout corrections at scale, use the CAKE API's update_conversion endpoint rather than the bulk UI. See API Access & System Settings in CAKE to generate your API key, then call:

POST https://yourdomain.cakemarketing.com/api/2/update_conversion.json { "api_key": "YOUR_API_KEY", "conversion_id": 4456789, "payout": 7.50, "status": "approved" }

Handling Upload Errors

Error MessageCauseFix
Invalid click_idThe click ID in the row does not match any recorded click in CAKE.Verify the click ID is correct and has not been modified. If the original click occurred more than your data retention window allows, the record may no longer exist.
Offer not foundThe offer_id does not match any offer in your CAKE account.Double-check the offer ID. Use the Offers list to confirm the numeric ID, not the offer name.
Duplicate conversionA conversion with this click_id or unique_id has already been recorded.If the duplicate is intentional, remove the unique_id from the row to bypass deduplication. If it is not intentional, remove the row from your file.
Invalid date formatThe conversion_date is not in YYYY-MM-DD HH:MM:SS format.Reformat the date column. Common causes: Excel auto-formatting dates as MM/DD/YYYY or omitting the time component.
Session expiredThe conversion date is outside the offer's session window relative to the click.Increase the offer's session hours setting before re-uploading, or contact your account manager if the session window adjustment is not possible.
Invalid status valueThe status column contains a value other than approved, pending, or rejected.Correct the value. Common mistake: using Approved (capital A) instead of approved (lowercase).

FAQ

Can I upload conversions without a click ID?

No. A click ID is required for every conversion record — it is the key that CAKE uses to attribute the conversion to the correct affiliate and campaign. If you have offline conversions without click IDs, you will need to first create click records via the API or work with your account manager to configure a clickless postback tracking setup.

What happens if the same file is uploaded twice?

If your rows include a unique_id column, CAKE will skip any rows whose unique_id already exists in the system — preventing duplicate records. If no unique_id is provided, CAKE may create duplicate conversions. Always include a unique_id column in your import files.

Can I update payout amounts for conversions that have already been paid?

Payout amounts on paid conversions cannot be changed through the standard UI. For corrections to already-paid conversions, contact your CAKE account manager. Corrections of this nature typically require a manual billing adjustment.

Is there a row limit per upload file?

CAKE does not publish a hard row limit, but best practice is to keep files under 5,000 rows. Files above this size may time out during processing. For very large datasets, use the CAKE API's batch conversion endpoints instead.

Where can I see the status of a bulk upload in progress?

Check Admin → Conversions → Import History (or the equivalent in your CAKE version). Each upload job shows its status, start time, rows processed, and error count.


If you have any questions, please reach out to your dedicated CAKE Client Success Manager/Account Manager or contact the CAKE Support Team at support@getCAKE.com.


Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.