create_microsoft_ads_conversion_goal
Create a Microsoft Advertising conversion goal
Description
Create a Microsoft Advertising CONVERSION GOAL, read back. type: Url (a thank-you page: urlExpression + urlOperator), Event (a UET custom event: eventAction / eventCategory / eventLabel / eventValue), OfflineConversion (conversions uploaded from a CRM with send_microsoft_ads_offline_conversions — no tag; Microsoft asks for 2 hours before the first upload), Duration (minimumDurationSeconds) or PagesViewedPerVisit (minimumPagesViewed). Every type but OfflineConversion needs tagId (create_microsoft_ads_uet_tag). category is required for Url / Event / Offline. Free.
Parameters
| Parameter | Type | Description |
|---|---|---|
adAccountId | string | Microsoft ad account id — omit to use the single shared account |
accountId | string | older name for adAccountId (MCP only) |
namerequired | string | ≤100 characters, unique per customer |
typerequired | "Url" | "Event" | "OfflineConversion" | "Duration" | "PagesViewedPerVisit" | Url (thank-you page), Event (UET custom event), OfflineConversion, Duration or PagesViewedPerVisit |
tagId | string | UET tag id from create_microsoft_ads_uet_tag; not needed for OfflineConversion |
category | "AddToCart" | "BeginCheckout" | "BookAppointment" | "Contact" | "Download" | "GetDirections" | "OutboundClick" | "PageView" | "Purchase" | "RequestQuote" | "Signup" | "SubmitLeadForm" | "Subscribe" | "Other" | conversion category, e.g. Purchase or Signup; required for Url, Event and OfflineConversion |
urlExpression | string | Url goals: the thank-you page URL or path to match |
urlOperator | "Equals" | "BeginsWith" | "Contains" | "RegularExpression" | Url goals: how urlExpression matches the page: Equals, BeginsWith, Contains or RegularExpression |
eventAction | string | Event goals: UET custom event action |
eventCategory | string | Event goals: UET custom event category |
eventLabel | string | Event goals: UET custom event label |
eventValue | number | Event goals: numeric value attached to each event |
minimumDurationSeconds | number | Duration goals: visit length in seconds that counts as a conversion |
minimumPagesViewed | number | PagesViewedPerVisit goals: page count that counts as a conversion |
revenueType | "FixedValue" | "VariableValue" | "NoValue" | FixedValue (one value per conversion), VariableValue or NoValue |
revenue | number | FixedValue: the value of one conversion; VariableValue: the default |
currencyCode | string | 3-letter ISO currency code for the revenue value, e.g. USD |
countType | "All" | "Unique" | All or Unique: how repeat conversions are counted |
conversionWindowDays | number | 1–90 |
scope | "Account" | "Customer" | Account = this ad account only; Customer = shared across the customer |
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/create_microsoft_ads_conversion_goal.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_microsoft_ads_conversion_goal","arguments":{"name":"<string>","type":"<one of the listed values>"}}}
CLI
hermoso call create_microsoft_ads_conversion_goal --json '{"name":"<string>","type":"<one of the listed values>"}'
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
send_microsoft_ads_offline_conversionsSend offline + enhanced conversions to Microsoftcreate_microsoft_ads_uet_tagCreate a Microsoft Advertising UET taglist_microsoft_ads_audience_targetingAudiences on a Microsoft campaign or ad grouplist_microsoft_ads_uet_tagsList Microsoft Advertising UET tagsset_microsoft_ads_audience_targetingTarget or exclude a Microsoft audienceset_microsoft_ads_biddingChange a Microsoft Advertising bid strategycreate_microsoft_ads_image_adCreate a Microsoft image ad from a render (paused)manage_microsoft_ads_negative_keyword_listManage a shared Microsoft negative keyword listupload_microsoft_ads_videoUpload a video to Microsoft Advertisingremove_microsoft_ads_negative_keywordsRemove Microsoft Advertising negative keywords