update_linkedin_campaign_group

LinkedIn Ads Write

User wants to modify a LinkedIn campaign group (rename, change status, update budget)

Endpoint

POST https://api.adspirer.ai/api/v1/tools/update_linkedin_campaign_group/execute

Headers

Description

User wants to modify a LinkedIn campaign group (rename, change status, update budget). Update campaign group name, status, total budget, or end date. Parameters: - campaign_group_id: Campaign group ID to update (required) - name: New name for the group - status: New status (ACTIVE, PAUSED, or ARCHIVED) - total_budget: New total budget - end_date: New end date in ISO format - account_id: Optional LinkedIn Ad Account ID Note: Changes to a campaign group affect all campaigns within it. Example Prompts: - "Rename my campaign group to Q2 2026" - "Pause campaign group 12345" - "Set the budget for my campaign group" - "Update my LinkedIn campaign group" Execution time: 2-3 seconds

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
campaign_group_idstring requiredCampaign group ID to update
namestring optionalNew name for the campaign group
statusstring optionalNew status: ACTIVE, PAUSED, or ARCHIVED
total_budgetnumber optionalNew total budget
end_datestring optionalNew end date in ISO format
account_idstring optionalLinkedIn Ad Account ID. Required for multi-account users. Get from list_connected_accounts.

Example request

{
  "arguments": {
    "campaign_group_id": "string",
    "name": "string",
    "status": "string",
    "total_budget": 1.0,
    "end_date": "string",
    "account_id": "string"
  }
}

Example responses

200 — Success

{
  "success": true,
  "data": {
    "text": "(tool-specific textual output for update_linkedin_campaign_group)",
    "quota": {
      "used": 42,
      "limit": 150,
      "tier": "plus",
      "period_end": "2026-05-01"
    }
  },
  "tool": "update_linkedin_campaign_group"
}

400 — Tool-level error (bad arguments / multi-account selection)

{
  "success": false,
  "error": "You have 25 meta_ads accounts connected. Please specify which account to use by passing the ad_account_id parameter:\n  - Acme Holdings (ad_account_id=\"act_123456789\")\n  - Acme EU (ad_account_id=\"act_987654321\")",
  "is_error": true,
  "tool": "update_linkedin_campaign_group"
}

402 — Quota exhausted

{
  "success": false,
  "error": "\ud83d\udea8 Monthly limit reached (150/150 tool calls on Plus tier).\nUpgrade to Pro at https://adspirer.ai to keep building.",
  "is_error": true,
  "tool": "update_linkedin_campaign_group",
  "quota": {
    "used": 150,
    "limit": 150,
    "tier": "plus",
    "period_end": "2026-05-01",
    "upgrade_url": "https://adspirer.ai"
  }
}

Try it live


Adspirer REST API — get an API key at adspirer.ai/keys · adspirer.ai