https://ns.adobe.com/experience/audiencemanager/segmentdefinition
This field group captures Adobe Audience Manager-specific segment definition fields like the identity of the folder this segment belongs to and Audience Manager type for the segment.
| Abstract | Extensible | Status | Identifiable | Custom Properties | Additional Properties | Defined In |
|---|---|---|---|---|---|---|
| Can be instantiated | Yes | Stable | No | Forbidden | Permitted | adobe/experience/audiencemanager/segmentdefinition.schema.json |
- Adobe Audience Manager Segment Definition
https://ns.adobe.com/experience/audiencemanager/segmentdefinition- Segment Expression Details
https://ns.adobe.com/xdm/context/segmentdefinition-expression - Identity
https://ns.adobe.com/xdm/context/identity
- Segment Expression Details
{
"xdm:segmentExpression": {
"xdm:expressionType": "AAM",
"xdm:mimeType": "text/plain",
"xdm:value": "c_contextdata.catname matchesregex \"\"^sony -.+\"\""
},
"xdm:segmentFolderId": "1123",
"xdm:segmentSubType": "SEGMENT",
"https://ns.adobe.com/experience/audiencemanager/segmentFolderIdentity": {
"xdm:id": "1123",
"xdm:namespace": {
"xdm:code": "AAMSegments"
}
}
}| Property | Type | Required | Defined by |
|---|---|---|---|
| https://ns.adobe.com/experience/audiencemanager/segmentFolderIdentity | Identity | Optional | Adobe Audience Manager Segment Definition (this schema) |
| xdm:segmentExpression | object |
Optional | Segment Expression Details |
| xdm:segmentFolderId | string |
Optional | Adobe Audience Manager Segment Definition (this schema) |
| xdm:segmentSubType | string |
Optional | Adobe Audience Manager Segment Definition (this schema) |
* |
any | Additional | this schema allows additional properties |
Identity of the parent folder of current folder
https://ns.adobe.com/experience/audiencemanager/segmentFolderIdentity
- is optional
- type: Identity
- defined in this schema
- Identity –
https://ns.adobe.com/xdm/context/identity
xdm:segmentExpression
- is optional
- type:
object - defined in Segment Expression Details
object with following properties:
| Property | Type | Required |
|---|---|---|
xdm:expressionType |
string | Optional |
xdm:mimeType |
string | Optional |
xdm:value |
string | Optional |
Type of expression, for example, PQL, Query Service, or Adobe Audience Manager.
xdm:expressionType
- is optional
- type:
string
string
| Value | Description |
|---|---|
0 |
PQL |
1 |
AAM |
2 |
QUERYSERVICE |
Mime type of the expression. For example, pql/text or application/sql.
xdm:mimeType
- is optional
- type:
string
string
All instances must conform to this regular expression (test examples here):
\w+/[-.\w]+(?:\+[-.\w]+)?Actual expression string. The syntax of expression will depend upon specified mime type.
xdm:value
- is optional
- type:
string
string
id of parent folder if present
xdm:segmentFolderId
- is optional
- type:
string - defined in this schema
string
Further classification of AAM Entity
xdm:segmentSubType
- is optional
- type:
string - defined in this schema
string
| Value | Description |
|---|---|
0 |
FOLDER |
1 |
FOLDER_TRAIT |
2 |
SEGMENT |
3 |
UNDEFINED |
4 |
RULE_BASED_TRAIT |
5 |
NON_ALGO_TRAIT |
6 |
TEST_SEGMENT |
7 |
COMPANY_ACTIVITY_TRAIT |
8 |
ALGO_TRAIT |
9 |
ON_BOARDED_TRAIT |