preview_campaign
Validate a Google Ads campaign spec before creation. Runs a dry-run against the API, returning the rendered plan, errors, and a confirmation token for safe submission.
Instructions
Dry-run a campaign spec: lint it locally, then submit it to the Google Ads API with validate_only so nothing is written. Returns the rendered plan, any errors, and — if valid — a confirm_token to pass to create_campaign. Always call this before create_campaign; show the plan to the user.
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": {
"spec": "<spec>"
},
"name": "preview_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| spec | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |