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 Ad Set
AI-generatedOverview
The node provides integration with LinkedIn's Marketing API v2, specifically enabling management of advertising resources such as ad accounts, campaigns, ad sets, ads, audiences, and lead generation forms. For the Advertising - Create Ad Set operation, it allows users to create a new ad set within a specified LinkedIn company account. This is useful for marketers who want to automate the creation and management of targeted advertising campaigns on LinkedIn.
Typical use cases include:
- Automating the setup of new ad sets in LinkedIn campaigns based on dynamic input data.
- Integrating LinkedIn ad set creation into broader marketing workflows.
- Managing multiple LinkedIn ad campaigns programmatically without manual intervention.
Example: A marketing team can use this node to automatically create ad sets with specific budgets, start dates, and campaign associations whenever a new product launch occurs.
Properties
| Name | Meaning |
|---|---|
| Company ID | The LinkedIn Company ID under which the ad set will be created. |
| Ad Set Name | The name assigned to the new ad set. |
| Ad Set Campaign | The campaign ID to which this ad set belongs. |
| Ad Set Status | The status of the ad set (e.g., active, paused). |
| Ad Set Budget | The budget allocated for the ad set. |
| Ad Set Currency | The currency code for the budget (e.g., USD, EUR). |
| Ad Set Start Date | The start date/time when the ad set becomes active. |
Note: These properties are inferred from the parameters used in the createAdSet call inside the execute method.
Additionally, common input properties relevant across operations include:
| Name | Meaning |
|---|---|
| Max Results | Maximum number of results to return (used in list/get operations). |
| Start Index | Starting index for paginated results. |
Output
The node outputs an array of JSON objects corresponding to the results of the executed operation(s). For the Create Ad Set operation, the output JSON contains the details of the newly created ad set as returned by the LinkedIn Marketing API via the helper class.
The output structure typically includes fields such as:
- Ad set ID
- Name
- Campaign association
- Status
- Budget and currency
- Start date
- Targeting criteria (empty object in this implementation)
No binary data output is produced by this operation.
Dependencies
- Requires valid credentials for LinkedIn API access, provided via OAuth2 or API key authentication configured in n8n.
- Uses an external "N8N Tools API" service for subscription and API key validation before executing LinkedIn API calls.
- Relies on internal helper classes (
LinkedInApiandLinkedInApiHelper) to interact with LinkedIn endpoints.
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 required parameters: Ensure all mandatory fields like Company ID, Ad Set Name, Campaign ID, etc., are provided.
- API rate limits or permission errors: LinkedIn API may restrict requests; check your LinkedIn developer app permissions and usage quotas.
- Network or connectivity issues: Confirm that the n8n instance has internet access and can reach LinkedIn and the N8N Tools API endpoints.