brand_attach_advertiser
Attach an ad account to a brand, so agents can resolve brand context from the account.
Attaches an ad account to a brand, so that anyone calling brand_resolve on that account finds this brand’s context. brand_detach_advertiser removes the link again.
Input
Both tools take the same two fields:
| Field | Type | Required | Description |
|---|---|---|---|
brand_name |
string |
yes | The brand slug. |
advertiser_id |
string |
yes | The ad account id (acc_…). |
Notes
- Attaching twice is harmless — the second call says the same thing as the first.
- An account can belong to several brands. Attaching to a second brand doesn’t detach the first;
brand_resolvewill return both. - Detaching removes only the link. The brand, its context and its files are untouched.
Requires the brand:write scope.