linkedin_ads_list_ad_accounts
List LinkedIn Ad Accounts
LinkedinDescription
List LinkedIn Sponsored Ad Accounts accessible to the authenticated user.
Read-onlyIdempotentOpen-world
Usage
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "linkedin_ads_list_ad_accounts",
"arguments": {
"reason": "User wants to see their LinkedIn ad accounts"
}
}
}
hopkin linkedin ad-accounts list
| Flag | Type | Required | Description |
|---|---|---|---|
--status | array | Optional | Filter by account status. Defaults to [ACTIVE]. |
--type | string | Optional | Filter by account type. |
--include-test-accounts | boolean | Optional | Include test accounts. Defaults to false. |
--limit | integer | Optional | |
--cursor | string | Optional | Opaque pagination cursor. |
--refresh | boolean | Optional |
{
"mcpServers": {
"linkedin-ads": {
"url": "https://mcp.hopkin.ai/linkedin-ads/mcp",
"transport": "sse"
}
}
}
- List active accounts
- Include test accounts
- By type
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
reason |
string |
Required | Why this tool call is neededminLength: 1, maxLength: 500 |
Optional parameters (6)
| Name | Type | Required | Description |
|---|---|---|---|
status |
array |
Optional | Filter by account status. Defaults to [ACTIVE]. |
type |
string |
Optional | Filter by account type.BUSINESS ENTERPRISE |
include_test_accounts |
boolean |
Optional | Include test accounts. Defaults to false. |
limit |
integer |
Optional | min: 1, max: 100 |
cursor |
string |
Optional | Opaque pagination cursor. |
refresh |
boolean |
Optional |
Examples
List active accounts
{
"reason": "User wants to see their LinkedIn ad accounts"
}
hopkin linkedin ad-accounts list
Include test accounts
{
"include_test_accounts": true,
"reason": "User wants to see test accounts"
}
hopkin linkedin ad-accounts list --include-test-accounts true
By type
{
"type": "BUSINESS",
"reason": "Filter to business accounts only"
}
hopkin linkedin ad-accounts list --type BUSINESS