create_microsoft_ads_image_ad
Create a Microsoft image ad from a render (paused) destructive
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) |
adGroupIdrequired | string | ad group to place the image ad in |
businessNamerequired | string | business name shown on the ad, up to 25 characters |
headlinesrequired | string[] | 1-15 headlines, up to 30 characters each |
longHeadlinesrequired | string[] | 1-5 long headlines, up to 90 characters each |
descriptionsrequired | string[] | 1-5 descriptions, up to 90 characters each |
finalUrlsrequired | 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.
Related tools
upload_fileUpload a local file -> durable public URLupload_microsoft_ads_videoUpload a video to Microsoft Advertisingset_microsoft_ads_audience_targetingTarget or exclude a Microsoft audiencelist_microsoft_ads_audience_targetingAudiences on a Microsoft campaign or ad grouplist_microsoft_ads_audiencesList Microsoft Advertising audiences (Customer Match lists)create_microsoft_ads_conversion_goalCreate a Microsoft Advertising conversion goalcreate_microsoft_ads_customer_listCreate an empty Microsoft Advertising Customer Match listcreate_microsoft_ads_uet_tagCreate a Microsoft Advertising UET tagapply_microsoft_ads_customer_listUpload customer emails into a Microsoft Customer Match listlist_microsoft_ads_uet_tagsList Microsoft Advertising UET tags