Li List Ad Accounts
li_list_ad_accountsCheck which LinkedIn ad accounts you can access. Returns account IDs, names, and status to identify which account to use for campaigns.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"count": 10,
"start": 0
},
"name": "li_list_ad_accounts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Max results (default 10) | |
| start | No | Pagination offset (default 0) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error code if connection not found | |
| paging | No | Pagination metadata | |
| message | No | Error message with guidance | |
| elements | No | List of ad accounts |