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 Ads
AI-generatedOverview
The "Get Ads" operation under the Advertising resource in this LinkedIn Enhanced node allows users to retrieve a list of ads associated with a specified LinkedIn company (advertiser) and optionally filtered by an ad set. This operation is useful for marketers and advertisers who want to programmatically access their LinkedIn advertising data within n8n workflows, enabling automation of reporting, monitoring, or further processing of ad information.
Practical examples include:
- Fetching all ads for a specific company to analyze performance or status.
- Retrieving ads within a particular ad set to monitor campaign segments.
- Integrating LinkedIn ad data into dashboards or CRM systems automatically.
Properties
| Name | Meaning |
|---|---|
| Company ID | The LinkedIn Company ID representing the advertiser whose ads you want to retrieve. |
| Ad Set ID | (Optional) The ID of the ad set to filter ads by a specific ad set within the company. |
| Max Results | Maximum number of ads to return (default 20, range 1-100). |
| Start Index | Index of the first result to return, used for pagination (default 0). |
Output
The output is a JSON array where each item contains details about an individual ad retrieved from LinkedIn's Marketing API. Each JSON object represents one ad and includes its properties as returned by the LinkedIn API, such as ad name, status, creative details, targeting, and other metadata.
No binary data output is produced by this operation.
Dependencies
- Requires an active subscription and valid API key credential for the external N8N Tools API service that validates usage.
- Requires OAuth2 credentials configured for LinkedIn API access.
- The node internally uses helper classes to interact with LinkedIn's Marketing API v2 endpoints.
Troubleshooting
- Invalid Subscription or API Key: If the node throws an error indicating invalid subscription or API key, verify that your API key credential is correct and has an active subscription.
- LinkedIn API Errors: Errors from LinkedIn API calls (e.g., invalid company ID, insufficient permissions) will be surfaced. Ensure the authenticated user has appropriate access rights to the specified company and ad sets.
- Pagination Issues: If you request more results than available or use incorrect start index, you may get empty results. Adjust
Max ResultsandStart Indexaccordingly. - Missing Required Parameters: The
Company IDis mandatory; omitting it will cause errors.