Menu

Referência da API · Media Planner

Histórico de alterações

media_planner · changes · 1 operação

GET/v1/media-planner/plans/{plan_id}/changes

List the change history of a plan's campaigns

media_planner.changes.list

LeituraIdempotenteDesde 2026-11-01

Lists the change history of a media plan's rows, newest first, paginated by cursor: who changed what and when, field by field with the value before and after (budget, status, dates, platform, currency, labels, link, Auto-Budget, carryover), plus creations, deletions and imports. source says where it came from (user, ai, autobudget, carryover, system). Pass campaign_id for the history of one row (it survives the row's deletion). Reordering and the daily cost sync are not history. Requires view access to the Media Planner. 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
media_planner:read
Permissão
Ver o módulo
Tool do MCP
media_planner_changes_listNa superfície completa; na compacta, mb_execute_operation com id: "media_planner.changes.list".

Custo declarado: até 203 leituras e 0 escritas por chamada (contam na cota diária).

Parâmetros

plan_idstringrotaobrigatório

Media plan id (from media_planner.plans.list).

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.

campaign_idstringqueryopcional

Only the history of this row (it survives the row's deletion).

Resposta

dataarray<object>
has_moreboolean
next_cursorstring

Erros

Exemplo

curl "https://api.mb-suite.com/v1/media-planner/plans/{plan_id}/changes" \
  -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/media-planner/plans/{plan_id}/changes" \
  -H "Authorization: Bearer $MB_TEST_KEY"