Traffic sources¶
Parameters¶
HTTP method |
Access rights |
URL | Parameters |
Note |
---|---|---|---|---|
GET | public_data | https://api.admitad.com/traffic/ |
|
Returns available traffic sources. * |
* Returns the result in the JSON format.
** Sets skipping and the number of records returned. For example limit=5&offset=2.
Example of use¶
Example of a request with utility ``curl``:
curl -L -H 'Authorization: Bearer access_token' -X GET https://api.admitad.com/traffic/
Example of the response from the API server in the JSON format:
{
"results": [
{
"name": "Cashback",
"id": 1
},
{
"name": "PopUp / ClickUnder",
"id": 2
},
{
"name": "Doorway pages",
"id": 4
},
{
"name": "E-Mail-Marketing",
"id": 5
},
{
"name": "Brand-Bidding",
"id": 6
},
{
"name": "Social Media",
"id": 7
},
{
"name": "Toolbar",
"id": 9
},
{
"name": "Adult",
"id": 14
},
{
"name": "Banner-teaser networks",
"id": 18
},
{
"name": "YouTube Channel",
"id": 19
},
{
"name": "Брокерский трафик",
"id": 20
}
],
"_meta": {
"count": 11,
"limit": 20,
"offset": 0
}
}