Change Google Ads (create, update, pause, remove)
google_ads_mutateCreates, updates, pauses or removes Google Ads resources in one account with the API's GoogleAdsService.Mutate: campaigns, campaign budgets, ad groups, ads, keywords (ad group criteria), negative keywords, assets... operations is the API's mutateOperations array, each item one of campaignOperation, campaignBudgetOperation, adGroupOperation, adGroupAdOperation, adGroupCriterionOperation, campaignCriterionOperation..., with create, update (+ updateMask) or remove (a resource name). Resource names: customers/{customerId}/campaigns/{campaignId}; temporary ids (-1, -2) link new resources in one call. Money is in micros of the account currency (10 EUR = 10000000). Create new campaigns PAUSED unless the user asked to start them: enabled campaigns and higher budgets spend real money. validateOnly: true makes Google check everything without changing anything. Returns the resource names created or changed; Google's explanation in detail on error.
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": {
"customerId": "<customerId>",
"operations": "<operations>"
},
"name": "google_ads_mutate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| customerId | Yes | Google Ads customer id, as returned by google_ads_list_accounts. | |
| operations | Yes | mutateOperations, as in the Google Ads API (REST JSON, camelCase). | |
| validateOnly | No | true: Google validates the operations and changes nothing. | |
| partialFailure | No | true: valid operations are applied even if others fail. |