Ads

List ad accounts

Every ad account the Facebook connection can reach.

GEThttps://app.tryadeli.com/api/v1/ads/accounts
AuthorizationBearer <API key>How keys work

Every ad account the connection can reach, both directly assigned and owned by a Business portfolio the authorizing person administers. businessId is null for a directly-assigned account.

The list is reused for up to 15 minutes; fetchedAt is when the oldest part of it was read from Meta. Pass refresh=true after granting access to a new ad account to see it immediately. Other endpoints re-list on their own when given an ad account id the stored list does not contain.

Query parameters

accountIduuid
A connected Facebook account. Defaults to the profile's.
profileIduuid
Required unless you pass accountId, which names its profile. If you pass both, they must agree.
refreshboolean
true to ask Meta again instead of using the stored list.