Target Groups

Compute available target group transitions

Returns all target group Ids for the given query parameters and the available possible actions on the returned set of target groups.

post/demand/accounts/{account_id}/projects/{project_id}/compute-target-group-transitions

Request

Path parameters

account_idinteger required

The account's unique identifier.

Example:101
project_idstring required

The character string representing a unique project ID (ULID format).

Example:01BTGNYV6HRNK8K8VKZASZCFP0

A unique identifier for the project, in ULID format.

Request body

search_stringstring

Search string to match against. The string will be used to search based on the target group's name and/or the target group's human readable ID. Supports partial matching for target group name and human readable ID. Also supports English language stemmed matching for target group name.

included_target_group_idsTargetGroupID[]

An array of unique target group identifiers to be processed in a bulk job.

excluded_target_group_idsTargetGroupID[]

An array of unique target group identifiers to be processed in a bulk job.

Example request

{
  "search_string": "My Target Gr",
  "filters": {
    "status": [
      "draft"
    ],
    "country": [
      "us"
    ],
    "language": [
      "eng"
    ]
  },
  "included_target_group_ids": [
    "01BTGNYV6HRNK8K8VKZASZCFP1"
  ],
  "excluded_target_group_ids": [
    "01BTGNYV6HRNK8K8VKZASZCFP1"
  ]
}

Response

Target group Ids with their possible actions.

target_groupsTargetGroupID[]

An array of unique target group identifiers to be processed in a bulk job.

is_launch_allowedboolean
is_pause_allowedboolean
is_resume_allowedboolean
is_relaunch_allowedboolean
is_finish_allowedboolean

Example response

{
  "target_groups": [
    "01BTGNYV6HRNK8K8VKZASZCFP1"
  ]
}

Changes

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