用于视图Audience Manager常用分类的方法。 此可选分类方案将特征组织到行业标准类别中。
不能使用这些方法创建新的分类类别或分类特征。 要对特征进行分类,请使用特征创建或更新方法指定相应的categoryId
。
GET
方法,返回有关指定分类类别的详细信息。
GET https://api.demdex.com/v1/taxonomies/0/
<categoryId>
成功的响应返回200 OK
和指定ID的类别。 如果ID不存在,则不成功的请求将返回404 No Content
。
{
"crUID": 158,
"name": "Arts & Entertainment",
"upUID": 158,
"description": "Arts & Entertainment",
"categoryID": 1,
"parentCategoryID": 0
}
一种GET
方法,它返回数组中顶级类别的列表。
GET https://api.demdex.com/v1/taxonomies/0/
短时间截断。
[
{
"crUID": 158,
"name": "Arts & Entertainment",
"upUID": 158,
"description": "Arts & Entertainment",
"categoryID": 1,
"parentCategoryID": 0
},
{
"crUID": 158,
"name": "Automotive",
"upUID": 158,
"description": "Automotive",
"categoryID": 2,
"parentCategoryID": 0
},
{
"crUID": 158,
"name": "Business",
"upUID": 158,
"description": "Business",
"categoryID": 3,
"parentCategoryID": 0
}
]
GET
方法,它为数组中指定的父类别返回子类别。
GET https://api.demdex.com/v1/taxonomies/0/
<categoryId>
/childCategories/
成功的响应返回200 OK
和指定ID的类别。 如果ID不存在,则不成功的请求将返回404 No Content
。 短时间截断。
[
{
"crUID": 158,
"name": "Books & Literature",
"upUID": 158,
"description": "Books & Literature",
"categoryID": 25,
"parentCategoryID": 1
},
{
"crUID": 158,
"name": "Celebrity Fan/Gossip",
"upUID": 158,
"description": "Celebrity Fan/Gossip",
"categoryID": 49,
"parentCategoryID": 1
},
{
"crUID": 158,
"name": "Fine Art",
"upUID": 158,
"description": "Fine Art",
"categoryID": 72,
"parentCategoryID": 1
}
]