create_microsoft_ads_ad_group
Add a Microsoft Advertising ad group destructive
Description
Add an ad group to an existing Microsoft Advertising campaign — optionally with its responsive search ad and keywords in the same call. Created Paused by default. If the parent campaign is already LIVE (Active), creating this ad group Active starts REAL AD SPEND on the next auction, exactly like activating it — show the user what would begin serving, get an explicit yes, then pass confirm:true. Leaving it Paused never needs confirmation. Read back from Microsoft before you are told it exists.
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) |
campaignIdrequired | string | the campaign this ad group belongs to |
namerequired | string | ad group name, ≤256 characters |
status | "Active" | "Paused" | default Paused |
cpcBid | number | default max CPC in the account currency |
language | string | required if the campaign has no language set |
ad | object | create the responsive search ad in the same call |
ad.headlines | string[] | 3–15 headlines, each ≤30 characters |
ad.descriptions | string[] | 2–4 descriptions, each ≤90 characters |
ad.finalUrls | string[] | the landing page(s) — at least one is required. A Hermoso page works: publish_page’s live URL, or get_page adDestinations. |
ad.path1 | string | display-URL path segment, ≤15 chars, no "/" |
ad.path2 | string | second display-URL path segment (only with path1) |
keywords | object[] | keywords to add: [{text, matchType, bid, status}]; status defaults to Paused |
keywords[].textrequired | string | ≤100 characters |
keywords[].matchType | "Exact" | "Phrase" | "Broad" | default Phrase — Microsoft has no broad-match-modifier |
keywords[].bid | number | per-keyword max CPC in the account currency |
keywords[].status | "Active" | "Paused" | default Paused |
confirm | boolean | REQUIRED true to create this Active under a LIVE campaign |
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_ad_group.
MCP (tools/call)
{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"create_microsoft_ads_ad_group","arguments":{"campaignId":"<string>","name":"<string>"}}}
CLI
hermoso call create_microsoft_ads_ad_group --json '{"campaignId":"<string>","name":"<string>"}'
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
create_microsoft_ads_campaignBuild a Microsoft Advertising campaign (paused)create_microsoft_ads_adCreate a Microsoft responsive search admicrosoft_ads_geo_searchFind Microsoft Advertising location idsadd_microsoft_ads_keywordsAdd Microsoft Advertising keywordsmicrosoft_ads_budget_opportunitiesWhere Microsoft says budget is capping deliverysearch_microsoft_ads_profilesFind Microsoft Advertising LinkedIn profile idsmicrosoft_ads_traffic_estimatesMicrosoft Advertising traffic estimateslist_microsoft_ads_profile_targetingRead a Microsoft Advertising campaign’s LinkedIn profile targetingmicrosoft_ads_keyword_ideasMicrosoft Advertising keyword plannerset_microsoft_ads_profile_targetingSet LinkedIn profile targeting on a Microsoft Advertising campaign