Skip to main content
A materialized segment is a segment that loads its list of units from your BigQuery instance using a SQL query.
Materialized segments are only available for BigQuery.

Create a Materialized Segment

To create a materialized segment:

Create a Load Job

After creating the segment, create a load job to populate it with data from your SQL query:
The entityIdColumn specifies which column in your query results contains the entity IDs to include in the segment.

Get a Materialized Segment

To retrieve a materialized segment’s configuration:

List Load Jobs

To see the load jobs for a materialized segment:

Delete a Materialized Segment

To delete a materialized segment:

Next Steps

After creating materialized segments:
  1. Use the segment in flag rules to target specific users
  2. Set up coordination to make segments mutually exclusive