Expand my Community achievements bar.

SOLVED

Adobe Analytics API Bookmark issue

Avatar

Level 1

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

}

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

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!

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

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!