Skip to main content

Build a Segment with the Segment Builder

Note

This article covers segment building in Connect with Asset Management 2.0. For information on the differences between segment building in this version and Connect with Asset Management 1.0, see "What's Different in Connect With the Upgraded Segment Builder".

You can use the Segment Builder to build a segment by constructing a series of filter rules, using individual filter rules and/or filter groups (groups of filter rules joined by the same "AND" or "OR" conjunction). For a complete list of segment building guidelines, see "Guidelines for Building Segments".

Once you've built a segment, that segment appears on the Segments page in the "Built Segments" area. You can then distribute that segment to your desired destinations (for more information, see "Distribute Data to a Destination"), depending on the activation permissions for that segment.

Note

The segment can also be found in the relevant dataset on the Datasets page, depending on the data it is built from:

  • If the segment is built with first-party data from just one dataset, the segment will appear in the Built Segments folder for that dataset

  • If the segment is built with first-party data from more than one dataset, the segment will appear in a dataset named "My Data (LiveRamp Hosted)".

  • If the segment is built with Data Marketplace data (Purchased Data), the segment will appear in a dataset named "Purchased Data - Built Segments".

If you've been enabled for lookalike segment building, you can use the segment as the seed (source) segment for building a lookalike segment (for more information, see "Build a Lookalike Segment").

To build a segment with the Segment Builder:

Tip

To view a tour that contains interactive walkthrough demos of the elements of the segment building process, click here.

  1. From the Quick Actions dropdown list in the navigation pane, click Build Segment to open the Segment Builder.

    CU-Build_Segment_quick_actions_button.png
    C2_0-Segment_Builder_overview.png

    Note

    You can also open the Segment Builder from the Segments page by clicking Build Segment or from the home page by clicking the "Build Segment" tile.

  2. From the "Include all of the following rules:" area, click one of the following options:

    LR1-Build_A_Segment-Rule_options_Level_1.png
    • To create an individual filter rule, click Add Rule. The Segment Builder displays a data asset dropdown list with categories for datasets, built segments, and events.

    • To create a filter rule group out of multiple filter rules at the same level, where all rules will be joined by the same conjunction, click Add Rule Group. The Segment Builder displays data asset selection fields for two filter rules joined with the conjunction "AND". If desired, you can change the conjunction to "OR".

    Note

    If your organization has been enabled to use the AI-Assisted Segment Builder, you can access that from the regular Segment Builder by typing your prompt into the chat field that appears at the top of the Segment Builder and then clicking "enter" or the up arrow.

    C-Build_a_Segment-MSB_in_USB.png

    Once you’ve submitted your initial prompt, the AI-Assisted Segment Builder opens. For more information, see “Build a Segment with the AI-Assisted Segment Builder”.

  3. From the data asset dropdown list, expand the appropriate folder and select the desired data asset to use to build the segment from:

    Note

    • When you expand a table, you'll see options to select the individual table attribute columns and value fields, in addition to being able to select the entire table.

      CU-Build_Segment-select_table_attribute.png
    • When you hover over an individual data asset, a side panel appears with information about that asset (such as date created, date modified, owner, and more). For Data Marketplace segments, additional information (such as Data Marketplace pricing and permitted use cases) is also displayed.

      CU-Build_Segment-advanced_select_side_panel.png
    • When you select a table attribute, fields for the operator and value are displayed.

      LR1-Build_A_Segment-attribute_additional_fields.png
    • When you select a table, all members of the table are included in the filter rule (no fields for operator or value are displayed).

    • When you select a built segment, all segment members are included in the filter rule, and the segment size in maintained RampIDs appears to the right of the segment name (no fields for operator or value are displayed).

      LR1-Build_A_Segment-segment_with_size.png
    • When you select a Data Marketplace segment that you've requested, all segment members are included in the filter rule, and the segment size in maintained RampIDs appears to the right of the segment name (no fields for operator or value are displayed). A "Purchased Data" icon also appears in the rule row.

  4. If you've selected a table attribute, complete the filter rule:

    Note

    If you selected a segment, an event, or all members of a table in the previous step, skip this step.

    1. From the operator list, select the desired operator.

      LR1-Build_A_Segment-Operator_field.png

      Note

      The options available vary depending on the field type of the attribute you've selected. For more information, see "Available Filter Operators for the Segment Builder".

    2. In the value field, enter or select the values to filter on (entered values can contain spaces).

      LR1-Build_A_Segment-Value_field.png

      Note

      • For certain operators, such as "has a value", no value field will appear.

      • For string field types, when you select either the "is" or "is not" operator, the available attribute values appear as check boxes in the value field after a few seconds (a loader appears under the field while value loading is processing), and you can select multiple values.

      • For the field types "numeric" and "integer", the range and average values for the field are displayed below the value field in the Segment Builder to give you insights into the values that the field contains (during the calculation process, you'll see a spinner and the text "Range being calculated").

        DCP-Build_a_Segment-range_calculation.png
  5. For some segments, the size in RampIDs will appear automatically in the Segment Size area of the metrics footer. If the segment includes rules that prevent the size from being calculated automatically, click the Calculate icon.

    C2_0-Build_a_Segment-Calculate_button.png

    Note

    • Any incomplete filter rules will be removed to perform the calculation.

    • Segment size cannot be calculated during building for segments that contain Data Marketplace data. Sizes for those segments will appear on the Segments page after the segment has been built.

    • If a segment size calculation is taking longer than expected, one option is to save the segment as a draft and then come back to that draft segment later to see the size. If you've opted in for segment size calculation notifications, you'll be notified once the size calculation completes.

    • If all of the data is from one dataset, the size will be displayed in terms of the number of deduplicated segment members (rows). Otherwise the size will be displayed in terms of the number of RampIDs.

    • Each time the filter rules are changed, you will have to click the Calculate icon again to see the updated segment size.

    • For more information on segment sizes, see "How Segment Builder Calculates Segment Size".

  6. To include additional filter rules or rule groups, perform one of the steps below (in either the area to include or the area to exclude) and then populate the appropriate fields:

    Note

    • If your first rule contained a Clean Room data asset, you can only select additional assets that are contained in the same dataset as your initial selection.

    • You can use data assets from up to three datasets, whether those datasets are your first-party data or Data Marketplace data.

    • If you initially added an individual filter rule, you can create a filter rule group using that first filter rule by clicking the More Options menu (the three dots) that appears to the right when you hover over the rule and then clicking Turn Into a Rule Group.

    • If you initially added a filter rule group, populate the additional filter rules.

      Note

      • If the first rule uses a table attribute, all rules in the group must use attributes from the same table.

      • If the first rule uses a built segment, all rules in the group must use built segments (no mixing with table attributes inside that group).

    • To create an additional filter rule or rule group at the same level as the first filter rule, click either Add Rule or Add Rule Group outside of the first filter rule box.

    • To create a filter rule group nested within the first filter rule, click Add Rule Group inside the first filter rule box.

    Note

    • If your first rule contained a Clean Room data asset, you can only select additional assets that are contained in the same dataset as your initial selection.

    • You can use data assets from up to three datasets, whether those datasets are your first-party data or Data Marketplace data.

    • For more information on managing filters and filter rule groups, see "Managing Filters and Filter Rule Groups".

  7. If necessary, click the caret next to a conjunction (an "And" or an "Or") to adjust that conjunction to create the desired segment statement.

    Note

    The conjunction you set at a particular level will be the same for all of the conjunctions at that level.

  8. In the Segment Name field, enter a unique name for the segment.

    Note

    • Segment names must start with a letter and can contain letters, numbers, spaces, and underscores. Segment names cannot contain special characters, except for commas or >, <, -, _, %, and *.

    • By default, segment names for segments that contain Data Marketplace data start with "LiveRamp Combinations >".

  9. To enter a description or view applicable permissions (for segments that contain partner data or Data Marketplace data), click Segment Details and select the Details tab (if necessary).

    C2_0-Build_a_Segment-Segment_Details_button.png
    C2_0-Build_a_Segment-Segment_Description_field.png
  10. To view the overlap between the current segment and other data assets in your account:

    1. Click Segment Details.

    2. Select the Overlap tab.

      C2_0-Build_a_Segment-Overlap_tab.png
    3. Click Add Data to Overlap and select the desired asset to overlap (for more information, see "Overlap Data Assets").

      C2_0-Build_a_Segment-Overlap_tab-Add_Data_to_Overlap.png
      C2_0-Build_a_Segment-Overlap_tab_advanced_select.png

      Note

      If any of the overlaps do not calculate automatically, click the Calculate icon for those overlaps.

    Note

    • You can only view overlaps when building a segment from your first-party data assets.

    • You can only select your first-party segments and tables that are not in an error or pending status. You cannot select a user-defined function, a segment, or a table that is in an error or pending status to perform an overlap.

    • If you modify the current segment, you will need to click the "Calculate" text again to see the updated overlaps.

  11. If desired, you can randomly split the segment into test and control segments, based on the percentages you specify (for more information, see "Split a Segment Into Test and Control Segments"):

    1. Click Segment Details to open the details panel.

      C-Split_Segment-Segment_Details_button.png
    2. Select the Test / Control tab.

      C-Split_Segment-Test_Control_tab.png
    3. Slide the Split Segment Into toggle to the right.

      C-Split_Segment-toggle.png
    4. If needed, modify the number of parts to split the segment into.

      C2_0-Build_a_Segment-split_segment_number.png
    5. From the fields that appear below, make any needed adjusts to the segment names and split percentages for the segment parts.

      C2__0-_Build__a__Segment-_split__segment__2_names.png

      Note

      • When you split a segment into two parts, the split parts are given default segment names of "[parent segment name]_Test" for the larger part and "[parent segment name]_Control" for the smaller part (to aid in identification).

      • When you split a segment into more than two parts, the split parts are given a default segment name of "[parent segment name]_A", "[parent segment name]_B", "[parent segment name]_C", etc.

      • Segment names must start with a letter and can contain letters, numbers, spaces, and underscores. Segment names cannot contain special characters, except for commas or >, <, -, _, %, and *.

    When you finish segment building, the segments parts are created and appear under the parent segment name on the Segments page (click the caret to the left of the parent segment name to display them).

  12. When you're finished building the segment, click Build Segment.

    Note

    • If there are any incomplete filter rules (filter rules that were added but haven't been completed), a dialog will appear to confirm that you want to remove the incomplete filter rules before saving.

    • You can also save the segment as a draft so that you can finish building it later by clicking Save as Draft. The draft segments appears in the "Drafts" area of the Segments page.

A success message appears. You can view the segment on the Segments page in the “Built Segments” area and can add the segment to distributions to your desired destinations (depending on any activation permissions for that segment). Once the segment's status is "Ready", the segment will begin distributing. For more information, see "Distributing Data".

Note

Some segments might not immediately succeed at the segment creation step. Segment creation will be retried several times and will show a status of "Processing" during that time. If the segment fails to create after the attempts to retry creating it, it will show a status of "Failed" once the retries have completed. If the segment fails to create, contact your LiveRamp account representative.

If the segment consists entirely of your organization's first-party data, you can edit the segment rules once the segment has a status of "Ready" or "Creation Failed". For more information, see "Edit a Segment".