List the ad accounts linked to the organization
campaign_manager.accounts.list
Lists the Google Ads, Meta Ads, TikTok Ads and LinkedIn Ads accounts linked to the organization (platform, account_id, account_name, Google's manager_id, the currency when the connection stored it, and whether the connection is inherited from the workspace). These are the only accounts Campaign Manager reads or changes for this organization: use account_id as is in campaign_manager.campaigns.list and the mutations. Reads no platform. Requires view access to Campaign Manager. With Google Ads, LinkedIn or TikTok, their terms limit it through the API and the MCP: what they do not allow answers 403 platform_terms_restricted, and their records are left out of the response (the permissions guide lists what each platform allows).
- Escopo
campaign_manager:read- Permissão
- Ver o módulo
- Tool do MCP
campaign_manager_accounts_listNa superfície completa; na compacta,mb_execute_operationcomid: "campaign_manager.accounts.list".
Custo declarado: até 0 leituras e 0 escritas por chamada (contam na cota diária).
Parâmetros
platformenumqueryopcionalOnly the accounts of this platform.
Valores: google_ads, meta_ads, tiktok_ads, linkedin_ads
Resposta
dataarray<object>The linked ad accounts.
has_morebooleanAlways false: the list is complete.
Erros
Exemplo
curl "https://api.mb-suite.com/v1/campaign-manager/accounts" \
-H "Authorization: Bearer $MB_API_KEY"Testar com a sua API key de teste
Com uma API key de teste o pedido vai sempre para a sua organização de prática: dados de exemplo que você pode reiniciar.
curl "https://api.mb-suite.com/v1/campaign-manager/accounts" \
-H "Authorization: Bearer $MB_TEST_KEY"