Get campaign tree
ads_get_treeReturn an ad account's campaigns, ad sets and ads, with spend and delivery metrics for the date range.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| since | No | YYYY-MM-DD. Give both since and until, or neither for the default range. | |
| until | No | YYYY-MM-DD, on or after since, at most 730 days later. | |
| accountId | No | The Facebook accountId from list_accounts. Defaults to the profile's Facebook connection. | |
| profileId | No | Defaults to the profile your API key is bound to. | |
| adAccountId | Yes |