linkedin_ads_list_ad_accounts

List LinkedIn Ad Accounts

Linkedin

Description

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"
    }
  }
}

Parameters

NameTypeRequiredDescription
reason string Required Why this tool call is neededminLength: 1, maxLength: 500
Optional parameters (6)
NameTypeRequiredDescription
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