List the comments of a campaign
media_planner.comments.list
Lists the internal comments of a row of a media plan (campaign, platform or account row), oldest first, paginated by cursor: content (sanitized HTML), author, mentioned member uids, and edit date. Comments from before the unified comment system carry author_id instead of created_by_id. Requires view access to the Media Planner.
- Alcance
media_planner:read- Permiso
- Ver el módulo
- Tool del MCP
media_planner_comments_listEn la superficie completa; en la compacta,mb_execute_operationconid: "media_planner.comments.list".
Costo declarado: hasta 204 lecturas y 0 escrituras por llamada (cuentan en el cupo diario).
Parámetros
plan_idstringrutaMedia plan id (from media_planner.plans.list).
campaign_idstringrutaRow id inside the plan: a campaign, a platform row or an account row (from media_planner.campaigns.list).
limitintegerqueryopcionalHow many items this page brings at most (see the maximum and the default in the schema).
Por defecto: 50
cursorstringqueryopcionalThe next_cursor of the previous page, exactly as it came (only for the same list and filters); without it, the first page.
Respuesta
dataarray<object>has_morebooleannext_cursorstringErrores
Ejemplo
curl "https://api.mb-suite.com/v1/media-planner/plans/{plan_id}/campaigns/{campaign_id}/comments" \
-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/media-planner/plans/{plan_id}/campaigns/{campaign_id}/comments" \
-H "Authorization: Bearer $MB_TEST_KEY"