Skip to main content
Level 2
Dec 1, 2015 10:48 AM UTC
Solved

Adobe warehouse segment doesn't work

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}"
    }
}

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Gigazelle
GigazelleAccepted solution
Adobe Employee
Dec 3, 2015 3:11 PM UTC

You will want to use API 1.4 to request this data. Are there any obstacles preventing you from doing so?

7 replies

li_mengAuthor
Level 2
Dec 1, 2015 2:10 PM UTC

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
            }
        ],

Translate
li_mengAuthor
Level 2
Dec 1, 2015 2:47 PM UTC

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

Translate
TanmayMathur
Adobe Employee
Adobe Employee
Dec 1, 2015 2:51 PM UTC

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

Translate
li_mengAuthor
Level 2
Dec 1, 2015 2:58 PM UTC

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
            }

Translate
li_mengAuthor
Level 2
Dec 2, 2015 3:52 PM UTC

Excuse me, do you have any news?

Translate
Gigazelle
Adobe Employee
GigazelleAdobe EmployeeAccepted solution
Adobe Employee
Dec 3, 2015 3:11 PM UTC

You will want to use API 1.4 to request this data. Are there any obstacles preventing you from doing so?

Translate
li_mengAuthor
Level 2
Dec 3, 2015 3:25 PM UTC

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? 

Translate