Expand my Community achievements bar.

Nomination window for the Adobe Community Advisor Program, Class of 2025, is now open!

Query service to extract metadata of the audience

Avatar

Level 2

Hi, is there any query in query service to extract the metadata of the audience (e.g. ID, name , attributes and condition)?
I checked but to no avail.

5 Replies

Avatar

Moderator

Can you provide more context?  

 

Are you trying to use the query service to get a list of your audiences inside of AEP with all the meta data?  Or are you trying to get this to then send along with a data collection activity ?

 

Avatar

Moderator

@KelvidPa 

 

From the AI Assistant within AEP:

 

To extract the metadata of an audience, including its ID, name, attributes, and condition, you can use the Adobe Experience Platform Query Service. The Query Service allows you to retrieve specific information about audiences by making a GET request to the /audiences endpoint. This endpoint supports various query parameters to help filter your results and retrieve the desired metadata.12

Here's how you can use the Query Service to extract the metadata of an audience:3

  1. Make a GET request to the /audiences endpoint, specifying the query parameters to filter the results based on your requirements. You can include parameters such as property, name, start, limit, and sort to narrow down the results and retrieve the metadata of the specific audience you're interested in.14

  2. Include the necessary query parameters in the request to filter the audiences based on their attributes, names, or other properties. For example, you can use the property parameter to specify audiences that exactly match an attribute's value, or the name parameter to filter audiences whose names contain the provided value.1

  3. Upon receiving the response from the Query Service, you will be able to extract the metadata of the audience, including its ID, name, attributes, and condition based on the parameters you specified in the request.3

By leveraging the Query Service and its query parameters, you can efficiently extract the metadata of audiences and obtain the specific information you need for analysis, targeting, or other use cases within Adobe Experience Platform.1

 

Avatar

Level 2

Hi @Rudi-Shumpert , I am trying to explore to use query service on platform (not API) to extract the metadata of the audiences. For the list of audiences, which I can extract it from segmentdefinition_snapshot_export. No, I am not send along with a data collection activity.

Avatar

Community Advisor

@KelvidPa Only way for now is to use Audience API as mentioned above to get granular details of each segment definition,segmentdefinition_snapshot_export provides you a bare minimum information about like name and id so that you join data across different datasets to have meaning results rather than id's.

 

If you can provide us detailed use case, we can try to guide more on how to achieve your goal.

 

~cheers,

NN.

 

 

 

Avatar

Administrator

@_Manoj_Kumar_@NickMannion@arpan-garg@pradnya_balvir@nnakirikanti@Rite18

Kindly take a moment to review this question and share your valuable insights. Your expertise would be greatly appreciated!



Kautuk Sahni