LinkedIn Ads: Update Campaign Bidding
linkedin_update_biddingChange the bidding of one LinkedIn campaign in the user's own ad account: its optimization target (LinkedIn's optimizationTargetType, e.g. NONE for manual bidding, MAX_CLICK / MAX_IMPRESSION / MAX_LEAD / MAX_CONVERSION for maximum delivery, TARGET_COST_PER_CLICK, CAP_COST_AND_MAXIMIZE_CLICKS), its cost type and its bid (unit_cost). Only the fields passed are changed. A manual, target-cost or cost-cap strategy needs a bid above zero, and a bid cannot exceed the campaign's daily budget. Not every strategy is available for every objective and format; LinkedIn's refusal is returned as is. Bids change what the campaign pays, so get the user's approval first. Supports dry_run.
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_update_bidding"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dry_run | No | true: read the object and report the field-level changes this call would make, changing nothing. Default false. Show the user the proposal and get their approval before calling without dry_run. | |
| cost_type | No | What the campaign is charged for. | |
| unit_cost | No | New bid, target cost or cost cap per result. In the ad account's own currency (the currency field of linkedin_list_campaigns), as a major-unit amount such as 80 or 80.50 — not in dollars unless that is the account currency, and not in minor units. | |
| campaign_id | Yes | Numeric campaign id (or its urn:li:sponsoredCampaign URN), from linkedin_list_campaigns. | |
| ad_account_id | No | LinkedIn ad account to change: numeric account id or exact account name. Required when you have several ad accounts — the stored default is never used for a change then. | |
| optimization_target_type | No | LinkedIn optimizationTargetType to switch to, as linkedin_list_campaigns reports it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | Yes | True when the call only previewed the change. | |
| changed | Yes | True only when this call changed LinkedIn Ads. | |
| changes | Yes | Field-level changes: made, or proposed on a dry run. | |
| 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. | |
| objectId | Yes | Numeric id of the object. | |
| verified | No | Whether LinkedIn's read-back holds every requested value; null when nothing was written or the read-back failed. | |
| warnings | Yes | Side effects and limits the user should hear about. | |
| operation | Yes | What happened: updated, no_change, or dry_run. | |
| objectName | No | The object's name, when it has one. | |
| objectType | Yes | Kind of object addressed. | |
| adAccountId | Yes | LinkedIn ad account the object is in. |