Get ad insights
ads_get_insightsReturn daily performance for an ad account, or for one campaign, ad set or ad when objectId is given. For TikTok, breakdown returns an audience breakdown (age, gender, country_code or platform) instead of the daily series.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | TikTok: the level of objectId (campaign, ad_group or ad). Defaults to campaign. | |
| 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. | |
| 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. | |
| breakdown | No | TikTok only: return an audience breakdown instead of the daily series. | |
| profileId | No | A profileId from list_profiles. Optional when accountId is given, which names its profile; if both are given they must agree. | |
| adAccountId | Yes |