create_ad_account_spend_limit_window
Set an ad account spend cap for a date range using inclusive start and exclusive end timestamps, preventing overspending.
Instructions
Create a spend limit window with inclusive start and exclusive end. Use to cap spend over a date range.
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": {
"start_time": "<start_time>",
"end_time": "<end_time>",
"spend_limit_micros": "<spend_limit_micros>"
},
"name": "create_ad_account_spend_limit_window"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_time | Yes | Exclusive end as unix seconds. | |
| start_time | Yes | Inclusive start as unix seconds. | |
| ad_account_id | No | Optional ad account ID override. | |
| spend_limit_micros | Yes | Spend cap in micros (1 USD = 1,000,000). |