hermosodocs

list_linkedin_ads_campaigns

List LinkedIn ad accounts / campaigns read-only

Area: COMMUNITY MANAGEMENT · Publishing & scheduling. Generated from the running MCP server, like the rest of the tool reference.

Description

Read the LinkedIn ad accounts this connection can reach, and — with adAccountId — that account’s campaign groups and campaigns: name, status, objective, budgets, and LinkedIn’s own servingStatuses, which explain WHY something is not delivering (billing hold, start-date hold, parent-status hold). LinkedIn’s Advertising API is an approval-gated product, and on its Development tier each ad account must ALSO be mapped to the app in LinkedIn’s Developer Portal — so if nothing is reachable, say that rather than implying the user has no ad account. Read-only, free.

Parameters

ParameterTypeDescription
adAccountIdstringLinkedIn ad account id — omit to list the reachable accounts
campaignIdstringalso return the CREATIVES (the actual ads) under this campaign, each with its intendedStatus, whether it isServing, and LinkedIn’s own servingHoldReasons
campaignIdsstring[]same, for several campaigns at once
statuses"ACTIVE" | "PAUSED" | "ARCHIVED" | "DRAFT"[]filter campaigns by ACTIVE, PAUSED, ARCHIVED or DRAFT

Example call

Every required parameter is shown, filled from the schema where it gives a value and otherwise with a placeholder naming the type. Replace the placeholders with real values. The same call works on the MCP server, the CLI and POST https://app.hermoso.ai/v1/tools/list_linkedin_ads_campaigns.

MCP (tools/call)

{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_linkedin_ads_campaigns","arguments":{}}}

CLI

hermoso call list_linkedin_ads_campaigns --json '{}'

Credits

Credits are spent only on two things: running an AI model (image, video, voice, text, planning, post-production) and Ad Spy research. See Credits & costs.

All 728 Publishing & scheduling tools · tools.json