Report
Reports - Earnings
Daily share-adjusted earnings, publisher-flavored. Admin sees system-wide; narrow with publisher_id or publisher_account_id. Uses the snapshotted publisher_earnings on the rollup (share applied at roll time), so a later cpc_share change does not re-rate closed history. Group by date, account, publisher, provider.
get/admin/v1/reports/earnings
Request
- Base URL: https://api.juju.com
- URL: https://api.juju.com/admin/v1/reports/earnings
- Auth: none declared
Query parameters
fromstring date required
tostring date required
publisher_idinteger
publisher_account_idinteger
job_provider_idinteger
group_bystring[]
Group-by dimensions (repeat or CSV). Allowed set is per report (see the reports changelog); default date. Id filters accept 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": [
{
"earnings": "2948.09"
}
],
"errors": []
}Changes
No recorded changes to this operation across all 1 revision of this API.