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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | ||
| until | No | ||
| account_id | Yes | ||
| date_preset | No |