Get ad insights
ads_get_insightsReturn daily performance for an ad account, or for one campaign, ad set or ad when objectId is given.
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. | |
| objectId | No | A campaign, ad set or ad id from ads_get_tree. Defaults to the whole ad account. | |
| 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 |