billing_get_account_spend
Get the total amount spent by an ad account. Use date parameters to aggregate spend for a specific period, or omit them for lifetime total.
Instructions
Get total amount spent by an ad account.
If no date params: returns lifetime amount_spent on the account. If date params provided: aggregates spend from insights for that period.
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": {
"account_id": "<account_id>"
},
"name": "billing_get_account_spend"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| until | No | ||
| account_id | Yes | ||
| date_preset | No |