I have tried with 3 types of segments, but none of them works. There are data in the result but it doesn't consider segment. Could someone help me?
{
"reportDescription": {
"reportSuiteID": "{reportSuiteID}",
"dateFrom": "2015-10-01",
"dateTo": "2015-10-01",
"source": "warehouse",
"elements": [{
"id": "browser"
}],
"segments":[
{
"id":"{segmentId}"
}
],
}
}
{
"reportDescription": {
"reportSuiteID": "{reportSuiteID}",
"dateFrom": "2015-10-01",
"dateTo": "2015-10-01",
"source": "warehouse",
"elements": [{
"id": "browser"
}],
"segments":[
{
"id":"dw:{segmentId}"
}
],
}
}
{
"reportDescription": {
"reportSuiteID": "{reportSuiteID}",
"dateFrom": "2015-10-01",
"dateTo": "2015-10-01",
"source": "warehouse",
"elements": [{
"id": "browser"
}],
"segment_id":"{segmentId}"
}
}
Solved! Go to Solution.
Views
Replies
Total Likes
You will want to use API 1.4 to request this data. Are there any obstacles preventing you from doing so?
Views
Replies
Total Likes
I am using the API 1.4. I found I can not find segments with the version 1.3 DataWarehouse.GetSegments. It may explain why the first request returns a segment with name null. But is that means a confliction between version 1.3 and 1.4?
"segments":[
{
"id":"{segmentId}",
"name":null
}
],
Views
Replies
Total Likes
Is the segment created with API 1.3 different from the segment created with dashboard version 15? I can find the segment created by API 1.3 on the dashboard 15 but the modification and delete of dashboard have no effect on th segment of API 1.3
Views
Replies
Total Likes
Hi,
Thanks for reaching out.
Could you please give an example what values you are using in place of 'segmentid' in the code snippet? That would help in troubleshooting the problem.
Thanks!
TM
Views
Replies
Total Likes
Hi,
Here's the details of the segment(https://api.omniture.com/admin/1.4/rest/?method=ReportSuite.GetSegments). I am not sure what is the parameter suite_enabled, because I can not set it in dashboard 15.Maybe it relates with my problem
{
"id":"s1011_565c65d5e4b000f255c10aa7",
"name":"warehouse test6",
"folder":"",
"class":"",
"suite_enabled":false,
"read_only":false
}
Views
Replies
Total Likes
Excuse me, do you have any news?
Views
Replies
Total Likes
You will want to use API 1.4 to request this data. Are there any obstacles preventing you from doing so?
Views
Replies
Total Likes
Hi Gigazelle,
I want to use warehouse with segment. But neither segment container nor segment id works. Here is my reportDescription.
{
"reportDescription": {
"reportSuiteID": "xxxxxx",
"dateFrom": "2015-10-01",
"dateTo": "2015-10-01",
"source": "warehouse",
"elements": [{
"id": "browser"
}],
"segments":[
{
"id":"s1011_565c65d5e4b000f255c10aa7"
}]
}
}
The segment is created with dashboard and it's available for warehouse. It's a segment browser="Android 4.0", but I can see all the browsers(Chrome,Safari...) in the result. That means the segment can pass the validation but is not used for warehouse.
Could you tell me the right way to use segment for warehouse?
Views
Replies
Total Likes