set_status
Activate, pause, or archive campaigns, ad groups, or ads with a single lifecycle transition. Confirm required for irreversible archive.
Instructions
Apply a single lifecycle transition to a campaign, ad group, or ad.
Note: pausing a campaign or ad group does NOT change its children's status (they
stay 'active' but stop serving). archive is IRREVERSIBLE and removes the object
from all list views — it requires confirm=true (matching archive_ads); prefer
action="pause" unless you are certain.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| resource_id | Yes | ||
| action | Yes | ||
| confirm | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| id | Yes | ||
| status | No | ||
| review_status | No |