brand_detach_advertiser
Remove the link between an ad account and a brand, leaving the brand and its context untouched.
Removes the link between an ad account and a brand, so brand_resolve on that account stops returning this brand’s context.
Only the link goes. The brand, everything written on it, and its files are untouched — and any other account attached to the same brand is unaffected.
Input
| Field | Type | Required | Description |
|---|---|---|---|
brand_name |
string |
yes | The brand slug. |
advertiser_id |
string |
yes | The ad account id (acc_…). |
The same two fields brand_attach_advertiser takes — see that page for how accounts and brands relate, including the fact that one account can belong to several brands.
Requires the brand:write scope.
Reference
Detach an ad account from a brand. The brand itself and its context are untouched — only the link goes.
Input
| Argument | Type | Required | Description |
|---|---|---|---|
advertiser_id |
string | yes | The ad account id (acc_…). Discover ids with list_advertisers. |
brand_name |
string | yes | The brand slug. |
Failure codes
A failed call has isError set, and structuredContent.error holds one of these codes. Errors describes the shape of a failed call.
not_foundadvertiser_not_ownednot_attachedforbiddeninvalid_requestinternal_error
Scope
The token must hold brand:write. Auth & scopes lists each scope.
Annotations
A client reads these hints. A hint that the tool does not declare has the default value of the MCP specification.
- Writes. The tool can change data.
- Destructive. The tool can make a change that you cannot undo. A client can ask you to confirm before it calls the tool.
- Not idempotent. A second call with the same arguments can change more.
- Closed world. The tool reads and writes the data of AdCrunch only.