MCP tools

List ad account campaigns

Lists ALL campaigns in the brand's ad account on its ad platform, including those NOT imported to Koast.

Tool name: list-account-campaigns.

Lists ALL campaigns in the brand's ad account on its ad platform, including those NOT imported to Koast. It is the source for what exists in the ad account itself, as opposed to what Koast tracks. Do NOT use get-campaign-tree, that returns only Koast-tracked data. Pass accountId explicitly when account scope was resolved via list-my-ad-accounts (multi-account / all-accounts dashboard); omit only when a single account is already locked-in by the dashboard context.

When to use

Returns every campaign in an ad account on the ad platform, including ones never imported into Koast. Pass nameQuery to find a specific named campaign. get-campaign-tree sees only Koast data, so it is not a substitute.

Access

PropertyValue
Required scoperead
PublishesNo
Read-onlyYes
DestructiveNo
IdempotentYes
Open worldYes

Input

FieldTypeRequiredDescription
accountIdstringNoAd account id (e.g. act_1234). Required when no single account is locked in context, get it from list-my-ad-accounts.
statusFilterstring[]NoFilter by status: ACTIVE, PAUSED, ARCHIVED
nameQuerystringNoCase-insensitive substring to match campaign names. ALWAYS pass this when the user named a specific campaign (e.g. "meta test campaign"), the account can hold hundreds of campaigns and this returns only the matches with their ids.
cursorstringNoOpaque cursor from the previous page's nextCursor. Omit for the first page.
limitintegerNoRows per page, 1-100. Defaults to 50 when paging. Minimum 1, maximum 100.

Output

FieldTypeRequiredDescription
asOfstringNoISO time of the live provider read behind this response. Set on MCP and API responses, which may be served from the short metrics cache.
campaignsobject[]Yes
totalInAccountnumberYes
matchednumberYes
nameQuerystring | nullYes
nextCursorstring | nullYesPass as cursor to read the next page. Null when there is no next page.

REST equivalent

GET /v1/brands/{brandId}/ad-accounts/{accountId}/campaigns, List ad account campaigns. CLI: koast list-account-campaigns.

On this page