Query for Audience Attributes & Events | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by supratim320

paths (list) variable will give you all the attributes in the audience:

 

# here is your audience id
audienceId = ''
myseg_obj = aepp.segmentation.Segmentation()
paths = myseg_obj.extractPaths(audience=audienceId, recursive=True)
paths

1 reply

Level 5
February 12, 2025

I do not think "each attribute/ event" for an audience can be retrieved via query. You can get the segment names and people in an audience via query job.

Adobe has a python package aepp (or OOB Rest API). Using aepp, you can retrieve the attribute/ events and join them together 

AnnaGl1Author
February 12, 2025

Thank you for your response! Are you able to provide any more direction into the aepp package and were I could find information on the attribute/events? 

 

Thanks!

supratim320Accepted solution
Level 5
February 12, 2025

paths (list) variable will give you all the attributes in the audience:

 

# here is your audience id
audienceId = ''
myseg_obj = aepp.segmentation.Segmentation()
paths = myseg_obj.extractPaths(audience=audienceId, recursive=True)
paths