Actions65
- Posts Actions
- Company Pages Actions
- Get Company Page
- Get Company Pages
- Update Company Page
- Get Company Page Followers
- Get Company Page Analytics
- Get Company Page Posts
- Create Company Page Post
- Get Company Page Insights
- Get Company Page Engagement
- Get Company Page Demographics
- Get Company Page Content
- Get Company Page Events
- Create Company Page Event
- Get Company Page Jobs
- Get Company Page Lifecycle
- Advertising Actions
- Get Ad Accounts
- Get Ad Account
- Get Campaigns
- Get Campaign
- Create Campaign
- Update Campaign
- Delete Campaign
- Get Ad Sets
- Get Ad Set
- Create Ad Set
- Update Ad Set
- Delete Ad Set
- Get Ads
- Get Ad
- Create Ad
- Update Ad
- Delete Ad
- Get Audiences
- Get Audience
- Create Audience
- Update Audience
- Delete Audience
- Get Lead Gen Forms
- Get Lead Gen Form
- Create Lead Gen Form
- Update Lead Gen Form
- Delete Lead Gen Form
- Get Ad Analytics
- Get Campaign Analytics
- Get Ad Set Analytics
- Search Actions
Advertising → Create Campaign
AI-generatedOverview
The "Create Campaign" operation within the Advertising resource of this LinkedIn Enhanced node allows users to create a new advertising campaign on LinkedIn for a specified company. This is useful for marketers and advertisers who want to automate the creation of LinkedIn ad campaigns directly from their n8n workflows.
Typical scenarios include:
- Automating campaign creation as part of a marketing workflow.
- Creating multiple campaigns programmatically based on external triggers or data.
- Integrating LinkedIn campaign management with other business systems.
For example, a user could set up an automated workflow that creates a LinkedIn campaign whenever a new product launch is scheduled in their CRM system.
Properties
| Name | Meaning |
|---|---|
| Company ID | The LinkedIn Company ID under which the campaign will be created. |
| Campaign Name | The name of the new campaign. |
| Campaign Type | The type/category of the campaign (e.g., awareness, lead generation). |
| Campaign Status | The initial status of the campaign (e.g., active, paused). |
| Campaign Objective | The marketing objective of the campaign (e.g., brand awareness, conversions). |
| Campaign Budget | The budget allocated for the campaign. |
| Campaign Currency | The currency code for the campaign budget (e.g., USD, EUR). |
| Campaign Start Date | The start date/time when the campaign should begin running. |
Note: The above properties are inferred from the parameters used in the createCampaign method call inside the execute function.
Output
The output JSON contains the response from the LinkedIn API after creating the campaign. This typically includes details about the newly created campaign such as its ID, status, name, and other metadata returned by LinkedIn.
No binary data output is indicated for this operation.
Dependencies
- Requires an API key credential for the "N8N Tools API" service to validate subscription and access rights.
- Uses LinkedIn Marketing API v2 endpoints via a helper class (
LinkedInApi) bundled with the node. - Requires proper OAuth2 credentials configured in n8n for LinkedIn API access.
- The node sends a validation request to an external API endpoint before executing operations.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error about invalid subscription or API key, verify that the API key credential is correctly configured and active.
- Missing or incorrect Company ID: Ensure the Company ID provided is valid and the authenticated user has permission to manage ads for that company.
- API rate limits or permissions: LinkedIn API may restrict campaign creation based on account permissions or rate limits; check LinkedIn developer portal for quota details.
- Date format issues: The campaign start date must be in a valid datetime format accepted by the API.
- General HTTP errors: Network issues or misconfigured credentials can cause failures; review error messages for HTTP status codes and messages.