Geo-location stats
Data regarding geo-location of the ad clicks
Available on:
Path parameters
-
ID of an account
Query parameters
-
Period to fetch stats for
Values are
TODAY
,YESTERDAY
,THIS_WEEK
,LAST_WEEK
,THIS_MONTH
,LAST_MONTH
,LAST_30_DAYS
, orLAST_3_MONTHS
.
GET /accounts/{account_id}/geo
curl \
-X GET https://api.clickguard.com/accounts/{account_id}/geo?period=TODAY \
-H "X-API-KEY: $API_KEY"
Response examples (200)
"{\n \"total_clicks\": {\n \"US\": 89,\n \"GB\": 28,\n \"AU\": 19,\n \"NL\": 10,\n \"CA\": 10,\n ...\n },\n \"suspicious_clicks\": {},\n \"flagged_clicks\": {\n \"US\": 15,\n \"GB\": 5,\n \"AU\": 1,\n \"NL\": 3,\n \"TR\": 2,\n ...\n },\n \"invalid_clicks\": {\n \"US\": 12,\n \"AU\": 2\n }\n}"
Response examples (200)
{
"total_clicks": {},
"suspicious_clicks": {},
"flagged_clicks": {},
"invalid_clicks": {}
}