LinkedIn Ads: Get Campaign Details
linkedin_get_campaignRead one LinkedIn campaign of the user's own ad account in full: status, serving state, objective, format, bidding, budgets, schedule, locale, Audience Expansion, Audience Network and creative rotation settings, and its complete targeting criteria (included and excluded facets) with the entity URNs resolved to names where LinkedIn names them. Use it before proposing a targeting, bidding or delivery change. Reads only; changes nothing.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"campaign_id": "<campaign_id>"
},
"name": "linkedin_get_campaign"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | Numeric campaign id (or its urn:li:sponsoredCampaign URN), from linkedin_list_campaigns. | |
| ad_account_id | No | LinkedIn ad account to read: numeric account id or account name (from linkedin_list_ad_accounts). Pass it whenever the conversation is about a particular account; omitted, the only account or the stored default is used. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Campaign id. | |
| name | No | Campaign name. | |
| type | No | Campaign family, e.g. SPONSORED_UPDATES. | |
| format | No | Creative format the campaign serves. | |
| locale | No | Campaign locale, language_COUNTRY. | |
| runEnd | No | End of the schedule, ISO-8601; null when open-ended. | |
| status | No | ACTIVE, PAUSED, DRAFT, ARCHIVED, COMPLETED, CANCELED, ... | |
| costType | No | CPM, CPC or CPV. | |
| currency | No | ISO currency code that every money field in this result is denominated in, e.g. UAH or USD. Null when it could not be resolved — do not assume a currency then. | |
| runStart | No | Start of the schedule, ISO-8601. | |
| unitCost | No | Bid, target cost or cost cap. Amount in the account currency (see the currency field), e.g. 800.00 with currency UAH means 800 UAH — never a minor-unit integer. | |
| versionTag | No | LinkedIn's version tag of the campaign. | |
| adAccountId | Yes | LinkedIn ad account the campaign is in. | |
| dailyBudget | No | Daily budget. Amount in the account currency (see the currency field), e.g. 800.00 with currency UAH means 800 UAH — never a minor-unit integer. | |
| entityNames | Yes | Names of the entity URNs in the targeting, where LinkedIn names them. | |
| totalBudget | No | Total (lifetime) budget. Amount in the account currency (see the currency field), e.g. 800.00 with currency UAH means 800 UAH — never a minor-unit integer. | |
| objectiveType | No | What the campaign optimises for. | |
| campaignGroupId | No | Id of the campaign group it belongs to. | |
| servingStatuses | Yes | LinkedIn's serving states; RUNNABLE means it can deliver. | |
| creativeSelection | No | OPTIMIZED or ROUND_ROBIN. | |
| targetingCriteria | No | LinkedIn's targeting expression as stored: include.and[] of or-clauses keyed by facet URN, and exclude.or. | |
| offsiteDeliveryEnabled | No | LinkedIn Audience Network switch. | |
| optimizationTargetType | No | Bidding strategy. | |
| audienceExpansionEnabled | No | Audience Expansion switch. |