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 Ad Analytics
AI-generatedOverview
The "Get Ad Analytics" operation under the Advertising resource in this LinkedIn Enhanced node fetches detailed advertising analytics data for a specified LinkedIn company. It allows users to retrieve various performance metrics related to ads run by the company within a defined date range.
This node is beneficial for marketers and advertisers who want to monitor and analyze the effectiveness of their LinkedIn ad campaigns directly within n8n workflows. For example, a user can automate the retrieval of impressions, clicks, spend, conversions, and other key metrics over a specific period to generate reports or trigger alerts based on campaign performance.
Properties
| Name | Meaning |
|---|---|
| Company ID | The unique LinkedIn Company ID for which the ad analytics are requested. |
| Start Date | The start date (inclusive) for the analytics data range. |
| End Date | The end date (inclusive) for the analytics data range. |
| Metrics | The list of metrics to include in the analytics response. Options include: |
| - Impressions, Clicks, Likes, Comments, Shares, Engagement, Reach, Followers, Views, CTR, CPC, CPM, Spend, Conversions, Leads | |
| Max Results | Maximum number of results to return (default 20, min 1, max 100). |
| Start Index | The index of the first result to return (default 0). |
Output
The output is an array of JSON objects containing the requested ad analytics data for the specified company and date range. Each object includes the selected metrics with their corresponding values, providing insights into ad performance such as impressions, clicks, spend, conversions, etc.
No binary data output is produced by this operation.
Dependencies
- Requires a valid API key credential for the external "N8N Tools API" service.
- The node uses the LinkedIn Marketing API v2 via this external API wrapper.
- Proper configuration of the API key and subscription to the N8N Tools API service is necessary.
- The node sends a validation request to the external API before executing operations to verify credentials and subscription status.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly configured and active.
- API Validation Failure: Errors during the initial validation request may indicate network issues or incorrect API endpoint configuration.
- Missing Required Parameters: Ensure that
Company ID,Start Date,End Date, andMetricsare provided; these are mandatory. - Rate Limits or Quotas: The external API might enforce rate limits; if requests fail intermittently, check usage quotas.
- Empty or Unexpected Data: Verify that the company has active ad campaigns and that the date range covers periods with available data.
Links and References
- LinkedIn Marketing API Documentation
- N8N Tools API Service Documentation (generic reference, actual URL depends on provider)