Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanpraski/2d5542e7ef61cef006dde4543a13a4a9 to your computer and use it in GitHub Desktop.
Save ryanpraski/2d5542e7ef61cef006dde4543a13a4a9 to your computer and use it in GitHub Desktop.
Multiple filters to an Adobe Analytics real-time API query
{
"reportDescription":{
"source": "realtime",
"reportSuiteID":"rtd-example",
"metrics":[
{"id":"pageviews"}
],
"elements": [
{
"id": "page",
"search": {
"type": "AND",
"searches": [
{
"type": "OR",
"keywords": [
"skis",
"boots"
]
},
{
"type": "NOT",
"keywords": [
"salomon",
"atomic"
]
}
]
}
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment