Types of ad spaces¶
Parameters¶
HTTP method |
Access rights |
URL | Parameters |
Note |
---|---|---|---|---|
GET | public_data | https://api.admitad.com/websites/kinds/ |
|
Returns the types of ad spaces. * |
* 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/websites/kinds/
Example of the response from the API server in the JSON format:
{
"results": [
"website",
"doorway",
"contextual",
"social_app",
"social_group"
],
"_meta": {
"count": 7,
"limit": 5,
"offset": 0
}
}