List ad accounts
ads_list_accountsList the ad accounts an ads connection can reach: Meta ad accounts (act_), directly or through a Business portfolio, or TikTok advertisers () for a tiktok_ads account. Every other ads tool takes an adAccountId from here.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| platform | No | meta_ads or tiktok_ads. Needed only when the profile has both ad networks and no accountId is given. | |
| accountId | No | The Facebook accountId from list_accounts. Without it, pass profileId to use that profile's Facebook connection. | |
| profileId | No | A profileId from list_profiles. Optional when accountId is given, which names its profile; if both are given they must agree. |