0

I need to obtain all authorized ad accounts under my Developer Token, what's the fastest way to do that?

Currently I am using the /me/business endpoint to list all businesses and from each business list all /<<business_id>>/owned_ad_accounts and then /<<business_id>>/client_ad_accounts.

Problem is that with large business (millions of ad accounts each) this takes hours since request is paginated and can only be done sequentially.

Is there another faster way to list them all?

2
  • "Is there another faster way to list them all?" - probably not, I'm guessing. Can you explain your scenario - why do you need all of those, at the same time? Commented Aug 15 at 12:38
  • I need to maintain a list of all authorized accounts under my token to generate insight reports, the accounts would be the clients of an ads agency. Since insights are at account level I need to obtain all authorized accounts first. The account list can only be updated weekly since the API is very slow, the Ideal would be to update hourly or daily. Commented Aug 19 at 4:11

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.