Menú

Referencia de la API · Campaign Manager

Campañas

campaign_manager · campaigns · 1 operación

GET/v1/campaign-manager/campaigns

List the campaigns of a linked ad account (live)

campaign_manager.campaigns.list

LecturaIdempotenteDesde 2026-11-01

Lists the campaigns of one linked ad account, read live from the platform (cached for 5 minutes, like the Campaign Manager grid), in the platform's order, a page at a time (limit 50 by default, up to 200; follow next_cursor) and optionally only active or only paused ones (status; archived and removed campaigns count as paused): id, name, status, objective, budget with its type and currency (Meta adds remaining), start and end dates, and Google's channel_type (VIDEO campaigns are read-only through Google's API). Use the ids with campaign_manager.mutations.apply. account_id must be linked to the organization (campaign_manager.accounts.list): any other is 404 external_account_not_linked and no platform is called. An expired connection is 409 integration_reconnect_required; what the platform rejects is 409 external_rejected, and 429 external_rate_limited or 503 external_unavailable mean retry after Retry-After. It counts against the organization's external quota (one unit per call, counted on the Google Ads cap, the scarcest). 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 (the permissions guide lists what each platform allows).

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

Costo declarado: hasta 1 lecturas y 0 escrituras por llamada (cuentan en el cupo diario). Toca una plataforma externa (google_ads): cuenta en el cupo de operaciones externas.

Parámetros

platformenumqueryrequerido

The platform of the account.

Valores: google_ads, meta_ads, tiktok_ads, linkedin_ads

account_idstringqueryrequerido

An ad account linked to the organization, as campaign_manager.accounts.list returns it (Google: customer id, Meta: act_…, TikTok: advertiser id, LinkedIn: account id).

limitintegerqueryopcional

How many items this page brings at most (see the maximum and the default in the schema).

Por defecto: 50

cursorstringqueryopcional

The next_cursor of the previous page, exactly as it came (only for the same list and filters); without it, the first page.

statusenumqueryopcional

Only active or only paused campaigns (archived and removed ones count as paused).

Valores: active, paused

Respuesta

dataarray<object>
has_moreboolean
next_cursorstring

Errores

Ejemplo

curl "https://api.mb-suite.com/v1/campaign-manager/campaigns?platform=google_ads&account_id=ACCOUNT_ID" \
  -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. En la práctica esta operación no se simula (toca otra plataforma): responde 409 sandbox_external_unavailable.