Choose which accounts a brand may use
set_connector_accountsDefine which connector accounts (Meta, Google Ads, LinkedIn, etc.) a brand can post to and spend from. Replaces the current selection; an empty list blocks publishing. Validates each ID against the live connection.
Instructions
Set WHICH of a connector's accounts this brand is allowed to post to and spend from — Facebook Pages / Instagram / Meta ad accounts, Google Ads customers, LinkedIn company Pages (and the personal profile), Pinterest or Microsoft Advertising ad accounts. Pass ids from list_connector_accounts. This REPLACES the current selection: anything you leave out is un-shared, and an EMPTY list shares nothing (publishing then refuses — it fails closed by design, and the server re-verifies every id against the live connection, so an id the account cannot actually reach is rejected rather than saved). Ask the user which accounts they mean; posting as the wrong Page is a public mistake. Providers: meta, google_ads, linkedin, pinterest_ads, linkedin_ads, reddit_ads, apple_ads, microsoft_ads, google_business, google_analytics, snapchat_ads, x_ads, tiktok_ads, google_tag_manager, google_search_console, bing_webmaster. Free.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | Yes | which connector to scope | |
| accountIds | Yes | the ids (from list_connector_accounts) this brand may use — an empty array shares nothing |