Pushing Ad Costs to LeadByte

Follow

In order to know how profitable your business really is, you need to compare ALL your costs vs your revenue.

LeadByte allows you to submit costs from your various sources in order to be shown on our reports and compare it against your revenue. We do this by providing you a URL to post any ad costs 

 

CAVEAT 

LeadByte cannot help with pulling the costs from your ad platform. 

This is a process you'll need to handle outside of LeadByte.

Platforms like Zapier or Make should be capable of helping you with this. 

 

Step 1 - REST API key settings

Ensure your REST API key has the Ad Costs permission enabled.

Find this under the campaigns section of the REST API key permissions - 

28301fbb-1d70-4aa1-bbf3-c2e3d08537bc.png

 

Step 2 - Post your Ad Costs to LeadByte

[POST] https://[YOUR ACCOUNT NAME].leadbyte.co.uk/adcosts

{
	"campaign_id": "123",
	"cost": "120.50",
	"timestamp": "2026-04-15T23:00:00Z",
	"currency": "GBP"
}

Headers:
X_KEY: YOUR API KEY

NB:

  • All 4 fields in the body are required. 
  • If you have no time for the timestamp, submit 00:00:00Z
  • The campaign_id refers to your LeadByte campaign

 

Step 3 - Reporting

Currently, the Ad Costs submitted to LeadByte are only found under the "Campaign Overview" report when grouped by "Campaign".

66cee668-0cb0-4c58-9e6c-0a7b38378896.png

 

Ticking the Ad Spend box will:

  • Add a column to your report called Ad Cost
  • Amend your profit and CPL values to reflect the added cost
a4586661-5d26-4578-8cf7-7ecd272e619e.png
Was this article helpful?
0 out of 0 found this helpful

Comments