Pushing Ad Costs to LeadByte
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 -
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 KEYNB:
- 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".
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
Comments