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 Sets
AI-generatedOverview
The "Get Ad Sets" operation within the Advertising resource of this LinkedIn Enhanced node allows users to retrieve a list of advertising ad sets associated with a specified LinkedIn company account. This operation supports pagination through parameters for maximum results and start index, enabling efficient retrieval of large datasets in manageable chunks.
This node is beneficial for marketers and advertisers who want to programmatically access their LinkedIn ad sets to analyze performance, manage campaigns, or integrate LinkedIn advertising data into broader marketing workflows. For example, a user could automate the extraction of all ad sets for a company to feed into a reporting dashboard or trigger updates based on ad set statuses.
Properties
| Name | Meaning |
|---|---|
| Company ID | The LinkedIn Company ID representing the organization whose ad sets are being retrieved. |
| Max Results | Maximum number of ad sets to return (minimum 1, maximum 100). Defaults to 20. |
| Start Index | Index of the first ad set result to return, used for pagination. Defaults to 0. |
Output
The output JSON contains an array of ad set objects as returned by the LinkedIn Marketing API via the node's internal API helper. Each item corresponds to one ad set and includes detailed information such as ad set name, status, budget, campaign association, targeting criteria, start date, and other relevant metadata.
The output does not include binary data; it is purely JSON structured data representing the ad sets.
Example output snippet (simplified):
[
{
"id": "123456",
"name": "Spring Campaign Ad Set",
"status": "ACTIVE",
"campaign": "78910",
"budget": 5000,
"startDate": "2024-01-01T00:00:00Z",
"targeting": { ... }
},
...
]
Dependencies
- Requires an active subscription and valid API key credential for the external N8N Tools API service that acts as a proxy and validator for LinkedIn API calls.
- Requires OAuth2 credentials configured for LinkedIn API access.
- The node internally uses a LinkedIn API helper class to interact with LinkedIn Marketing API v2 endpoints.
- No additional environment variables are explicitly required beyond standard n8n credential setup.
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.
- LinkedIn API Rate Limits: Frequent requests may hit LinkedIn API rate limits; consider adding delays or reducing maxResults.
- Incorrect Company ID: Ensure the provided Company ID is correct and that the authenticated user has permission to access its advertising data.
- Pagination Issues: If no results are returned, check the
startIndexandmaxResultsvalues to ensure they are within valid ranges. - Network or Service Errors: Transient network issues or downtime of the external API service can cause failures; retry after some time.