# Hermoso: upload_campaign_results · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/upload_campaign_results/. 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/) / upload_campaign_results

# `upload_campaign_results`

Upload your own results per campaign destructive

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

Your own numbers per ad campaign per day (sales, revenue, qualified_leads, cogs, gross_profit or any snake_case metric) so campaign_profit can put them next to each platform’s spend. Each row: date (YYYY-MM-DD, up to 400 days back), exactly one of campaignId, utmCampaign or campaignName, optional adAccountId, platform and currency, and values {metric: number}. Or pass csv with a header row: date, then a campaign id, utm campaign or campaign name column, then metric columns. Re-sending a day replaces it. action list reads what is stored (from / to); action clear removes rows in a window (optionally one campaign). Up to 1,000 rows per call. Free.

## Parameters

Parameter Type Description

`action` `"upload" | "list" | "clear"` default upload when rows or csv is given, else list

`rows` `object[]` rows to save

`rows[].date` required `string` YYYY-MM-DD

`rows[].campaignId` `string` platform campaign id

`rows[].utmCampaign` `string` utm_campaign on its ads

`rows[].campaignName` `string` campaign name, any case

`rows[].adAccountId` `string` narrows matching to one ad account

`rows[].platform` `string` meta, google_ads, tiktok_ads …

`rows[].currency` `string` ISO code of revenue / cogs

`rows[].values` required `object` 1-20 metrics, e.g. {"sales": 2, "revenue": 180, "cogs": 60}

`csv` `string` the same rows as CSV text

`from` `string` list / clear: YYYY-MM-DD

`to` `string` list / clear: YYYY-MM-DD

`campaign` `string` clear: only this campaign

## 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/upload_campaign_results`.

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

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

`hermoso call upload_campaign_results --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

- [campaign_profit](https://hermoso.ai/docs/reference/ads/campaign_profit/) Profit per ad campaign
- [conversion_insights](https://hermoso.ai/docs/reference/ads/conversion_insights/) Customer journeys, touch paths and lifetime value
- [set_profit_settings](https://hermoso.ai/docs/reference/ads/set_profit_settings/) Set margin and cost per order for profit
- [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
- [send_conversion_event](https://hermoso.ai/docs/reference/ads/send_conversion_event/) Send a conversion to every ad platform at once

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