add_call_extension
Create a call extension for Microsoft Ads and attach it to a campaign or ad group to add a clickable phone number in ads.
Instructions
Create a call extension and optionally attach it to a campaign or ad group.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| entity_id | No | Campaign or ad group id to associate it with (omit to create unattached). | |
| country_code | No | Two-letter country code for the number (default "US"). | US |
| is_call_only | No | Whether the extension shows only the phone number (no website click). | |
| phone_number | Yes | The phone number to show (e.g. "2065550100"). | |
| association_type | No | "Campaign" or "AdGroup" (default "Campaign"). | Campaign |
| is_call_tracking_enabled | No | Turn on Microsoft call tracking (US/UK only) so call-from-ad conversions are measured. Microsoft displays a forwarding number instead of the raw number; new forwarding numbers are local (toll-free is no longer provisioned). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| ids | No | ||
| message | Yes | ||
| partial_errors | No |