GET: https://www.autovit.ro/api/open/account/adverts/:id/stats
Permission: read
Header
| Field | Type | Description |
|---|---|---|
| User-Agent | string | Account email. |
Parameter
| Field | Type | Description |
|---|---|---|
| id | Number | Advert id |
| start | String | Optional Start Date |
| end | String | Optional End Date |
Example request:
GET /account/stats?start=2018-01-01&end=2018-01-30 HTTP/1.1
User-Agent: $USER_EMAIL
Content-Type: application/json
Authorization: Bearer $ACCESS_TOKEN
Copied to clipboard
Success response:
HTTP/1.1 200 OK
{
"totalAdViews": {
"description": "the description",
"amountInfo": "the amount information",
"amount": "1",
"variation": 1,
"showVariationInPercentage": true,
"formattedVariation": "the formatted variation"
},
...
}
Copied to clipboard