Marketing Analytics API

Fetch and analyze marketing campaign data with configurable parameters and multiple output formats

Test API Endpoint

Leave empty to use yesterday
Filter by subids containing this text

API Documentation

Endpoint

GET /api/revenue

Parameters
Parameter Type Required Description
start string Yes Start date in YYYY-MM-DD format
end string No End date in YYYY-MM-DD format (defaults to yesterday)
format string No Output format: "json" or "csv" (default: "json")
subid string No Filter results by subid containing this string
Response Fields
Field Type Description
datestringDate of the record
subidstringCampaign identifier
geostringGeographic market
searchesintegerTotal searches
bidded_searchesintegerBidded searches
clicksintegerTotal clicks
revenuefloatRevenue
rpmfloatRevenue per mille (RPM)
ctrfloatClick-through rate
Example Usage
GET /api/revenue?start=2024-01-01&end=2024-01-07&subid=subid_mask_1&format=json