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

Are Two or more filter possible in Adobe Analytics API Query?

Avatar

Avatar
Validate 1
Level 4
ryanpraski
Level 4

Likes

17 likes

Total Posts

49 posts

Correct Reply

33 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 4
ryanpraski
Level 4

Likes

17 likes

Total Posts

49 posts

Correct Reply

33 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
ryanpraski
Level 4

03-09-2016

Is it possible to have 2 or more filters in an Adobe Analytics v1.4 API query or can you only have one filter per query. 

Thanks,

Ryan Praskievicz

www.ryanpraski.com

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Validate 1
Level 4
ryanpraski
Level 4

Likes

17 likes

Total Posts

49 posts

Correct Reply

33 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile

Avatar
Validate 1
Level 4
ryanpraski
Level 4

Likes

17 likes

Total Posts

49 posts

Correct Reply

33 solutions
Top badges earned
Validate 1
Boost 5
Boost 3
Boost 10
Boost 1
View profile
ryanpraski
Level 4

06-09-2016

Thanks a lot for the help. I was able to use your example to apply multiple filters to my Adobe Analytics API v 1.4 Real-time query. The code example I used is below.

{ "reportDescription":{ "source": "realtime", "reportSuiteID":"RSID", "metrics":[ {"id":"pageviews"} ], "elements": [ { "id": "page", "search": { "type": "AND", "searches": [ { "type": "OR", "keywords": [ "YYYY", "CCCCCCC" ] }, { "type": "NOT", "keywords": [ "XXXXX" ] } ] } } ] } } 

Answers (2)

Answers (2)

Avatar

Avatar
Boost 50
Employee
hyderziaee
Employee

Likes

225 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile

Avatar
Boost 50
Employee
hyderziaee
Employee

Likes

225 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
hyderziaee
Employee

06-09-2016

That's great to know!

Avatar

Avatar
Boost 50
Employee
hyderziaee
Employee

Likes

225 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile

Avatar
Boost 50
Employee
hyderziaee
Employee

Likes

225 likes

Total Posts

465 posts

Correct Reply

222 solutions
Top badges earned
Boost 50
Boost 5
Boost 3
Boost 25
Boost 100
View profile
hyderziaee
Employee

05-09-2016

Hi Ryan,

The API allows multiple filters as well. Here is an example request:

{ "reportDescription": { "dateFrom": "YYYY-MM-DD", "dateTo": "YYYY-MM-DD", "reportSuiteID": "RSID", "elements": [ { "id": "page", "search": { "type": "or", "searches": [ { "type": "or", "keywords": [ "women", "men" ] }, { "type": "and", "keywords": [ "home" ] } ] } } ] } }