# Hermoso: campaign_profit: Profit per ad · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/campaign_profit/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / campaign_profit

# `campaign_profit`

Profit per ad campaign read-only

Area: CONVERSIONS HUB + PROFIT PER CAMPAIGN · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/reference/).

## Description

Profit per campaign across every connected ad platform: each campaign’s spend read live from the platform, joined to the brand’s own sales. Revenue per campaign comes from ONE source, strongest first: results you uploaded (upload_campaign_results), else conversion events sent through send_conversion_event and credited to campaigns under `model` (last_click default, first_touch, linear, position_based, time_decay), else Shopify / Stripe orders matched by utm_campaign. Never summed across sources, so one sale is never counted twice. Each row: spend, sales, revenue, profit (set_profit_settings), POAS, profit after ads, ROAS, cost per sale, the platform’s own reported conversions beside it, and which source the revenue came from. Money stays per currency; a platform that could not be read is named, never shown as zero. from / to (YYYY-MM-DD) or days, up to 92; platforms narrows it. Free.

## Parameters

Parameter Type Description

`from` `string` YYYY-MM-DD

`to` `string` YYYY-MM-DD, default today

`days` `number` the last N days; default 30

`platforms` `string[]` meta, google_ads, tiktok_ads, linkedin, microsoft_ads, pinterest_ads, reddit_ads, snapchat_ads, x_ads, openai_ads, apple_ads; default every connected one

`model` `"last_click" | "first_touch" | "linear" | "position_based" | "time_decay"` how event revenue is credited to campaigns; default last_click

`revenueFrom` `"uploads" | "events" | "store"[]` which revenue sources to use; default all three, in that order

`includeIdle` `boolean` true also lists campaigns with no spend and no sales

## Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and `POST https://app.hermoso.ai/v1/tools/campaign_profit`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"campaign_profit","arguments":{}}}`
**CLI**

`hermoso call campaign_profit --json '{}'`

## Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See [Credits & costs](https://hermoso.ai/docs/credits/).

## Related tools

- [upload_campaign_results](https://hermoso.ai/docs/reference/ads/upload_campaign_results/) Upload your own results per campaign
- [send_conversion_event](https://hermoso.ai/docs/reference/ads/send_conversion_event/) Send a conversion to every ad platform at once
- [set_profit_settings](https://hermoso.ai/docs/reference/ads/set_profit_settings/) Set margin and cost per order for profit
- [conversion_insights](https://hermoso.ai/docs/reference/ads/conversion_insights/) Customer journeys, touch paths and lifetime value
- [conversion_events](https://hermoso.ai/docs/reference/ads/conversion_events/) Stored conversion events
- [conversion_destinations](https://hermoso.ai/docs/reference/ads/conversion_destinations/) Ad platforms a conversion goes to

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
