Activate or pause an ad
ads_set_statusSet a campaign, ad set (TikTok ad group) or ad to ACTIVE or PAUSED. TikTok needs level. ACTIVE starts spending real money on the ad account: never activate without the user's explicit confirmation of the budget and dates.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| level | No | ||
| status | Yes | ||
| objectId | Yes | ||
| 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. | |
| adAccountId | Yes | ||
| campaignRecordId | No |