> ## Documentation Index
> Fetch the complete documentation index at: https://docs.markifact.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Update Campaign Status

> Update the status of Meta Ads campaigns

The **Update Campaign Status** node lets you change the status of Meta Ads campaigns to activate, pause, or delete them. Supports both single campaign updates and bulk operations.

***

## When to Use It

* Pause underperforming campaigns automatically
* Activate campaigns based on performance thresholds
* Delete campaigns that are no longer needed
* Bulk update multiple campaigns based on data analysis

***

## Inputs

| Field                  | Type           | Required | Description                                               | Applies To                |
| ---------------------- | -------------- | -------- | --------------------------------------------------------- | ------------------------- |
| **Account**            | Select         | Yes      | Select one Meta Ads account                               | Both                      |
| **Update Type**        | Tabs           | Yes      | Choose single campaign or bulk updates                    | Both                      |
| **Campaign**           | Dynamic-select | Yes      | Select the campaign to update                             | Single Update             |
| **New Status**         | Select         | Yes      | Choose the new campaign status                            | Single Update             |
| **Bulk Update Method** | Select         | Yes      | Choose "Map Fields Individually" or "Use Structured Data" | Bulk Updates              |
| **Structured Data**    | Dynamic-text   | Yes      | Data source with `campaign_id` and `status` columns       | Bulk Updates (Structured) |
| **Campaign IDs**       | Dynamic-text   | Yes      | Source of campaign IDs                                    | Bulk Updates (Manual)     |
| **New Statuses**       | Dynamic-text   | Yes      | Source of status values                                   | Bulk Updates (Manual)     |

### Campaign Status Options

| Status      | Description                            |
| ----------- | -------------------------------------- |
| **ACTIVE**  | Campaign is active and serving ads     |
| **PAUSED**  | Campaign is paused and not serving ads |
| **DELETED** | Campaign is deleted (cannot be undone) |

### Bulk Update Requirements

**Structured Data Format:**

* Must contain columns: `campaign_id` and `status`
* Status values must be: `ACTIVE`, `PAUSED`, or `DELETED` (case-sensitive)

**Example structured data format:**

| campaign\_id | status  |
| ------------ | ------- |
| 123456789    | PAUSED  |
| 987654321    | ACTIVE  |
| 456123789    | DELETED |

**Manual Mapping:**

* Campaign IDs and statuses are matched by position
* Status values must be: `ACTIVE`, `PAUSED`, or `DELETED` (case-sensitive)

***

## Output

Returns confirmation of the update operation with details of which campaigns were modified.

***

## Credit Cost

* **Cost per run**: 1 credit (regardless of number of campaigns updated)

***

## FAQs

<Accordion title="Can I undo a campaign deletion?">
  No. Setting a campaign status to `DELETED` permanently removes the campaign and cannot be undone. Use `PAUSED` instead if you might want to reactivate the campaign later.
</Accordion>

<Accordion title="What happens to ads when I pause a campaign?">
  When a campaign is paused:

  * All ads stop serving immediately across Facebook and Instagram
  * Historical data is preserved
  * No new costs are incurred
  * Campaign can be re-activated at any time
</Accordion>

<Accordion title="How do I bulk update campaigns based on performance?">
  1. Use **Get Report** node to fetch campaign performance data
  2. Use **AI Analyze Data** to identify campaigns to pause/activate
  3. Connect the output to this node using structured data format
  4. Ensure your data includes `campaign_id` and `status` columns
</Accordion>

<Accordion title="What's the difference between structured data and manual mapping?">
  * **Structured data**: Your data source contains both campaign IDs and statuses in a single dataset
  * **Manual mapping**: You have separate data sources for campaign IDs and statuses (matched by position)

  Use structured data when your analysis output includes both fields. Use manual mapping when you have separate lists.
</Accordion>

<Accordion title="Can I update campaigns across multiple accounts?">
  No. Each node instance works with one Meta Ads account. To update campaigns across multiple accounts, use separate nodes for each account.
</Accordion>

<Accordion title="What happens if a campaign ID doesn't exist?">
  The node will report an error for invalid campaign IDs but continue processing valid ones. Check the output for any failed updates.
</Accordion>

<Accordion title="Do status changes take effect immediately?">
  Yes. Campaign status changes take effect immediately in Meta Ads. Your campaigns will start or stop serving ads right away across Facebook and Instagram.
</Accordion>

<Accordion title="Can I schedule campaign status changes?">
  Use the **Scheduler** node to run this campaign status update at specific times. This is useful for:

  * Activating campaigns at optimal times
  * Pausing campaigns during off-hours
  * Implementing time-based campaign strategies
</Accordion>
