# Hermoso: create_microsoft_ads_image_ad · Hermoso developer docs

> Machine-readable twin of https://hermoso.ai/docs/reference/ads/create_microsoft_ads_image_ad/. 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_image_ad

# `create_microsoft_ads_image_ad`

Create a Microsoft image ad from a render (paused) destructive

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

Turn a Hermoso render, or the user’s own picture (any https URL, or a file via upload_file), into a Microsoft Advertising IMAGE ad: a responsive ad on the Microsoft Audience Network (an Audience campaign) or a multimedia ad on Search. One imageUrl is centre-cropped to the 1.91:1 and 1:1 pictures Microsoft requires (or pass images{landscape, square, logo}), uploaded, and the ad is built PAUSED and read back with its pictures. businessName ≤25, 1–15 headlines ≤30, 1–5 longHeadlines ≤90, 1–5 descriptions ≤90. Search multimedia ads get a callToAction button (default LearnMore); Audience ads have none. videoIds attach videos from upload_microsoft_ads_video. Creating it Active in a live ad group needs confirm:true. 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)

`adGroupId` required `string` ad group to place the image ad in

`businessName` required `string` business name shown on the ad, up to 25 characters

`headlines` required `string[]` 1-15 headlines, up to 30 characters each

`longHeadlines` required `string[]` 1-5 long headlines, up to 90 characters each

`descriptions` required `string[]` 1-5 descriptions, up to 90 characters each

`finalUrls` required `string[]` landing page URL(s) the ad sends people to

`imageUrl` `string` one picture, cut to both shapes for you

`images` `object` pictures by shape: {landscape, square, logo} URLs, instead of imageUrl

`images.landscape` `string` 1.91:1 picture URL

`images.square` `string` 1:1 picture URL

`images.logo` `string` logo picture URL

`logoUrl` `string` logo picture URL

`callToAction` `string` Search multimedia ads only, e.g. LearnMore, ShopNow, SignUp

`videoIds` `string[]` video ids from upload_microsoft_ads_video to attach

`videoSubType` `"VideoMedia16X9" | "VideoMedia5X4" | "VideoMedia1X1" | "VideoMedia4X5" | "VideoMedia9X16"` aspect ratio of the attached video: 16x9, 5x4, 1x1, 4x5 or 9x16

`status` `"Active" | "Paused"` default Paused

`confirm` `boolean` true required to create the ad Active in a live ad group

## 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_image_ad`.

**MCP** (`tools/call`)

`{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_microsoft_ads_image_ad","arguments":{"adGroupId":"<string>","businessName":"<string>","headlines":"<array>","longHeadlines":"<array>","descriptions":"<array>","finalUrls":"<array>"}}}`
**CLI**

`hermoso call create_microsoft_ads_image_ad --json '{"adGroupId":"<string>","businessName":"<string>","headlines":"<array>","longHeadlines":"<array>","descriptions":"<array>","finalUrls":"<array>"}'`

## 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

- [upload_file](https://hermoso.ai/docs/reference/publish/upload_file/) Upload a local file -> durable public URL
- [upload_microsoft_ads_video](https://hermoso.ai/docs/reference/ads/upload_microsoft_ads_video/) Upload a video to Microsoft Advertising
- [set_microsoft_ads_audience_targeting](https://hermoso.ai/docs/reference/ads/set_microsoft_ads_audience_targeting/) Target or exclude a Microsoft audience
- [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_audiences](https://hermoso.ai/docs/reference/ads/list_microsoft_ads_audiences/) List Microsoft Advertising audiences (Customer Match lists)
- [create_microsoft_ads_conversion_goal](https://hermoso.ai/docs/reference/ads/create_microsoft_ads_conversion_goal/) Create a Microsoft Advertising conversion goal
- [create_microsoft_ads_customer_list](https://hermoso.ai/docs/reference/ads/create_microsoft_ads_customer_list/) Create an empty Microsoft Advertising Customer Match list
- [create_microsoft_ads_uet_tag](https://hermoso.ai/docs/reference/ads/create_microsoft_ads_uet_tag/) Create a Microsoft Advertising UET tag
- [apply_microsoft_ads_customer_list](https://hermoso.ai/docs/reference/ads/apply_microsoft_ads_customer_list/) Upload customer emails into a Microsoft Customer Match list
- [list_microsoft_ads_uet_tags](https://hermoso.ai/docs/reference/ads/list_microsoft_ads_uet_tags/) List Microsoft Advertising UET tags

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