Create LinkedIn Carousel Campaign
USE THIS TOOL WHEN: User wants to create a LinkedIn CAROUSEL ad campaign (2-10 swipeable image cards).
DO NOT USE for image ads → use create_linkedin_image_campaign instead.
DO NOT USE for video ads → use create_linkedin_video_campaign instead.
DO NOT USE for text ads → use create_linkedin_text_campaign instead.
REQUIRED: Either campaign_group_name (creates new group) or campaign_group_id (adds to existing group).
IMPORTANT: This creates the campaign with 1 creative (Variation 1). Campaign is created in PAUSED status.
Carousel Specifications:
- 2-10 cards required (3-5 is the sweet spot)
- All images must be 1080x1080 (1:1 aspect ratio)
- Each card has: image, headline (max 45 chars), landing page URL
- Introductory text max: 255 characters
Required Parameters:
- campaign_name, daily_budget, organization_id
- introductory_text (up to 255 chars), landing_page_url (overall)
- cards: Array of 2-10 cards, each with image (urn or url), headline, landing_page_url
- locations (targeting)
- campaign_group_name OR campaign_group_id
Default Objective: WEBSITE_VISIT
AD POLICY: NEVER use “LinkedIn” in ad copy. NEVER mention competitor platforms.
After Creation — IMPORTANT:
- This tool created 1 campaign + 1 creative. Campaign Group ID is returned.
- To add MORE carousel creatives (A/B test text): use
add_linkedin_carousel_creativewith the campaign_id - To add MORE campaigns (different audience): use
add_linkedin_campaign_to_groupwith the campaign_group_id - NEVER call this create tool again without campaign_group_id — that creates a SEPARATE campaign group
Execution time: 15-60 seconds (includes image uploads)
curl --request POST \
--url https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"arguments": {
"call_to_action": "LEARN_MORE",
"campaign_group_id": "string",
"campaign_group_name": "string",
"campaign_name": "string",
"cards": [
{
"headline": "string",
"image_url": "string",
"image_urn": "string",
"landing_page_url": "https://example.com"
}
],
"daily_budget": 10,
"industries": [
"string"
],
"introductory_text": "string",
"landing_page_url": "https://example.com",
"locations": [
"string"
],
"objective": "WEBSITE_VISIT",
"organization_id": "string",
"seniorities": [
"string"
]
}
}
'import requests
url = "https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute"
payload = { "arguments": {
"call_to_action": "LEARN_MORE",
"campaign_group_id": "string",
"campaign_group_name": "string",
"campaign_name": "string",
"cards": [
{
"headline": "string",
"image_url": "string",
"image_urn": "string",
"landing_page_url": "https://example.com"
}
],
"daily_budget": 10,
"industries": ["string"],
"introductory_text": "string",
"landing_page_url": "https://example.com",
"locations": ["string"],
"objective": "WEBSITE_VISIT",
"organization_id": "string",
"seniorities": ["string"]
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
arguments: {
call_to_action: 'LEARN_MORE',
campaign_group_id: 'string',
campaign_group_name: 'string',
campaign_name: 'string',
cards: [
{
headline: 'string',
image_url: 'string',
image_urn: 'string',
landing_page_url: 'https://example.com'
}
],
daily_budget: 10,
industries: ['string'],
introductory_text: 'string',
landing_page_url: 'https://example.com',
locations: ['string'],
objective: 'WEBSITE_VISIT',
organization_id: 'string',
seniorities: ['string']
}
})
};
fetch('https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'arguments' => [
'call_to_action' => 'LEARN_MORE',
'campaign_group_id' => 'string',
'campaign_group_name' => 'string',
'campaign_name' => 'string',
'cards' => [
[
'headline' => 'string',
'image_url' => 'string',
'image_urn' => 'string',
'landing_page_url' => 'https://example.com'
]
],
'daily_budget' => 10,
'industries' => [
'string'
],
'introductory_text' => 'string',
'landing_page_url' => 'https://example.com',
'locations' => [
'string'
],
'objective' => 'WEBSITE_VISIT',
'organization_id' => 'string',
'seniorities' => [
'string'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute"
payload := strings.NewReader("{\n \"arguments\": {\n \"call_to_action\": \"LEARN_MORE\",\n \"campaign_group_id\": \"string\",\n \"campaign_group_name\": \"string\",\n \"campaign_name\": \"string\",\n \"cards\": [\n {\n \"headline\": \"string\",\n \"image_url\": \"string\",\n \"image_urn\": \"string\",\n \"landing_page_url\": \"https://example.com\"\n }\n ],\n \"daily_budget\": 10,\n \"industries\": [\n \"string\"\n ],\n \"introductory_text\": \"string\",\n \"landing_page_url\": \"https://example.com\",\n \"locations\": [\n \"string\"\n ],\n \"objective\": \"WEBSITE_VISIT\",\n \"organization_id\": \"string\",\n \"seniorities\": [\n \"string\"\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"arguments\": {\n \"call_to_action\": \"LEARN_MORE\",\n \"campaign_group_id\": \"string\",\n \"campaign_group_name\": \"string\",\n \"campaign_name\": \"string\",\n \"cards\": [\n {\n \"headline\": \"string\",\n \"image_url\": \"string\",\n \"image_urn\": \"string\",\n \"landing_page_url\": \"https://example.com\"\n }\n ],\n \"daily_budget\": 10,\n \"industries\": [\n \"string\"\n ],\n \"introductory_text\": \"string\",\n \"landing_page_url\": \"https://example.com\",\n \"locations\": [\n \"string\"\n ],\n \"objective\": \"WEBSITE_VISIT\",\n \"organization_id\": \"string\",\n \"seniorities\": [\n \"string\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"arguments\": {\n \"call_to_action\": \"LEARN_MORE\",\n \"campaign_group_id\": \"string\",\n \"campaign_group_name\": \"string\",\n \"campaign_name\": \"string\",\n \"cards\": [\n {\n \"headline\": \"string\",\n \"image_url\": \"string\",\n \"image_urn\": \"string\",\n \"landing_page_url\": \"https://example.com\"\n }\n ],\n \"daily_budget\": 10,\n \"industries\": [\n \"string\"\n ],\n \"introductory_text\": \"string\",\n \"landing_page_url\": \"https://example.com\",\n \"locations\": [\n \"string\"\n ],\n \"objective\": \"WEBSITE_VISIT\",\n \"organization_id\": \"string\",\n \"seniorities\": [\n \"string\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"quota": {
"limit": 150,
"period_end": "2026-05-01",
"tier": "plus",
"used": 42
},
"text": "(tool-specific textual output for create_linkedin_carousel_campaign)"
},
"success": true,
"tool": "create_linkedin_carousel_campaign"
}{
"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,
"success": false,
"tool": "create_linkedin_carousel_campaign"
}{
"error": "Not authenticated. Please connect your Adspirer account first at https://adspirer.ai",
"is_error": true,
"success": false,
"tool": "create_linkedin_carousel_campaign"
}{
"error": "🚨 Monthly limit reached (150/150 tool calls on Plus tier).\nUpgrade to Pro at https://adspirer.ai to keep building.",
"is_error": true,
"quota": {
"limit": 150,
"period_end": "2026-05-01",
"tier": "plus",
"upgrade_url": "https://adspirer.ai",
"used": 150
},
"success": false,
"tool": "create_linkedin_carousel_campaign"
}{
"error": "Tool not found: create_linkedin_carousel_campaign",
"is_error": true,
"success": false,
"tool": "create_linkedin_carousel_campaign"
}{
"error": "Upstream platform rate limit hit (Meta Business Use Case throttle at 95%). Retry after 60 seconds.",
"is_error": true,
"success": false,
"tool": "create_linkedin_carousel_campaign"
}{
"error": "Internal error: RuntimeError",
"is_error": true,
"success": false,
"tool": "create_linkedin_carousel_campaign"
}Authorizations
API key from https://adspirer.ai/keys. Prefix sk_live_. Treat as a secret — never commit.
Headers
Client-generated UUID to make writes idempotent. Strongly recommended for write tools. A repeat call with the same key returns the cached result instead of re-executing. Example: 550e8400-e29b-41d4-a716-446655440000
Body
All tool arguments are wrapped in an arguments object. The fields accepted inside arguments are listed below — required fields are marked with a red asterisk.
Input schema for creating LinkedIn Carousel Ad campaigns
Show child attributes
Show child attributes
Response
Tool executed successfully. data.text carries the human-readable result (markdown-friendly). data.quota shows your current usage against the plan limit. data.structured appears when the tool emits machine-parseable structured content. data.content appears for tools that return non-text blocks (images, resources).
Returned on HTTP 200. data.text is the primary human-readable output. data.quota is always present for billable calls. data.structured is set only when the tool emits machine-parseable structured content. data.content is set only when the tool emits non-text content blocks.
Was this page helpful?
curl --request POST \
--url https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"arguments": {
"call_to_action": "LEARN_MORE",
"campaign_group_id": "string",
"campaign_group_name": "string",
"campaign_name": "string",
"cards": [
{
"headline": "string",
"image_url": "string",
"image_urn": "string",
"landing_page_url": "https://example.com"
}
],
"daily_budget": 10,
"industries": [
"string"
],
"introductory_text": "string",
"landing_page_url": "https://example.com",
"locations": [
"string"
],
"objective": "WEBSITE_VISIT",
"organization_id": "string",
"seniorities": [
"string"
]
}
}
'import requests
url = "https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute"
payload = { "arguments": {
"call_to_action": "LEARN_MORE",
"campaign_group_id": "string",
"campaign_group_name": "string",
"campaign_name": "string",
"cards": [
{
"headline": "string",
"image_url": "string",
"image_urn": "string",
"landing_page_url": "https://example.com"
}
],
"daily_budget": 10,
"industries": ["string"],
"introductory_text": "string",
"landing_page_url": "https://example.com",
"locations": ["string"],
"objective": "WEBSITE_VISIT",
"organization_id": "string",
"seniorities": ["string"]
} }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
arguments: {
call_to_action: 'LEARN_MORE',
campaign_group_id: 'string',
campaign_group_name: 'string',
campaign_name: 'string',
cards: [
{
headline: 'string',
image_url: 'string',
image_urn: 'string',
landing_page_url: 'https://example.com'
}
],
daily_budget: 10,
industries: ['string'],
introductory_text: 'string',
landing_page_url: 'https://example.com',
locations: ['string'],
objective: 'WEBSITE_VISIT',
organization_id: 'string',
seniorities: ['string']
}
})
};
fetch('https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'arguments' => [
'call_to_action' => 'LEARN_MORE',
'campaign_group_id' => 'string',
'campaign_group_name' => 'string',
'campaign_name' => 'string',
'cards' => [
[
'headline' => 'string',
'image_url' => 'string',
'image_urn' => 'string',
'landing_page_url' => 'https://example.com'
]
],
'daily_budget' => 10,
'industries' => [
'string'
],
'introductory_text' => 'string',
'landing_page_url' => 'https://example.com',
'locations' => [
'string'
],
'objective' => 'WEBSITE_VISIT',
'organization_id' => 'string',
'seniorities' => [
'string'
]
]
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute"
payload := strings.NewReader("{\n \"arguments\": {\n \"call_to_action\": \"LEARN_MORE\",\n \"campaign_group_id\": \"string\",\n \"campaign_group_name\": \"string\",\n \"campaign_name\": \"string\",\n \"cards\": [\n {\n \"headline\": \"string\",\n \"image_url\": \"string\",\n \"image_urn\": \"string\",\n \"landing_page_url\": \"https://example.com\"\n }\n ],\n \"daily_budget\": 10,\n \"industries\": [\n \"string\"\n ],\n \"introductory_text\": \"string\",\n \"landing_page_url\": \"https://example.com\",\n \"locations\": [\n \"string\"\n ],\n \"objective\": \"WEBSITE_VISIT\",\n \"organization_id\": \"string\",\n \"seniorities\": [\n \"string\"\n ]\n }\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"arguments\": {\n \"call_to_action\": \"LEARN_MORE\",\n \"campaign_group_id\": \"string\",\n \"campaign_group_name\": \"string\",\n \"campaign_name\": \"string\",\n \"cards\": [\n {\n \"headline\": \"string\",\n \"image_url\": \"string\",\n \"image_urn\": \"string\",\n \"landing_page_url\": \"https://example.com\"\n }\n ],\n \"daily_budget\": 10,\n \"industries\": [\n \"string\"\n ],\n \"introductory_text\": \"string\",\n \"landing_page_url\": \"https://example.com\",\n \"locations\": [\n \"string\"\n ],\n \"objective\": \"WEBSITE_VISIT\",\n \"organization_id\": \"string\",\n \"seniorities\": [\n \"string\"\n ]\n }\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.adspirer.ai/api/v1/tools/create_linkedin_carousel_campaign/execute")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"arguments\": {\n \"call_to_action\": \"LEARN_MORE\",\n \"campaign_group_id\": \"string\",\n \"campaign_group_name\": \"string\",\n \"campaign_name\": \"string\",\n \"cards\": [\n {\n \"headline\": \"string\",\n \"image_url\": \"string\",\n \"image_urn\": \"string\",\n \"landing_page_url\": \"https://example.com\"\n }\n ],\n \"daily_budget\": 10,\n \"industries\": [\n \"string\"\n ],\n \"introductory_text\": \"string\",\n \"landing_page_url\": \"https://example.com\",\n \"locations\": [\n \"string\"\n ],\n \"objective\": \"WEBSITE_VISIT\",\n \"organization_id\": \"string\",\n \"seniorities\": [\n \"string\"\n ]\n }\n}"
response = http.request(request)
puts response.read_body{
"data": {
"quota": {
"limit": 150,
"period_end": "2026-05-01",
"tier": "plus",
"used": 42
},
"text": "(tool-specific textual output for create_linkedin_carousel_campaign)"
},
"success": true,
"tool": "create_linkedin_carousel_campaign"
}{
"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,
"success": false,
"tool": "create_linkedin_carousel_campaign"
}{
"error": "Not authenticated. Please connect your Adspirer account first at https://adspirer.ai",
"is_error": true,
"success": false,
"tool": "create_linkedin_carousel_campaign"
}{
"error": "🚨 Monthly limit reached (150/150 tool calls on Plus tier).\nUpgrade to Pro at https://adspirer.ai to keep building.",
"is_error": true,
"quota": {
"limit": 150,
"period_end": "2026-05-01",
"tier": "plus",
"upgrade_url": "https://adspirer.ai",
"used": 150
},
"success": false,
"tool": "create_linkedin_carousel_campaign"
}{
"error": "Tool not found: create_linkedin_carousel_campaign",
"is_error": true,
"success": false,
"tool": "create_linkedin_carousel_campaign"
}{
"error": "Upstream platform rate limit hit (Meta Business Use Case throttle at 95%). Retry after 60 seconds.",
"is_error": true,
"success": false,
"tool": "create_linkedin_carousel_campaign"
}{
"error": "Internal error: RuntimeError",
"is_error": true,
"success": false,
"tool": "create_linkedin_carousel_campaign"
}
