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 → Get Campaign
AI-generatedOverview
The node integrates with LinkedIn's Marketing API v2 to perform various advertising-related operations. Specifically, the "Get Campaign" operation under the "Advertising" resource retrieves detailed information about a specific advertising campaign associated with a LinkedIn company account.
This node is beneficial for marketers and advertisers who want to programmatically access campaign data from LinkedIn within their automation workflows. For example, it can be used to fetch campaign details for reporting, monitoring campaign performance, or integrating LinkedIn campaign data into CRM or analytics platforms.
Properties
| Name | Meaning |
|---|---|
| Company ID | The LinkedIn Company ID associated with the advertising account owning the campaign. |
| Campaign ID | The unique identifier of the LinkedIn advertising campaign to retrieve details for. |
| Max Results | Maximum number of results to return (used in some operations; default is 20). |
| Start Index | Index of the first result to return (used in some operations; default is 0). |
Note: For the "Get Campaign" operation, the required properties are Company ID and Campaign ID.
Output
The output is a JSON object containing the detailed information of the requested LinkedIn advertising campaign. This typically includes fields such as campaign name, status, type, objective, budget, currency, start date, and other metadata related to the campaign.
The node does not output binary data for this operation.
Example output structure (simplified):
{
"id": "campaignId",
"name": "Campaign Name",
"status": "ACTIVE",
"type": "SPONSORED_CONTENT",
"objective": "BRAND_AWARENESS",
"budget": 1000,
"currency": "USD",
"startDate": "2024-01-01T00:00:00Z",
...
}
Dependencies
- Requires an API key credential for the external N8N Tools API service that validates subscription and API key.
- Requires OAuth2 credentials for LinkedIn API access.
- The node uses internal helper classes to interact with LinkedIn's Marketing API v2 endpoints.
- No additional environment variables are explicitly required beyond these credentials.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly configured and active.
- Missing or incorrect Company ID or Campaign ID: Ensure that the Company ID and Campaign ID parameters are provided and valid LinkedIn identifiers.
- API rate limits or permission errors: LinkedIn API may restrict access based on permissions or rate limits. Confirm that the OAuth2 credentials have sufficient permissions for advertising data.
- Network or connectivity issues: Check network connectivity and endpoint accessibility if HTTP requests fail.