Get the total number of unique users currently within a segment.
Request
The request object has the following fields:
|
Name |
Type |
Required |
Description |
|---|---|---|---|
|
|
String |
Yes |
Customer identifier. |
|
|
String |
No |
Site group identifier. |
|
|
Array of String |
No |
Array of segment identifiers. |
|
|
Integer |
No |
The number of output objects (MAX 5000) |
|
|
Enum |
No |
Segments type (USER, CONTEXTUAL, COMBINED) |
Response
The response object for a successful query has the following fields:
|
Name |
Type |
Description |
|---|---|---|
|
|
Array of object |
Array of reach objects |
|
|
Long |
Timestamp when report was updated. |
|
|
Long |
Timestamp when data was used. |
A reach object has the following fields:
|
Name |
Type |
Description |
|---|---|---|
|
|
String |
Customer identifier. |
|
|
String |
Site group identifier. |
|
|
String |
Segment identifier. |
|
|
Long |
Users count in segment |
|
|
Long |
Users count per 90 days |
|
|
Long |
Users count per month |
|
|
Long |
Users count per week |
|
|
Long |
Users count per day |
|
|
Long |
Views count per 90 days |
|
|
Long |
Views count per month |
|
|
Long |
Views count per week |
|
|
Long |
Views count per day |
|
|
Long |
Urls count in segment |
|
|
Long |
Urls count per 90 days |
|
|
Long |
Urls count per month |
|
|
Long |
Urls count per week |
|
|
Long |
Urls count per day |
|
|
Boolean |
Result |
|
|
String |
Segment name |
|
|
String |
Segment short ID |
Examples
python cx.py /reach-overlap/reach '{"customerId": "6a82ea610f586ffabcddb5cac81b0ec3754d15c2", "siteGroupId": "9222291112880224990", "limit": 5}'
{
"reaches": [
{
"customerId": "6a82ea610f586ffabcddb5cac81b0ec3754d15c2",
"siteGroupId": "9222291112880224990",
"segmentId": "8mseewg8dbwc",
"audience": 151909,
"usersPer90Days": 0,
"usersPerMonth": 151909,
"usersPerWeek": 100498,
"usersPerDay": 83562,
"viewsPer90Days": 0,
"viewsPerMonth": 3855662,
"viewsPerWeek": 863348,
"viewsPerDay": 120884,
"success": true,
"name": "New segment Anton"
},
{
"customerId": "6a82ea610f586ffabcddb5cac81b0ec3754d15c2",
"siteGroupId": "9222291112880224990",
"segmentId": "8msgj8p4nzu6",
"audience": 151909,
"usersPer90Days": 0,
"usersPerMonth": 151909,
"usersPerWeek": 100498,
"usersPerDay": 83562,
"viewsPer90Days": 0,
"viewsPerMonth": 3855662,
"viewsPerWeek": 863348,
"viewsPerDay": 120884,
"success": true,
"name": "New segment190819"
},
{
"customerId": "6a82ea610f586ffabcddb5cac81b0ec3754d15c2",
"siteGroupId": "9222291112880224990",
"segmentId": "8n3jtq4m73ye",
"audience": 151909,
"usersPer90Days": 0,
"usersPerMonth": 151909,
"usersPerWeek": 100498,
"usersPerDay": 83562,
"viewsPer90Days": 0,
"viewsPerMonth": 3855661,
"viewsPerWeek": 863347,
"viewsPerDay": 120884,
"success": true,
"name": "New segment"
},
{
"customerId": "6a82ea610f586ffabcddb5cac81b0ec3754d15c2",
"siteGroupId": "9222291112880224990",
"segmentId": "8nemytrw5i3a",
"audience": 151909,
"usersPer90Days": 0,
"usersPerMonth": 151909,
"usersPerWeek": 100498,
"usersPerDay": 83562,
"viewsPer90Days": 0,
"viewsPerMonth": 3855661,
"viewsPerWeek": 863347,
"viewsPerDay": 120884,
"success": true,
"name": "New segment"
},
{
"customerId": "6a82ea610f586ffabcddb5cac81b0ec3754d15c2",
"siteGroupId": "9222291112880224990",
"segmentId": "8msfo30vz30x",
"audience": 151909,
"usersPer90Days": 0,
"usersPerMonth": 151909,
"usersPerWeek": 100498,
"usersPerDay": 83562,
"viewsPer90Days": 0,
"viewsPerMonth": 3855637,
"viewsPerWeek": 863347,
"viewsPerDay": 120884,
"success": true,
"name": "VD_test"
}
]
}