Create or Update Microsoft Ads Ad
create_update_microsoft_ads_adCreate or update a Microsoft Ads text ad. An id selects an existing ad for update. Headlines are limited to 30 characters and descriptions to 90; repeated copy is rejected. Returns the ad definition or a validation/platform error.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | The existing ad ID to update. If omitted, a new ad will be created. | |
| name | Yes | The name/label for the ad in Metadata platform (max 50 characters) | |
| headlines | Yes | List of headline texts for the Microsoft Ads ad (minimum 3, maximum 15 headlines, each max 30 characters). Every headline must be DISTINCT — the platform rejects the ad if two share the same text — and must not contain '!'. | |
| descriptions | Yes | List of description texts for the Microsoft Ads ad (2 to 4 descriptions — 2 is the platform minimum, a single-description ad is rejected). Each description MUST be 90 characters or fewer and MUST be distinct from the others. Count every character (incl. spaces/punctuation/emoji); target 70-85 chars to leave margin for sanitization. |