User Defined Segment Metrics
Operations related to Audience Segment Identifiers Metrics that define identifier-based measurements on each segment. Track specific identifier type distributions such as number of hashed emails, user device points, user accounts per compartment, cookies, and mobile advertising IDs, providing detailed visibility into segment addressability across different activation channels.
Search for audience segment identifiers metrics
Retrieve archived audience segment identifiers metrics
Offset from which the search must be performed
Maximum number of items that may be returned by the query
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datamarts/{datamart_id}/audience_segment_identifiers_metrics HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"data": [
{
"order_index": 0,
"last_modified_ts": 0,
"created_ts": 0,
"created_by": "text",
"last_modified_by": "text",
"metric_definition": {
"type": "USER_DEVICE_POINT"
},
"archived": false,
"status": "INACTIVE",
"id": "text",
"datamart_id": "text",
"display": {
"name": "text",
"description": "text",
"icon": "text"
}
}
],
"max_results": 1,
"total": 1,
"status": "ok",
"count": 1,
"first_result": 1
}Create an audience segment identifiers metric
000falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/datamarts/{datamart_id}/audience_segment_identifiers_metrics HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 164
{
"order_index": 0,
"metric_definition": {
"type": "USER_DEVICE_POINT"
},
"archived": false,
"status": "INACTIVE",
"display": {
"name": "text",
"description": "text",
"icon": "text"
}
}{
"status": "ok",
"data": {
"order_index": 0,
"last_modified_ts": 0,
"created_ts": 0,
"created_by": "text",
"last_modified_by": "text",
"metric_definition": {
"type": "USER_DEVICE_POINT"
},
"archived": false,
"status": "INACTIVE",
"id": "text",
"datamart_id": "text",
"display": {
"name": "text",
"description": "text",
"icon": "text"
}
}
}Update the order of audience segment identifiers metrics by datamart
Success response
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/datamarts/{datamart_id}/audience_segment_identifiers_metrics_order HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"metrics_ids": [
"text"
]
}{
"status": "ok"
}Run action on an audience segment identifiers metric
Success !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/datamarts/{datamart_id}/audience_segment_identifiers_metrics/{id}/action HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 21
{
"action": "ACTIVATE"
}{
"status": "ok",
"data": {
"order_index": 0,
"last_modified_ts": 0,
"created_ts": 0,
"created_by": "text",
"last_modified_by": "text",
"metric_definition": {
"type": "USER_DEVICE_POINT"
},
"archived": false,
"status": "INACTIVE",
"id": "text",
"datamart_id": "text",
"display": {
"name": "text",
"description": "text",
"icon": "text"
}
}
}Get an audience segment identifiers metric by id
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/datamarts/{datamart_id}/audience_segment_identifiers_metrics/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"order_index": 0,
"last_modified_ts": 0,
"created_ts": 0,
"created_by": "text",
"last_modified_by": "text",
"metric_definition": {
"type": "USER_DEVICE_POINT"
},
"archived": false,
"status": "INACTIVE",
"id": "text",
"datamart_id": "text",
"display": {
"name": "text",
"description": "text",
"icon": "text"
}
}
}Update an audience segment identifiers metric
000falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/datamarts/{datamart_id}/audience_segment_identifiers_metrics/{id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 164
{
"order_index": 0,
"metric_definition": {
"type": "USER_DEVICE_POINT"
},
"archived": false,
"status": "INACTIVE",
"display": {
"name": "text",
"description": "text",
"icon": "text"
}
}{
"status": "ok",
"data": {
"order_index": 0,
"last_modified_ts": 0,
"created_ts": 0,
"created_by": "text",
"last_modified_by": "text",
"metric_definition": {
"type": "USER_DEVICE_POINT"
},
"archived": false,
"status": "INACTIVE",
"id": "text",
"datamart_id": "text",
"display": {
"name": "text",
"description": "text",
"icon": "text"
}
}
}Last updated
Was this helpful?