Edit a Microsoft Advertising conversion goal
msads_update_conversion_goalChange an existing conversion goal: its name, conversion window, count type (All or Unique) and, depending on its type, the page it matches (Url goals: urlExpression/urlOperator) or the event action it matches (Event goals: actionExpression/actionOperator). Only the fields you pass change. Pause or resume a goal with msads_set_conversion_goal_status instead. Changing a live goal changes what msads_get_campaign_performance reports and what automated bidding learns from. Returns before and after values. Use dryRun first.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"goalId": "<goalId>"
},
"name": "msads_update_conversion_goal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | New goal name, up to 100 characters, unique for the customer. | |
| dryRun | No | Preview only. Microsoft has no validate-only mode, so Caybl reads the current value and shows exactly what would change (before and after) without sending anything. Free, and cannot affect spend. | |
| goalId | Yes | Goal id, from msads_get_conversion_tracking. | |
| accountId | No | Microsoft Advertising account id or account number (e.g. 'F123ABCD'), as listed by msads_list_accounts. Only needed when the sign-in can reach more than one account. | |
| countType | No | All counts every conversion; Unique counts one per click. | |
| urlOperator | No | Url goals only: how to match the page. | |
| urlExpression | No | Url goals only: the new page address to match. | |
| actionOperator | No | Event goals only: how to match the action. | |
| actionExpression | No | Event goals only: the new event action to match, e.g. sign_up. | |
| conversionWindowMinutes | No | New conversion window in minutes (max 90 days). |