add_linkedin_text_creative

LinkedIn Ads Write

**USE THIS TOOL WHEN:** User wants to add another text ad to an EXISTING TEXT_AD campaign

Endpoint

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

Headers

Description

**USE THIS TOOL WHEN:** User wants to add another text ad to an EXISTING TEXT_AD campaign. **DO NOT USE to create a new campaign.** For new campaigns → `create_linkedin_text_campaign`. **DO NOT USE for image/video/carousel campaigns** → use `add_linkedin_creative` or `add_linkedin_video_creative`. **DO NOT USE for different audiences** → use `add_linkedin_campaign_to_group` instead. **KEY DISTINCTION:** - Same audience, different headline/description → use THIS tool - Different audience/targeting → use `add_linkedin_campaign_to_group` LinkedIn recommends 3-4 text ad variations per campaign. Required Parameters: - campaign_id: TEXT_AD campaign to add creative to - headline: Text ad headline (max 25 chars) - description: Text ad description (max 75 chars) - landing_page_url: Destination URL (HTTPS) AD POLICY: NEVER use "LinkedIn" in headline or description. Execution time: 3-5 seconds

Request body

All tool arguments are wrapped in an arguments object.

FieldTypeDescription
campaign_idstring requiredCampaign ID to add the text ad creative to
account_idstring optionalLinkedIn Ad Account ID (optional, auto-resolved if omitted)
headlinestring requiredText ad headline (max 25 characters)
descriptionstring requiredText ad description (max 75 characters)
landing_page_urlstring requiredDestination URL (must start with https://)
image_urnstring optionalOptional 100x100 logo/image URN for the text ad (JPG/PNG, max 2MB). Improves CTR.
creative_namestring optionalName for this creative (shown in Campaign Manager UI). E.g. 'B2B Leads - Ad 2'

Example request

{
  "arguments": {
    "campaign_id": "<campaign_id>",
    "headline": "string",
    "description": "string",
    "landing_page_url": "https://example.com",
    "account_id": "string",
    "image_urn": "string",
    "creative_name": "string"
  }
}

Example responses

200 — Success

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

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

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": "add_linkedin_text_creative",
  "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