Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!

[Adobe Analytics API] Specifying multiple name filters in components GET requests

Avatar

Level 1

Hi, I have the following question regarding the Adobe Analytics API:

Is there a way to specify multiple names of metrics/calculatedmetrics/segments in the respective GET endpoints' parameters so that the response contains data only about the specified components?

E.g. calling the \segments endpoint with parameter names="segment1,segment2,segment3" returns a JSON response with data on the 3 segments in it's content.

From what I understand from the documentation we can specify name keywords in the \segments endpoint, but the response only contains data on segments that have all of the keywords in their names, so if we want multiple segments with completely different names, we have to either do 1 GET request per segment, or do 1 (more if there are more than 1000 total segments) GET request that returns all segments and filter them on client side.

The same thing happens for \calculatedmetrics and the \metrics endpoint does not even have a name filter parameter.

Thanks

0 Replies