Skip to main content
Version: 2025-12-18

Profile examples

This reference provides real-world examples of profile configurations to help you get started.


Examples of real-world profiles

You can embed these examples in your target group profiles array and modify them to suit your needs.

Example 1: Age ranges

Example of a profile object defining specific age ranges and quotas:

  {
"object": "regular",
"quotas_enabled": true,
"targets": [
{
"conditions": [
{
"object": "range",
"question_id": 42,
"min": 15,
"max": 19
}
],
"quota": {
"completes_goal": 28
}
},
{
"conditions": [
{
"object": "range",
"question_id": 42,
"min": 20,
"max": 29
}
],
"quota": {
"completes_goal": 31
}
},
{
"conditions": [
{
"object": "range",
"question_id": 42,
"min": 30,
"max": 39
}
],
"quota": {
"completes_goal": 21
}
},
{
"conditions": [
{
"object": "range",
"question_id": 42,
"min": 40,
"max": 99
}
],
"quota": {
"completes_goal": 20
}
}
]
}

Example 2: ZIP (numeric open-end)

note

This example for US ZIP codes applies only to the US market, but you can use the same structure for other numeric and text open-ended questions.

Example of a profile object targeting specific ZIP codes:

  {
"object": "regular",
"quotas_enabled": true,
"targets": [
{
"conditions": [
{
"object": "open_ended",
"question_id": 45,
"allow_all_values": false,
"open_ended_values": [
"98001",
"98007",
"98125",
"98258"
]
}
],
"quota": {
"completes_goal": 50
}
},
{
"conditions": [
{
"object": "open_ended",
"question_id": 45,
"allow_all_values": false,
"open_ended_values": [
"78001",
"78007",
"78125",
"78258"
]
}
],
"quota": {
"completes_goal": 50
}
}
]
}