Batch segmentation guide
Batch segmentation is a segmentation evaluation method that lets you move profile data all at once to create corresponding audiences.
With batch segmentation, you can create detailed and rich audiences, and run segmentation jobs to determine when you want this data propagated to downstream services.
Eligible query types query-types
All queries are eligible for batch segmentation.
Create audience create-audience
You can create an audience that is evaluated using batch segmentation using either the Segmentation Service API or through Audience Portal in the UI.
API format
code language-http |
---|
|
Request
accordion | ||
---|---|---|
A sample request to create a segment definition that is enabled for batch segmentation | ||
|
Response
A successful response returns HTTP status 200 with details of your newly created segment definition.
accordion | ||
---|---|---|
A sample response when creating a segment definition. | ||
|
More information about using this endpoint can be found in the segment definition endpoint guide.
In Audience Portal, select Create audience.
A popover appears. Select Build rules to enter Segment Builder.
After creating your segment definition, select Batch as the Evaluation method.
To learn more about creating segment definitions, please read the Segment Builder guide
Retrieve audiences retrieve-audiences
You can retrieve all audiences that are evaluated using batch segmentation using either the Segmentation Service API or through Audience Portal in the UI.
Retrieve a list of all segment definitions that are evaluated using batch segmentation within your organization by making a GET request to the /segment/definitions
endpoint.
API format
You must include the query parameter evaluationInfo.batch.enabled=true
in the request path to retrieve segment definitions evaluated using batch segmentation.
code language-http |
---|
|
Request
accordion | ||
---|---|---|
A sample request to list all the batch-enabled segment definitions | ||
|
Response
A successful response returns HTTP status 200 with an array of segment definitions in your organization that are evaluated using batch segmentation.
accordion | ||
---|---|---|
A sample response that contains a list of all the batch-segmentation-evaluated segment definitions in your organization | ||
More detailed information about the segment definition returned can be found in the segment definitions endpoint guide. |
You can retrieve all the audiences that are enabled for batch segmentation within your organization by using filters in Audience Portal. Select the
Within the available filters, go to Update frequency and select “Batch”. Using this filter displays all audiences in your organization that are evaluated using batch segmentation.
To learn more about viewing audiences in Platform, please read the Audience Portal guide.
Next steps
This guide explains how to create a segment definition that can be evaluated using batch segmentation on ۶Ƶ Experience Platform.
To learn more about using the Experience Platform user interface, please read the Segmentation user guide.
For frequently asked questions about batch segmentation, please read the batch segmentation section of the FAQ.