Expand my Community achievements bar.

SOLVED

Searching for Audiences that use a specific attribute

Avatar

Level 2

Hello,

Does anyone know if there is a way to find out all audiences in a sandbox that use a specific attribute? Without having to look at each audience 1 by 1.

 

Thank you

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hey @DavidRo7 

 

You can use an API endpoint to grab all the segment definitions in your sandbox.

Here's the link to the postman collection for AEP APIs : https://github.com/adobe/experience-platform-postman-samples/tree/master/apis/experience-platform

 

You are looking for 'List Segment Definitions' endpoint under Segmentation Service --> Segment Definitions.

The endpoint looks like this: https://platform.adobe.io/data/core/ups/segment/definitions

 

Once you make a request using the above endpoint, you would get all the segment definitions as part of the response which you can then search for a specific attribute like in the screenshot below, I am looking at email.

 

abhinavbalooni_0-1705016699133.png

 

Hope this would help you with what you are working on.

 

Cheers,

Abhinav

 

 

View solution in original post

5 Replies

Avatar

Community Advisor

Hi @DavidRo7  - Sorry i am unable to understand it. Do you mean that you want to search for all the profiles that have a specific attribute or you want to know all segments?

Avatar

Level 2

Hi @arpan-garg looking for all segments/audiences that have that specific attribute.

Avatar

Correct answer by
Community Advisor

Hey @DavidRo7 

 

You can use an API endpoint to grab all the segment definitions in your sandbox.

Here's the link to the postman collection for AEP APIs : https://github.com/adobe/experience-platform-postman-samples/tree/master/apis/experience-platform

 

You are looking for 'List Segment Definitions' endpoint under Segmentation Service --> Segment Definitions.

The endpoint looks like this: https://platform.adobe.io/data/core/ups/segment/definitions

 

Once you make a request using the above endpoint, you would get all the segment definitions as part of the response which you can then search for a specific attribute like in the screenshot below, I am looking at email.

 

abhinavbalooni_0-1705016699133.png

 

Hope this would help you with what you are working on.

 

Cheers,

Abhinav

 

 

Avatar

Administrator

@DavidRo7 Did you find the suggested solutions helpful? It would be great if you can  mark the answer as correct for posterity. If you have found out solution yourself, share it with wider audience in the community.

Avatar

Level 2

Hi, I have marked the above solution correct.