Show Menu
TOPICS×

Sub-classifications and the Rule Builder - use case

You can combine the Classification Rule Builder with sub-classifications to simplify classification management and reduce the number of rules required. You might want to do this if your tracking code consists of codes that you would like to classify separately.

Sub-classifications and the Rule Builder - use case

You can combine the Classification Rule Builder with sub-classifications to simplify classification management and reduce the number of rules required. You might want to do this if your tracking code consists of codes that you would like to classify separately.
See Sub-Classifications for conceptual information about sub-classifications.
Example
Assume the following tracking code:
channel:broad_campaign:creative
A classification hierarchy allows you to apply a classification to a classification (called sub-classification ). Meaning, you can use the importer like a relational database, with multiple tables. One table maps full tracking codes to keys, and another maps those keys to other tables.
After you have this structure in place, you can use the Classifications Rule Builder to upload small files that only update the lookup tables (the green and red tables in the preceding image). Then, you can use the rule builder to keep the main classification table up-to-date.
The following task describes how to accomplish this.

Set up Sub-Classifications using the Rule Builder

Example steps that describe how you can upload sub-classifications using the Rule Builder.
These steps describe how to accomplish the use case described in Sub-Classifications and the Rule Builder .
  1. Create classifications and sub-classifications in the Classification Manager .
    Example:
  2. In the Classifications Rule Builder , classify the sub-classification key from the original tracking code.
    You perform this using a regular expression. In this example, the rule to populate Broad Campaign code would use this regular expression:
    #
    Rule Type
    Match
    Set Classification
    To
    Regular Expression
    [^\:]:([^\:]):([^\:] )
    Broad Campaign code
    $1
    Regular Expression
    [^\:]:([^\:]):([^\:] )
    Creative code
    $2
    At this point, you do not populate the sub-classifications Campaign Type and Campaign Director .
  3. Upload a classification file that includes only the sub-classifications specified.
    Example:
    Key
    Channel
    Broad Campaign code
    Broad Campaign code^Campaign type
    Broad Campaign code^Campaign Director
    ...
    *
    111
    Brand
    Suzanne
    *
    222
    Brand
    Frank
  4. To maintain the lookup tables, upload a small file (as shown above).
    You would upload this file, for example, when a new Broad Campaign code is introduced. This file would apply to previously classified values. Likewise, if you create a new sub-classification (such as Creative Theme as a sub-classification of Creative code ), you upload only the sub-classification file, rather than the entire classification file.
    For reporting these sub-classifications function exactly like top-level classifications. This reduces the management burden required to use them.