Segments are a subset of a mobile app audience that is selected by combining criteria that meet a specific objective.
The Segment Object
Name | Type | Obligatory? | Description |
---|---|---|---|
createdAt | long | Autogenerated | Creation date (timestamp UTC). |
updatedAt | long | Autogenerated | Last updated date (timestamp UTC). |
segmentId | string | Autogenerated | Segment identifier. |
appId | string | Autogenerated | Application key |
config.name | string | Yes | Name of the segment. |
config.description | string | No | Description of the segment. |
config.query | string | Yes | Criteria query. |
{
"createdAt": 1494407258613,
"updatedAt": 1494407258614,
"segmentId": "fe9NBA8DRdCIDmmEhy3T2w",
"appId": "IXa7Bl9oRo6c7zQ5aQIzlg",
"config": {
"name": "English Android users",
"description": "Users with an English Android device",
"query": "{ \"$all\": [ { \"lang\" : { \"$eq\" : \"es\" } }, { \"os\" : { \"$eq\" : \"Android\" } } ] }"
}
}