Get clicks
Fetch all clicks processed by ClickGUARD in the given period
Available on:
Path parameters
-
ID of an account
Query parameters
-
Period to fetch the clicks for.
Values are
TODAY
,YESTERDAY
,THIS_WEEK
,LAST_WEEK
,THIS_MONTH
,LAST_MONTH
,LAST_30_DAYS
, orLAST_3_MONTHS
. -
sort string
Sort the clicks by a specified parameter. Use '-' prefix to indicate a descending sort. Default: '-timestamp'.
Values are
timestamp
orip
. -
offset number
Paginating parameter. Offset the result by a specified number. Default: 0.
-
limit number
Paginating parameter. Limit the number of result by a specified number. Max: 100. Default: 50.
-
status string
Status of the click
Values are
NORMAL
,SUSPICIOUS
,FLAGGED
, orINVALID
. -
ppc boolean
Filter ad clicks or organic clicks only
-
gclid string
Google assigned click ID
-
converted boolean
Filter by conversion
-
ip string
IP address of a click
-
ip-range string
IP address range (CIDR notation) of a click
-
device_id string
Device ID of a click
-
campaign string
Campaign ID of an ad click
-
keyword string
Keyword ID from an ad click
-
placement string
Domain placement of an ad click
-
country string
Originating country of a click
curl \
-X GET https://api.clickguard.com/accounts/{account_id}/clicks?period=TODAY \
-H "X-API-KEY: $API_KEY"
"[\n {\n \"id\": \"609e2427d01f3d001281d35d\",\n \"gclid\": \"Cj0KCQjw1PSDBhDbARIsAPeTqrerWB...ekt7et0ktYV8aArAPEALw_wcB\",\n \"ppc\": true,\n \"timestamp\": \"2021-04-20T00:45:27.459Z\",\n \"ip\": \"97.111.222.131\",\n \"ip_type\": 4,\n \"hostname\": \"97-111-222-131.hostname.net\",\n \"device_id\": \"onXVkAzc0YP9sY3iYNR7Hg\",\n \"device_type\": \"computer\",\n \"browser\": \"Safari\",\n \"browser_version\": \"14.0.3\",\n \"os\": \"Mac OS\",\n \"os_version\": \"10.15.7\",\n \"url\": \"www.example.com/landing-page/\",\n \"domain\": \"www.example.com\",\n \"campaign_id\": \"7542701111\",\n \"campaign_name\": \"Remarketing\",\n \"adgroup_id\": \"549562811111\",\n \"adgroup_name\": \"My ad group\",\n \"ad_id\": \"5137478632222\",\n \"keyword_id\": \"313330082222\",\n \"keywords\": \"my keyword\",\n \"ad_url\": \"www.example.com/landing-page/\",\n \"parallel_tracking\": false,\n \"network\": \"google\",\n \"match_type\": \"phrase\",\n \"placement\": null,\n \"continent_code\": \"NA\",\n \"continent\": \"North America\",\n \"country_code\": \"US\",\n \"country\": \"United States\",\n \"city\": \"Davenport\",\n \"region\": \"Scott (Iowa)\",\n \"zip_code\": \"52800\",\n \"timezone\": \"America/Chicago\",\n \"aso\": \"EPICISP-US\",\n \"isp\": \"EpicISP\",\n \"crawler\": false,\n \"proxy\": false,\n \"threat_level\": \"low\",\n \"whitelisted\": false,\n \"status\": \"FLAGGED\",\n \"flags\": [\n \"CONVERTED\"\n ],\n \"notes\": [\n \"there was a total of 1 converting ad clicks from the given device ID in the past 24 hours where maximum allowed clicks is 0 (rule: Block After Conversion [By ClickGUARD])\"\n ],\n \"actions\": [\n {\n \"tag\": \"conversion\",\n \"verbal\": \"IP address blocked for 14 days for 33 campaigns.\"\n }\n ],\n \"converted\": true,\n \"converted_comment\": \"App Signup\",\n \"time_spent\": 121257,\n \"page_views\": 1,\n \"user_interaction\": \"medium\",\n \"bot_probability\": \"low\"\n }\n]"
[
{
"id": "string",
"timestamp": "2024-05-04T09:42:00+00:00",
"ip": "string",
"ip_type": 42.0,
"hostname": "string",
"ppc": true,
"gclid": "string",
"status": "ORGANIC",
"referrer": "string",
"flags": [
"string"
],
"notes": [
"string"
],
"actions": [
{
"tag": "string",
"verbal": "string"
}
],
"device_type": "mobile",
"device_id": "string",
"browser": "string",
"browser_version": "string",
"os": "string",
"os_version": "string",
"domain": "string",
"url": "string",
"campaign_id": "string",
"campaign_name": "string",
"adgroup_id": "string",
"adgroup_name": "string",
"ad_id": "string",
"keyword_id": "string",
"keywords": "string",
"ad_url": "string",
"parallel_tracking": true,
"network": "string",
"match_type": "string",
"placement": "string",
"continent_code": "string",
"continent": "string",
"country_code": "string",
"country": "string",
"city": "string",
"region": "string",
"zip_code": "string",
"timezone": "string",
"aso": "string",
"isp": "string",
"crawler": "string",
"proxy": "string",
"threat_level": "low",
"whitelisted": true,
"converted": true,
"converted_comment": "string",
"converted_value": 42.0,
"time_spent": 42.0,
"page_views": 42.0,
"user_interaction": "none",
"bot_probaility": "low"
}
]