# Hermoso: create_microsoft_ads_conversion_goa · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/create_microsoft_ads_conversion_goal/. Generated from the shipped page. Do not edit by hand.
> Full agent guide: https://hermoso.ai/llms.txt · MCP: https://app.hermoso.ai/mcp

[Docs](https://hermoso.ai/docs/) / [Tool reference](https://hermoso.ai/docs/reference/) / [Ad campaign management](https://hermoso.ai/docs/reference/ads/) / create_microsoft_ads_conversion_goal

# `create_microsoft_ads_conversion_goal`

Create a Microsoft Advertising conversion goal

Area: Microsoft Advertising: negatives, bidding, conversion tracki… · [Ad campaign management](https://hermoso.ai/docs/reference/ads/). Generated from the running MCP server, like the rest of the [tool reference](https://hermoso.ai/docs/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

Parameter Type Description

`adAccountId` `string` Microsoft ad account id — omit to use the single shared account

`accountId` `string` older name for adAccountId (MCP only)

`name` required `string` ≤100 characters, unique per customer

`type` required `"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](https://hermoso.ai/docs/credits/).

## Related tools

- [send_microsoft_ads_offline_conversions](https://hermoso.ai/docs/reference/ads/send_microsoft_ads_offline_conversions/) Send offline + enhanced conversions to Microsoft
- [create_microsoft_ads_uet_tag](https://hermoso.ai/docs/reference/ads/create_microsoft_ads_uet_tag/) Create a Microsoft Advertising UET tag
- [list_microsoft_ads_audience_targeting](https://hermoso.ai/docs/reference/ads/list_microsoft_ads_audience_targeting/) Audiences on a Microsoft campaign or ad group
- [list_microsoft_ads_uet_tags](https://hermoso.ai/docs/reference/ads/list_microsoft_ads_uet_tags/) List Microsoft Advertising UET tags
- [set_microsoft_ads_audience_targeting](https://hermoso.ai/docs/reference/ads/set_microsoft_ads_audience_targeting/) Target or exclude a Microsoft audience
- [set_microsoft_ads_bidding](https://hermoso.ai/docs/reference/ads/set_microsoft_ads_bidding/) Change a Microsoft Advertising bid strategy
- [create_microsoft_ads_image_ad](https://hermoso.ai/docs/reference/ads/create_microsoft_ads_image_ad/) Create a Microsoft image ad from a render (paused)
- [manage_microsoft_ads_negative_keyword_list](https://hermoso.ai/docs/reference/ads/manage_microsoft_ads_negative_keyword_list/) Manage a shared Microsoft negative keyword list
- [upload_microsoft_ads_video](https://hermoso.ai/docs/reference/ads/upload_microsoft_ads_video/) Upload a video to Microsoft Advertising
- [remove_microsoft_ads_negative_keywords](https://hermoso.ai/docs/reference/ads/remove_microsoft_ads_negative_keywords/) Remove Microsoft Advertising negative keywords

[All 759 Ad campaign management tools](https://hermoso.ai/docs/reference/ads/) · [tools.json](https://hermoso.ai/docs/reference/tools.json)
