hermosodocs

upload_campaign_results

Upload your own results per campaign destructive

Area: CONVERSIONS HUB + PROFIT PER CAMPAIGN · Ad campaign management. Generated from the running MCP server, like the rest of the tool 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

ParameterTypeDescription
action"upload" | "list" | "clear"default upload when rows or csv is given, else list
rowsobject[]rows to save
rows[].daterequiredstringYYYY-MM-DD
rows[].campaignIdstringplatform campaign id
rows[].utmCampaignstringutm_campaign on its ads
rows[].campaignNamestringcampaign name, any case
rows[].adAccountIdstringnarrows matching to one ad account
rows[].platformstringmeta, google_ads, tiktok_ads …
rows[].currencystringISO code of revenue / cogs
rows[].valuesrequiredobject1-20 metrics, e.g. {"sales": 2, "revenue": 180, "cogs": 60}
csvstringthe same rows as CSV text
fromstringlist / clear: YYYY-MM-DD
tostringlist / clear: YYYY-MM-DD
campaignstringclear: 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.

All 759 Ad campaign management tools · tools.json