You can use the following methods to access our reporting API:
Site level report:
http://report.smpush.com/ads-api/reports/{api_key}?from={date_from}&to={date to}&client_id={pub_id}
Valid Response (example)
[
{
"statDate": "2019-10-29",
"country": "Canada",
"siteUrl": "Publisher/Site Name",
"widget_impressions": "0",
"os": "Android",
"active_subscribers": "1230",
"payout": "3.52",
"impressions": "49880",
"subscription_declines": "0",
"sends": "1",
"deliveries": "1",
"browser": "Chrome",
"clicks": "1000",
"bounces": "0",
"device": "Mobile Phone",
"new_subscriptions": "0"
}
]
Things to know
1. Max data access is 6 months old.
date limitation exceeded
2. Max dates in every pull cannot exceed 2 months
date limitation exceeded
3. api key & pubid must match
Bad credentials
4. Date format is yyyy-mm-dd