hermosodocs

create_microsoft_ads_conversion_goal

Create a Microsoft Advertising conversion goal

Area: Microsoft Advertising: negatives, bidding, conversion tracki… · Ad campaign management. Generated from the running MCP server, like the rest of the tool reference.

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

ParameterTypeDescription
adAccountIdstringMicrosoft ad account id — omit to use the single shared account
accountIdstringolder name for adAccountId (MCP only)
namerequiredstring≤100 characters, unique per customer
typerequired"Url" | "Event" | "OfflineConversion" | "Duration" | "PagesViewedPerVisit"Url (thank-you page), Event (UET custom event), OfflineConversion, Duration or PagesViewedPerVisit
tagIdstringUET 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
urlExpressionstringUrl 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
eventActionstringEvent goals: UET custom event action
eventCategorystringEvent goals: UET custom event category
eventLabelstringEvent goals: UET custom event label
eventValuenumberEvent goals: numeric value attached to each event
minimumDurationSecondsnumberDuration goals: visit length in seconds that counts as a conversion
minimumPagesViewednumberPagesViewedPerVisit goals: page count that counts as a conversion
revenueType"FixedValue" | "VariableValue" | "NoValue"FixedValue (one value per conversion), VariableValue or NoValue
revenuenumberFixedValue: the value of one conversion; VariableValue: the default
currencyCodestring3-letter ISO currency code for the revenue value, e.g. USD
countType"All" | "Unique"All or Unique: how repeat conversions are counted
conversionWindowDaysnumber1–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.

All 759 Ad campaign management tools · tools.json