download audience list | Community
Skip to main content
Level 2
February 23, 2024
Solved

download audience list

  • February 23, 2024
  • 1 reply
  • 738 views

Hi,

I want to fetch Name of all audiences from API response. I have written the python code but it gives me only 200 names, I have total 445 audiences.

Please suggest.

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 abhinavbalooni

Hey @meenalbo 

 

First query, do you have any limit parameter set in your script which is restricting the retrieval of all definitions ? Might be worth checking that.

Did you try to use pagination or may be use the start parameter to retrieve segment definitions from 201 onwards ?

Ideally the endpoint should have given you all the definitions in one go but if not then try using the start parameter which would tell the endpoint to fetch definitions from the ones which have not been fetched yet.

 

Link to the documentation: https://experienceleague.adobe.com/docs/experience-platform/segmentation/api/segment-definitions.html#list

 

Cheers,

Abhinav

1 reply

abhinavbalooni
Community Advisor
abhinavbalooniCommunity AdvisorAccepted solution
Community Advisor
February 25, 2024

Hey @meenalbo 

 

First query, do you have any limit parameter set in your script which is restricting the retrieval of all definitions ? Might be worth checking that.

Did you try to use pagination or may be use the start parameter to retrieve segment definitions from 201 onwards ?

Ideally the endpoint should have given you all the definitions in one go but if not then try using the start parameter which would tell the endpoint to fetch definitions from the ones which have not been fetched yet.

 

Link to the documentation: https://experienceleague.adobe.com/docs/experience-platform/segmentation/api/segment-definitions.html#list

 

Cheers,

Abhinav