Menú

Referencia de la API · Campaign Manager

Cuentas

campaign_manager · accounts · 1 operación

GET/v1/campaign-manager/accounts

List the ad accounts linked to the organization

campaign_manager.accounts.list

LecturaIdempotenteDesde 2026-11-01

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).

Alcance
campaign_manager:read
Permiso
Ver el módulo
Tool del MCP
campaign_manager_accounts_listEn la superficie completa; en la compacta, mb_execute_operation con id: "campaign_manager.accounts.list".

Costo declarado: hasta 0 lecturas y 0 escrituras por llamada (cuentan en el cupo diario).

Parámetros

platformenumqueryopcional

Only the accounts of this platform.

Valores: google_ads, meta_ads, tiktok_ads, linkedin_ads

Respuesta

dataarray<object>

The linked ad accounts.

has_moreboolean

Always false: the list is complete.

Errores

Ejemplo

curl "https://api.mb-suite.com/v1/campaign-manager/accounts" \
  -H "Authorization: Bearer $MB_API_KEY"

Probar con tu API key de prueba

Con una API key de prueba el pedido va siempre a tu organización de práctica: datos de ejemplo que puedes reiniciar.

curl "https://api.mb-suite.com/v1/campaign-manager/accounts" \
  -H "Authorization: Bearer $MB_TEST_KEY"