Targets
A target is a named audience saved in a workspace and defined by a TGL expression, for example SEX.D1 AND EDA1.D3. List a workspace's targets, read their stored expressions, and create or update them. An expression is checked before anything is saved: if it is invalid, nothing changes. Calculations accept a target by id or inline as a TGL expression (filterTgl). See the TGL guide for the syntax.
📄️ Create a target
Creates a target in a workspace from a name and a TGL expression, and returns the identifier of the new target.
📄️ Update a target
Replaces the name and the TGL expression of an existing target.
📄️ List the targets of a workspace
Returns the targets saved in a workspace, in the folder structure that the user sees in TOM.
📄️ Get target details by ID
Returns the definition and metadata of saved targets of a workspace: name, TGL expression, creation date and last update date.