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 → Get Ad Analytics

AI-generated

Overview

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, and Metrics are 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

Discussion