remove_extension
Remove an ad extension from a campaign by first disassociating it, then deleting it from the library; handles partial failures for safe retries.
Instructions
Draft removal: disassociate from campaign, then delete from library.
Live-verified 2026-07-30.
If the disassociation itself (step 1) comes back with a batch error, nothing landed — the apply aborts and the delete is never attempted (aborted=... in the result), nothing to reconcile.
On a mid-apply failure (delete raises after disassociation landed) the error carries what landed (disassociated=True, deleted=False) — reconcile account state before retrying (a retry re-runs ALL steps, including re-disassociating).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | ||
| extension_id | Yes |