用於查看Audience Manager公用分類的方法。 此可選分類方案將特徵組織為行業標準類別。
不能用這些方法建立新分類類別或分類特徵。 要分類特徵,請指定相應 categoryId
以特徵建立或更新方法。
A GET
返回有關指定分類類別的詳細資訊的方法。
GET https://api.demdex.com/v1/taxonomies/0/
<categoryId>
成功的響應返回 200 OK
和指定ID的類別。 未成功的請求返回 404 No Content
的子菜單。
{
"crUID": 158,
"name": "Arts & Entertainment",
"upUID": 158,
"description": "Arts & Entertainment",
"categoryID": 1,
"parentCategoryID": 0
}
A 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
}
]
A GET
方法,它返回陣列中指定父類別的子類別。
GET https://api.demdex.com/v1/taxonomies/0/
<categoryId>
/childCategories/
成功的響應返回 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
}
]