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
AI-generatedOverview
The node provides comprehensive integration with LinkedIn's Marketing API v2, focusing on various LinkedIn resources including advertising. Specifically, for the Advertising resource and the Create Ad operation, the node enables users to create new ads within a LinkedIn advertising account associated with a company.
This node is beneficial in marketing automation workflows where businesses want to programmatically manage their LinkedIn ad campaigns, such as creating ads dynamically based on user input or external triggers. For example, a marketing team could automate launching new ads when a product launch event occurs or integrate ad creation into a CRM workflow to target specific audiences.
Properties
| Name | Meaning |
|---|---|
| Company ID | The LinkedIn Company ID representing the organization owning the ad account. |
| Max Results | Maximum number of results to return (used in listing operations; default 20, max 100). |
| Start Index | Index of the first result to return (used in listing operations; default 0). |
For the Create Ad operation specifically, additional properties used internally (not listed in your provided JSON but visible in code) include:
adName: Name of the ad to be created.adAdSet: Identifier of the ad set under which the ad will be created.adStatus: Status of the ad (e.g., active, paused).creative: Creative content details (empty object in the snippet, likely customizable).
Output
The node outputs an array of JSON objects corresponding to each input item processed. Each output item contains the JSON response from the LinkedIn API related to the requested operation.
For the Create Ad operation, the output JSON includes details of the newly created ad, such as its ID, name, status, and other metadata returned by LinkedIn's API.
No binary data output is indicated for this operation.
Dependencies
- Requires valid credentials for:
- An API key credential for the "N8N Tools API" service to validate subscription and access.
- OAuth2 credentials for LinkedIn API access.
- The node uses the "N8N Tools API" as a proxy or helper service to interact with LinkedIn's Marketing API.
- Proper configuration of these credentials in n8n is necessary before use.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error about invalid subscription or API key, verify that the API key credential is correct and active.
- LinkedIn API Errors: Errors from LinkedIn (e.g., permission denied, invalid parameters) will be surfaced. Ensure the company ID and ad set IDs are valid and that the authenticated user has permissions.
- Missing Required Parameters: The operation requires
companyId,adName,adAdSet, andadStatus. Omitting these will cause errors. - Rate Limits: LinkedIn API enforces rate limits; excessive requests may lead to throttling errors.
- Use the node’s "Continue On Fail" option to handle errors gracefully in batch processing.
Links and References
- LinkedIn Marketing API Documentation
- LinkedIn Ads Guide
- n8n Documentation for setting up credentials and using nodes
If you need details on other operations or resources, feel free to ask!