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

Adobe Analytics API 2.0 dateRange filter

Avatar

Avatar
Validate 1
Level 2
eldhov19157560
Level 2

Likes

5 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile

Avatar
Validate 1
Level 2
eldhov19157560
Level 2

Likes

5 likes

Total Posts

29 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 1
Applaud 5
View profile
eldhov19157560
Level 2

07-10-2020

We are using Analytics API 2.0 to get data from the reportsuite. Today we came to face a strange thing in the API response in one of the requests.

We are using globalFilter dateRange to filter the data.

Request 1 ;-

"globalFilters":[{"type": "dateRange", "dateRange": "2020-09-22T00:00:00.000/2020-10-05T23:59:59.999"}]

Response 1 :-

"rows":[
{
"itemId":"xxxx",
"value":"Sep 21, 2020",
"data":[
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
{
"itemId":"xxx",
"value":"Sep 22, 2020",
"data":[
xx.0,
xx.0,
xx.0,
xx.xx,
xx.0,
0.xx
]
},
------
]

Request 2:-

"globalFilters":[{"dateRange": "2020-09-22T00:00:00.000/2020-10-05T23:59:59.999", "type": "dateRange"}]

Response 2:-

"rows":[
{
"itemId":"xxx",
"value":"Sep 22, 2020",
"data":[
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
{
"itemId":"xxx",
"value":"Sep 23, 2020",
"data":[
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
},
{
"itemId":"xx",
"value":"Sep 24, 2020",
"data":[
0.0,
0.0,
0.0,
0.0,
0.0,
0.0
]
}
]
}....
]


There is no difference in the dateRange filter (except attribute order), but you can see the Response 1 starts with Sep 21 and the Response 2 starts with Sep 22.

Analytics API

Accepted Solutions (0)

Answers (0)