- Learn how to segment an audience of Profiles using the API
- Learn how to post segment jobs and export them to a new dataset
- Define a segment via API in JSON
- Create a segment job and export it to a new dataset
-
Now that we've ingested some data in Chapter 7 into our Unified Profile service, we're ready to begin segmenting the data in order to gain insights.
-
Start by expanding the
Chapter 10
&Segmentation
folder in postman underPlatform Summit
. -
Select the
Profile: Create A Segment Definition
action. Note that in the body section of the action we are creating a simple segment that will include all males who have interacted with the system in the past 90 days. -
Then click
Send
to create the segment and view the results in the response section of postman. -
Now that we've been able to define a segment the next step is to start a job to run the segment query for us. So select
POST Segment Job
and hitSend
. -
A segment job may take a little while to run so let's check on it's status by selecting
GET Segment Job status
and hittingSend
.If the
status
property saysPROCESSING
wait a little longer andSend
the query again until you seeSUCCEEDED
. -
Let's create a new dataset to hold the results of our segment job.
-
Now that the job has succeeded and we have a dataset to hold our segmentation data it's time to export the data. Select
POST Export Job
and hitSend
. -
We are getting close to being able to view our segment data. Select the
Get Export Job By Id
action and hitSend
.If the
status
property saysPROCESSING
wait a little longer andSend
the query again until you seeSUCCEEDED
. -
Now the easiest way to view your segmented dataset is to log in to https://platform.adobe.com, click on the Data tab, then click on {{ldap}}_ProfileSegmentDataset and finally the
Preview
button.As you can see all of the people in the dataset are
male
.
Unified Profile, Identity, & Segmentation
Previous: |
---|
Chapter 9 - Technical - Streaming: Stream in Data using Launch |
Return Home: Workbook Index