upload_campaign_results
Upload your own results per campaign destructive
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[].daterequired | 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[].valuesrequired | 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.
Related tools
campaign_profitProfit per ad campaignconversion_insightsCustomer journeys, touch paths and lifetime valueset_profit_settingsSet margin and cost per order for profitconversion_eventsStored conversion eventsconversion_destinationsAd platforms a conversion goes tosend_conversion_eventSend a conversion to every ad platform at once