用于查看Audience Manager常用分类的方法。 此可选分类方案将特征组织为行业标准类别。
您无法使用这些方法创建新的分类类别或对特征进行分类。 要对特征进行分类,请使用特征创建或更新方法指定相应的categoryId
。
GET
方法,返回有关指定分类类别的详细信息。
GET https://api.demdex.com/v1/taxonomies/0/
<categoryId>
成功的响应会返回指定ID的200 OK
和类别。 如果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/
成功的响应会返回指定ID的200 OK
和类别。 如果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
}
]