create_meta_ad
ActiveTool of Hermoso
Build a complete, ready-to-run Meta ad from image creative(s): campaign → ad set (targeting + daily budget) → creative → ad(s), ALL created PAUSED — it spends NOTHING until you activate the campaign with set_meta_campaign_status(confirm:true). This is the "create a campaign and put the ads on it" path. Pass adAccountId (from list_meta_pages), an imageUrl (or imageUrls for one ad each), the primary message, and a destination link. IMAGE ads only for now. Needs ads-management on the connected account.
Parameters schema
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"adAccountId"
],
"properties": {
"cta": {
"type": "string",
"description": "call-to-action, e.g. SHOP_NOW / LEARN_MORE / SIGN_UP (default LEARN_MORE)"
},
"link": {
"type": "string",
"description": "destination URL (defaults to the brand domain)"
},
"name": {
"type": "string",
"description": "base name for the campaign/ad set/ads"
},
"pageId": {
"type": "string",
"description": "Page id from list_meta_pages; omit = first Page"
},
"country": {
"type": "string",
"description": "2-letter targeting country (default US)"
},
"message": {
"type": "string",
"description": "primary ad text"
},
"headline": {
"type": "string",
"description": "optional headline"
},
"imageUrl": {
"type": "string",
"description": "public https image URL for the ad creative"
},
"imageUrls": {
"type": "array",
"items": {
"type": "string"
},
"description": "several image URLs → one ad each"
},
"objective": {
"enum": [
"OUTCOME_TRAFFIC",
"OUTCOME_AWARENESS",
"OUTCOME_ENGAGEMENT",
"OUTCOME_LEADS",
"OUTCOME_SALES"
],
"type": "string",
"description": "default OUTCOME_TRAFFIC"
},
"campaignId": {
"type": "string",
"description": "attach to an existing campaign instead of creating one"
},
"adAccountId": {
"type": "string",
"description": "ad account id (act_… or digits — from list_meta_pages)"
},
"dailyBudgetUsd": {
"type": "number",
"description": "ad-set daily budget USD (1–10000, default 10) — spends only once ACTIVE"
}
}
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
Hermoso
https://github.com/hermoso-ai/hermoso
1/7 registries