Trackier v1
Search…
Campaign Statis
HTTP method
End Point
Description
GET
/advertiser/campaignStats/{id}
Get Day wise stats for a campaign

Sample Request

1
curl -X GET -H "X-Api-Key: {key}" -H "Cache-Control: no-cache" -H "Postman-Token: 3c25dbcc-806a-b87f-5f29-338b74d04709" "https://api.trackier.com/advertiser/campaignStats/{id}"
Copied!
Key
Type
Description
Nullable
start
date (Y-m-d)
Start date from which the stats should be displayed
Yes
end
date (Y-m-d)
End date till which the stats should be displayed
Yes

Response body

1
{
2
"success": true,
3
"data": {
4
"stats": {
5
"2017-02-07": {
6
"clicks": 3,
7
"impressions": 0,
8
"conversions": 0,
9
"revenue": 0,
10
"payout": 0,
11
"meta": {
12
"device": {
13
"mobile": 2,
14
"desktop": 1
15
},
16
"os": {
17
"Android": 2,
18
"Mac OS X": 1
19
},
20
"referer": {
21
"Empty": 3
22
},
23
"country": {
24
"US": 2,
25
"IN": 1
26
}
27
}
28
},
29
"2017-02-08": {
30
"clicks": 5,
31
"impressions": 0,
32
"conversions": 1,
33
"revenue": 0.15,
34
"payout": 0.1,
35
"meta": {
36
"device": {
37
"desktop": 4,
38
"mobile": 3
39
},
40
"os": {
41
"Android": 3,
42
"Windows 7": 2,
43
"Linux": 2
44
},
45
"referer": {
46
"Empty": 7
47
},
48
"country": {
49
"US": 4,
50
"IN": 2
51
}
52
}
53
}
54
},
55
"total": {
56
"meta": {
57
"device": {
58
"mobile": 5,
59
"desktop": 5
60
},
61
"os": {
62
"Android": 5,
63
"Mac OS X": 1,
64
"Windows 7": 2,
65
"Linux": 2
66
},
67
"referer": {
68
"Empty": 10
69
},
70
"country": {
71
"US": 6,
72
"IN": 3
73
}
74
},
75
"clicks": 8,
76
"impressions": 0,
77
"conversions": 1,
78
"revenue": 0.15,
79
"payout": 0.1
80
}
81
}
82
}
Copied!