Menu

Referência da API · Campaign Manager

Campanhas

campaign_manager · campaigns · 1 operação

GET/v1/campaign-manager/campaigns

List the campaigns of a linked ad account (live)

campaign_manager.campaigns.list

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

Escopo
campaign_manager:read
Permissão
Ver o módulo
Tool do MCP
campaign_manager_campaigns_listNa superfície completa; na compacta, mb_execute_operation com id: "campaign_manager.campaigns.list".

Custo declarado: até 1 leituras e 0 escritas por chamada (contam na cota diária). Usa uma plataforma externa (google_ads): conta na cota de operações externas.

Parâmetros

platformenumqueryobrigatório

The platform of the account.

Valores: google_ads, meta_ads, tiktok_ads, linkedin_ads

account_idstringqueryobrigatório

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

Padrão: 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

Resposta

dataarray<object>
has_moreboolean
next_cursorstring

Erros

Exemplo

curl "https://api.mb-suite.com/v1/campaign-manager/campaigns?platform=google_ads&account_id=ACCOUNT_ID" \
  -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. Na prática esta operação não é simulada (usa outra plataforma): responde 409 sandbox_external_unavailable.