Skip to main content

Reconciliation

What It Doesโ€‹

Reconciliation lets you import actual cost data from your ad network and have Rinku recalculate campaign costs to match what the network actually charged you.

When you run traffic, Rinku estimates costs from the price you set in the campaign. The network charges by its own rules: it counts clicks that never reach the tracker, it may bill per impression, and it may adjust bids zone by zone (CPA Goal, smart bidding, custom zone bids). Reconciliation bridges that gap: you upload a report from the network, Rinku compares spend per zone, calculates a correction coefficient, and applies it so your ROI figures reflect real spend.

Reconciliation is available on all plans.


How It Worksโ€‹

Reconciliation operates at zone level. In Rinku, the zone is the value stored in the net_source field of the click (shown as Source in Analytics). Rinku groups your traffic by that value and compares:

  • Rinku Costs: what Rinku calculated from the price set in the campaign
  • RC Costs: what the network reports it charged you for that zone

From those two numbers, Rinku derives a correction coefficient:

Coefficient = RC Costs / Rinku Costs

It then applies that coefficient to every click of the zone:

Adjusted Cost = Original Cost ร— Coefficient

If the network charged you more than Rinku estimated, the coefficient is above 1 and costs go up. If the network charged less, costs go down. Clicks are not changed, only costs.

After the import, Analytics, profit, ROI and optimization rules use the adjusted costs. Alerts that were already triggered before the import keep the values they had at that moment.


Before You Importโ€‹

Campaign requirementsโ€‹

  • The campaign must use the CPC pricing model with a cost above zero. The coefficient needs a base to scale. If Rinku Costs for a zone are 0, the coefficient is 0 and the zone's cost stays at 0, even if the file has a positive amount. The price does not need to be accurate: any non-zero estimate works, because the import replaces it with the real spend.
  • CPA campaigns are not affected by reconciliation. On the CPA model, cost comes from conversions, not from clicks. This is expected: on pure CPA you pay per conversion.
  • Using a conversion-based bidding strategy? What matters is how the network bills you, not what the strategy is called. If you still pay per impression or click, for example with Adsterra CPA Goal rules on top of CPM or CPC traffic, create the campaign in Rinku with the CPC model, then reconcile.
  • The zone must arrive in net_source. Integrated sources fill this in for you. For custom sources, put the network's zone macro next to net_source in the source settings. See Create a Traffic Source.

What to export from your networkโ€‹

Download a report from your ad network, broken down by zone, for the period you want to reconcile. The file must contain:

ColumnRequiredDescription
Zone / SourceYesThe zone ID, exactly as it is stored in net_source
ClicksYesNumber of clicks the network counted. Shown for comparison, not used in the calculation
CostYesAmount the network charged for that zone
CreativeNoInclude if you want to reconcile by zone + creative

The column names in your file can be anything: you'll map them to Rinku's fields during import.

Supported formats: CSV (comma, semicolon or tab separated) and XLSX (first sheet, first row is the header).

File format rulesโ€‹

  • Numbers only in the cost column. 24.31 and 24,31 work. Values with a currency symbol ($12.30) or a thousands separator (1,234.56) are not read and count as 0.
  • Same currency as the campaign. Rinku does not convert currencies during import.
  • No totals row. A summary line at the bottom of the file is processed like any other row. Remove it before importing.
  • Long numeric IDs: prefer CSV. Spreadsheet apps can round long numbers such as 18-digit Facebook ad IDs. Upload the CSV as exported and don't resave it in Excel.
  • One file per campaign. Each import applies to the campaign you start it from.

Importing a Fileโ€‹

Step 1: Find your campaignโ€‹

Go to Campaigns. In the campaign list, find the campaign you want to reconcile and click Upload stats in its action row.

Step 2: Upload your fileโ€‹

A modal will open. Select your CSV or XLSX file. Use Preview file to check the first rows before importing.

Step 3: Map the columnsโ€‹

Tell Rinku which column in your file corresponds to each field:

Rinku FieldMaps toNotes
Source (net_source)Your zone columnRequired. Values must match net_source exactly, including case
ClicksYour clicks columnRequired. Shown next to Rinku clicks for comparison
CostsYour cost columnRequired. Used to calculate the coefficient
Include creativeYour creative columnOptional. When enabled, matching and the coefficient use the pair zone + creative, so the values must also match net_creative

Rows with the same zone (or zone + creative) are summed before matching.

Step 4: Choose the periodโ€‹

  • Apply to the whole campaign period (default): the costs in the file are reconciled against all clicks of each zone in the campaign, whatever their date.
  • Custom period: uncheck the box and set the start and end in UTC. Only clicks in this range are recalculated. The dates are taken from these fields, not from the file, so they should match the period of the report you exported.

For a daily routine, export yesterday's report from the network and import it with yesterday's dates.

Step 5: Importโ€‹

Click Import. Rinku runs a background job that:

  1. Aggregates your file by zone (and creative, if enabled)
  2. Matches each zone against the campaign's clicks
  3. Calculates a coefficient per zone
  4. Recalculates the cost of the matched clicks

When the task status changes to Completed, your campaign costs are updated.


Reviewing Resultsโ€‹

Open the task from the campaign's reconciliation log to see the breakdown:

ColumnWhat it shows
Source (net_source)Zone
CreativeCreative (if enabled)
Rinku ClicksClicks Rinku tracked for that zone
Rinku CostsCosts Rinku calculated
Source ClicksClicks from your network file
Source CostsCosts from your network file
CoefficientSource Costs รท Rinku Costs

The task header also shows the mapping you used, the number of rows, and unmatched clicks / unmatched cost: zones from your file for which Rinku found no clicks in the campaign and period.


Re-importingโ€‹

Every import creates a new task. For the zones and period in the new file, Rinku recalculates from the original cost of each click, so coefficients never stack. Zones and dates that are not in the new file keep the result of earlier imports.

This means you can safely upload the same day again when the network finalizes its numbers.


Resetting Reconciliationโ€‹

To undo all imports, click Reset recalculation on the campaign. It restores every click of the campaign to its original cost and removes the reconciliation data. The task history and click counts are kept.

You can then import a corrected file.


Common Issuesโ€‹

Zone IDs in my file don't match what Rinku showsโ€‹

The zone column must contain exactly the value stored in net_source. Check Analytics โ†’ group by Source to see how Rinku recorded the zones, then compare with your export (e.g. zone_100 vs. 100, extra spaces, different case).

Some rows show as unmatchedโ€‹

Unmatched rows are zones in your file for which Rinku found no clicks. Common causes:

  • Zone ID format mismatch
  • The selected period doesn't overlap with the campaign's traffic
  • The zone was not part of this campaign
  • A totals row or other non-zone line in the file

Costs became zero after importโ€‹

  • The campaign has no cost set (Rinku Costs are 0), so the coefficient is 0. Set a non-zero CPC estimate and import again.
  • The cost column contains currency symbols or thousands separators, so the values were read as 0. Clean the column and import again.

Costs didn't changeโ€‹

  • The campaign uses the CPA model. Reconciliation changes click costs, which CPA campaigns don't use.
  • The selected period doesn't cover the clicks you expected.

The import task shows an errorโ€‹

Open the task to see the error message. Most errors are caused by:

  • A required column not being mapped
  • An empty file

Re-upload a corrected file and run the import again.

I imported the wrong fileโ€‹

Use Reset recalculation to revert to original costs, then import the correct file.


Next Stepsโ€‹