Profiling Helper

Generates a blended profile from regular profiles

Generates a single blended profile by combining two or three regular profiles.

This allows you to experiment with complex, interlocked quota structures without creating a target group. The endpoint automatically calculates the supplier distribution for the resulting quotas.

Key behaviors:

  • You must provide between two and three regular profiles to be blended.
  • When this profile is later used to create a target group, there is a limit of 350 total quotas.
post/demand/accounts/{account_id}/drafts/generate-blended-profile

Request

Request body

localestring required
completes_goalnumber required

Specifies the target group's required number of survey completions or pre-screen responses. Formerly referred to as the "filling goal," this value sets the benchmark for the number of valid responses needed to achieve the desired level of data reliability.

start_atstring required
end_atstring required
collects_piiboolean required

Example request

{
  "locale": "eng_us",
  "completes_goal": 1000,
  "start_at": "2024-10-09T12:00:00.000Z",
  "end_at": "2024-10-23T12:00:00.000Z",
  "collects_pii": false,
  "profiling": {
    "profile_adjustment_type": "percentage",
    "profiles": [
      {
        "object": "regular",
        "name": "GENDER",
        "quotas_enabled": true,
        "targets": [
          {
            "name": "Target-Male",
            "conditions": [
              {
                "object": "selection",
                "question_id": 43,
                "option": "1"
              }
            ],
            "quota": {
              "completes_goal_percentage": 50
            }
          }
        ]
      },
      {
        "object": "regular",
        "name": "AGE",
        "quotas_enabled": true,
        "targets": [
          {
            "name": "Target-Age-18-34",
            "conditions": [
              {
                "object": "range",
                "question_id": 42,
                "min": 18,
                "max": 34
              }
            ],
            "quota": {
              "completes_goal_percentage": 50
            }
          }
        ]
      }
    ]
  }
}

Response

The blended profile was generated successfully.

object'blended' required

The type of profile. For this object, the value is always blended.

quotas_enabledboolean required

Flag indicating if quotas are enabled.

namestring required

The name of the profile.

descriptionstring required

A short summary of the profile. Summary language will be based on the target group's locale.

description_translatedstring

A short summary of the profile by default english language.

Example response

{
  "object": "blended",
  "quotas_enabled": true,
  "name": "GENDER x AGE",
  "description": "Blended profile for Gender and Age",
  "description_translated": "Blended profile for Gender and Age",
  "targets": [
    {
      "id": "01JQMD8R7F0VW45KPWQ7WYNCFP",
      "text": "Male and 18-34",
      "name": "Target-Male-18-34",
      "conditions": [
        {
          "object": "selection",
          "question_id": 43,
          "option": "1"
        },
        {
          "object": "range",
          "question_id": 42,
          "min": 18,
          "max": 34
        }
      ],
      "quota": {
        "name": "MALE_18_34",
        "completes_goal_percentage": 25,
        "quota_nominal": 250,
        "completes_goal": 250
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.