Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

API 1.4 and sub-classification

Avatar

Avatar
Coach
MVP
ursboller
MVP

Likes

517 likes

Total Posts

1,016 posts

Correct Reply

255 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile

Avatar
Coach
MVP
ursboller
MVP

Likes

517 likes

Total Posts

1,016 posts

Correct Reply

255 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile
ursboller
MVP

02-10-2018

need some help getting data out of API 1.4. I have a multi-level-classification (Multiple-Level Classifications) which looks something line this:

evar1

  |-- level1

      |---level1.1

the question is how can I return the values of level1.1 in a report by API 1.4? tried a lot of different calls but either get an error or no data returned. (I checked in workspace and I should get data)

I tried almost every combination of "classification" in the call as described here https://github.com/AdobeDocs/analytics-1.4-apis/blob/master/docs/reporting-api/data_types/r_reportDe...

any ideas or hints what to try?

remark: I have no problems getting data out of the first level (level1), but I want the sub-classification (level1.1)

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Coach
MVP
ursboller
MVP

Likes

517 likes

Total Posts

1,016 posts

Correct Reply

255 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile

Avatar
Coach
MVP
ursboller
MVP

Likes

517 likes

Total Posts

1,016 posts

Correct Reply

255 solutions
Top badges earned
Coach
Contributor
Bedrock
Seeker
Springboard
View profile
ursboller
MVP

04-10-2018

Thanks for your help, found it out myself.

AtulSingh​ you're call is just a filter, not an inline segment. the total is still for the unfiltered data...

Solution API 1.4

When trying "Inline-Segmentation" with Multi-Level-Classification you use just the display-name of the desired classification. it doesn't matter what level the classification is, just use the name.

lessons learned:

1) the level of classification doesn't matter, just use the name

2) never use the same name within the classification ...

3) watch your spelling

4) you can't filter for "~none~" eg to get the not classified values

Remark API 2.0: according to the workspace calls the problems should disappear since it's using a classification id.

Answers (2)

Answers (2)

Avatar

Avatar
Boost 5
Employee
atuls41837987
Employee

Likes

8 likes

Total Posts

19 posts

Correct Reply

14 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile

Avatar
Boost 5
Employee
atuls41837987
Employee

Likes

8 likes

Total Posts

19 posts

Correct Reply

14 solutions
Top badges earned
Boost 5
Boost 3
Boost 1
Affirm 5
Affirm 3
View profile
atuls41837987
Employee

04-10-2018

You can try something like this:

{

  "reportDescription": {

    "reportSuiteID": "RSID",

    "dateFrom": "Start",

    "dateTo": "End",

    "metrics": [

      {

        "id": "instances"

      }

    ],

    "elements": [

      {

        "id": "evar1",

        "classification": "level1.1"

        }

    ]

  }

}

Avatar

Avatar
Establish
Employee
hyderziaee
Employee

Likes

225 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile

Avatar
Establish
Employee
hyderziaee
Employee

Likes

225 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Establish
Coach
Contributor
Shape 1
Give Back 25
View profile
hyderziaee
Employee

03-10-2018

Can you share a sample request that you have used?