hermosodocs

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. Generated from the running MCP server, like the rest of the tool 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

ParameterTypeDescription
adAccountIdstringMicrosoft ad account id — omit to use the single shared account
accountIdstringolder name for adAccountId (MCP only)
adGroupIdrequiredstringad group to place the image ad in
businessNamerequiredstringbusiness name shown on the ad, up to 25 characters
headlinesrequiredstring[]1-15 headlines, up to 30 characters each
longHeadlinesrequiredstring[]1-5 long headlines, up to 90 characters each
descriptionsrequiredstring[]1-5 descriptions, up to 90 characters each
finalUrlsrequiredstring[]landing page URL(s) the ad sends people to
imageUrlstringone picture, cut to both shapes for you
imagesobjectpictures by shape: {landscape, square, logo} URLs, instead of imageUrl
images.landscapestring1.91:1 picture URL
images.squarestring1:1 picture URL
images.logostringlogo picture URL
logoUrlstringlogo picture URL
callToActionstringSearch multimedia ads only, e.g. LearnMore, ShopNow, SignUp
videoIdsstring[]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
confirmbooleantrue 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.

All 759 Ad campaign management tools · tools.json