Best way to retrieve details of promoted posts?

Hi I am trying to get data on promoted posts for my ad account, but am not sure how to do this efficiently using the marketing api/python sdk.

I was figuring I needed get_promote_pages from ad account, then get_ads_posts for each page but 1) but don't seem to be able to get pages from the first one and 2) when I have to work through a list of items, I seem to hit rate limits a lot.

Any advice appreciated, cheers,


Asked about 2 months ago