Skip to main content
GET
/report/insight/revenue-analytics/metric

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Query Parameters

uid
integer
required

Publisher ID

range
enum<string>

Date range. All ranges exclude today and run up to yesterday

Available options:
custom,
all_time,
seven_days,
fourteen_days,
thirty_days,
three_months,
six_months,
week_to_date,
month_to_date,
quarter_to_date,
year_to_date,
last_week,
last_month,
last_quarter,
last_year,
month_on_month,
quarter_on_quarter,
yesterday
start
string<date>

Start date when range=custom

end
string<date>

End date when range=custom

date_group
string

Date grouping when range=custom

rev_type
enum<string>
default:gross

Revenue type

Available options:
gross,
net
tab
enum<string>
default:page_views

Metric to report on

Available options:
page_views,
sessions,
total_users,
ad_requests,
unit_loads

Response

200 - application/json
results
object
required
success
boolean
required