Training
For clients
Загружается...
The resource enables you to get a tree of user interests. Note that collecting data on some specific interests may be available only in some packages.
Used object: TargetingsTree
Request example:
GET /api/v2/targetings_tree.json
Response example:
[ { "interests_short": [ { "children": [ { "id": 8490, "name": "Country life" }, { "id": 10255, "name": "Beekeeping" }, { "id": 10257, "name": "Gardening utensils" }, { "id": 10256, "name": "Seeds and sprouts" } ], "id": 7299, "name": "Household" }, { "children": [ { "id": 9291, "name": "Aquarium" } ], "id": 7304, "name": "Pets" } ], "interests_soc_dem": [ { "children": [ ... ], "id": 7328, "name": "TV groups" }, ... ], "interests_stable": [ ... ], "interests": [ ... ] } ]
By default, the response contains 4 fields:
Request example:
GET /api/v2/targetings_tree.json?targetings=interests_soc_dem,interests_short
Response example:
[ { "interests_short": [ ... ], "interests_soc_dem": [ ... ] } ]