N8N Tools - LinkedIn Enhanced icon

N8N Tools - LinkedIn Enhanced

Comprehensive LinkedIn Marketing API v2 integration for N8N workflows with B2B marketing and networking features

Advertising → Create Campaign

AI-generated

Overview

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.

Links and References

Discussion