Report
Reports - Spend
Daily spend aggregates scoped to the logged-in sponsor's org. Same scoping rules as clicks. Money returned as string DECIMAL — see the money-as-strings convention on the admin surface. Group by date, campaign, provider, segment.
get/sponsor/v1/reports/spend
Request
- Base URL: https://api.juju.com
- URL: https://api.juju.com/sponsor/v1/reports/spend
- Auth: none declared
Query parameters
fromstring date required
tostring date required
campaign_idinteger
group_bystring[]
Group-by dimensions (repeat or CSV). Allowed set is per report (see the reports changelog); default date. campaign_id accepts a single value or a CSV/repeat list.
bucket'day' | 'week' | 'month'
Date bucket: day|week|month (default day).
Response
Daily rows, ordered by report_date DESC.
Example response
{
"data": [
{
"spend": "4211.5500"
}
],
"errors": []
}Changes
No recorded changes to this operation across all 1 revision of this API.