Hi Michael,
Looks like the documented max for "top" was 50 for version 1.3 of the API for GetRealTimeReport. For version 1.4 for Report.Run realtime I get the error below when setting "top" to > 100
"The maximum number of top element values supported is 100"
Sample Query: "top":"101"
{ "reportDescription":{ "source": "realtime", "reportSuiteID":"RSID", "metrics":[ {"id":"pageviews"} ], "elements":[ {"id":"page", "top":"101", } ] } } Query Response
{ "error":"element_top_invalid", "error_description":"The maximum number of top element values supported is 100", "error_uri":"https:\/\/marketing.adobe.com\/developer\/documentation\/analytics-reporting-1-4\/errors" }Also, as you wrote and experienced "startingWith" is ignored in my realtime query as well and the results are always displayed with the top result first.
{ "reportDescription":{ "source": "realtime", "reportSuiteID":"RSID", "metrics":[ {"id":"pageviews"} ], "elements":[ {"id":"page", "top":"100", "startingWith":"100" } ] } } Best,
Ryan
I'm also encountering "element_top_invalid" errors stating that "The maximum number of top element values supported is 100" whenever I set "top" to be greater than 100 - I've been reading that the max "top" value is 50000 - could there be a reason I'm getting these errors?
Your help with resolving these issues would be greating appreciated.
Many thanks,
Michael