Adobe Analytics API Bookmark issue

viktorlazar 21-11-2017

Hi,

I have a problem with Adobe Analytics API and bookmarks. API behaves very strange and I'm not sure if I'm missing something.
When I test it via Developer Connection API explorer it works as expected and returns the data part of the report
example:

{

    "report":{

        "type":"ranked",

        "elements":[

            {

                "id":"page",

                "name":"Page"

            }

        ],

        "reportSuite":{

            "id":"ams.web.staging",

            "name":"AMS Website Staging Data"

        },

        "period":"2017",

        "metrics":[

            {

                "id":"pageviews",

                "name":"Page Views",

                "type":"number",

                "decimals":0,

                "latency":4363,

                "current":false

            }

        ],

        "data":[

            {

                "name":"name1",

                "url":"url1",

                "counts":[

                    "206"

                ]

            },

            ...

        ],

        "totals":[

            "1355"

        ],

        "version":"1.4.17.2"

    },

    "waitSeconds":0,

    "runSeconds":0

}

If I try this same procedure but from Java code (inside of AEM) result is missing the data part.
example:

{

    "report":{

        "type":"ranked",

        "reportSuite":{

            "id":"ams.web.staging",

            "name":"AMS Website Staging Data"

        },

        "period":"2017",

        "elements":[

            {

                "id":"page",

                "name":"Page"

            }

        ],

        "metrics":[

            {

                "id":"pageviews",

                "name":"Page Views",

                "type":"number",

                "decimals":0,

                "latency":4265,

                "current":false

            }

        ],

        "data":[

           

        ],

        "totals":[

            "1355"

        ],

        "version":"1.4.17.2"

    },

    "waitSeconds":0,

    "runSeconds":0

}

Accepted Solutions (1)

Accepted Solutions (1)

Gigazelle
Employee
28-11-2017

Hi Viktor, that sounds like a bug. If you could have a Supported user contact Customer Care, we can do some more in-depth research on what's going on and potentially provide a fix. Thanks!

Answers (0)