Audience Partitions
Operations related to Audience Partitions for dividing randomly audience data into logical subsets for efficient processing and analysis. Particularly useful for A/B testing by creating mutually exclusive user groups that can be exposed to different campaigns to compare conversion rates and measure incremental impact.
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_partitions/{id} HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"organisation_id": "text",
"clustering_model_data_file_uri": "text",
"name": "text",
"part_count": 0,
"archived": false,
"id": "text",
"audience_partition_type": "CLUSTERING",
"status": "DRAFT",
"datamart_id": "text"
}
}0falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/audience_partitions/{id} HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 168
{
"organisation_id": "text",
"clustering_model_data_file_uri": "text",
"name": "text",
"part_count": 0,
"archived": false,
"audience_partition_type": "CLUSTERING",
"status": "DRAFT"
}{
"status": "ok",
"data": {
"organisation_id": "text",
"clustering_model_data_file_uri": "text",
"name": "text",
"part_count": 0,
"archived": false,
"id": "text",
"audience_partition_type": "CLUSTERING",
"status": "DRAFT",
"datamart_id": "text"
}
}Success !
Error response
Error response
Error response
Error response
Error response
Error response
PUT /v1/audience_partitions/{id}/publish HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"status": "ok",
"data": {
"organisation_id": "text",
"clustering_model_data_file_uri": "text",
"name": "text",
"part_count": 0,
"archived": false,
"id": "text",
"audience_partition_type": "CLUSTERING",
"status": "DRAFT",
"datamart_id": "text"
}
}Search the audience partitions associated with a given organization id or datamart id and extra optional filters
Success !
Error response
Error response
Error response
Error response
Error response
Error response
GET /v1/audience_partitions HTTP/1.1
Host: api.mediarithmics.local
Accept: */*
{
"total": 1,
"first_result": 1,
"data": [
{
"organisation_id": "text",
"clustering_model_data_file_uri": "text",
"name": "text",
"part_count": 0,
"archived": false,
"id": "text",
"audience_partition_type": "CLUSTERING",
"status": "DRAFT",
"datamart_id": "text"
}
],
"status": "ok",
"count": 1,
"max_results": 1
}0falseSuccess !
Error response
Error response
Error response
Error response
Error response
Error response
POST /v1/audience_partitions HTTP/1.1
Host: api.mediarithmics.local
Content-Type: application/json
Accept: */*
Content-Length: 168
{
"organisation_id": "text",
"clustering_model_data_file_uri": "text",
"name": "text",
"part_count": 0,
"archived": false,
"audience_partition_type": "CLUSTERING",
"status": "DRAFT"
}{
"status": "ok",
"data": {
"organisation_id": "text",
"clustering_model_data_file_uri": "text",
"name": "text",
"part_count": 0,
"archived": false,
"id": "text",
"audience_partition_type": "CLUSTERING",
"status": "DRAFT",
"datamart_id": "text"
}
}Last updated
Was this helpful?