User Group Pattern Service
The User Group Pattern Service allows you to divide a hypothetical audience into up to five discrete buckets, each bucket defined to cover a percentage of total users. The most common use case for doing this is defining user groups for A/B testing of campaign targeting strategies. See "Test and Control Targeting" in the UI documentation for more information (customer login required).
It is important to note that a pattern does not perform any actual targeting; it simply helps you calculate user group targeting values that you can manually apply to your campaign profiles.
Here's the general process:
- You create a JSON file that defines your pattern.
- You make the
POSTrequest shown below.
- The response includes
usergroup_targetvalues for your pattern. You update the relevant profiles with these values (see
user_group_targetsin the Profile Service for more details).
Add a new user group pattern:
View a specific user group pattern:
View all of your user group patterns:
The ID of the user group pattern.
The member to which the user group pattern belongs.
The name of the user group pattern.
If true, the first user group in the
array of objects
The user groups in the pattern. No more than five groups can be included. See Groups below for more details.
The date on which the user group pattern was last modified.
The ID of the user group.
The name of the user group.
The percent of users that this group will target. The total for all user groups must add up to 100%.
This object is returned on