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 → Create Audience
AI-generatedOverview
The "Create Audience" operation within the Advertising resource of this LinkedIn Enhanced node allows users to create a new advertising audience for targeted marketing campaigns on LinkedIn. This is useful for marketers who want to define specific groups of LinkedIn members to target with their ads based on various criteria.
Typical scenarios include:
- Creating custom audiences to retarget website visitors or email lists.
- Defining lookalike audiences to reach new potential customers similar to existing ones.
- Segmenting audiences by demographics, interests, or behaviors for precise ad delivery.
For example, a B2B marketer could use this operation to create an audience of decision-makers in a particular industry to run a campaign promoting a new software product.
Properties
| Name | Meaning |
|---|---|
| Company ID | The LinkedIn Company ID associated with the advertising account under which the audience will be created. |
| Max Results | Maximum number of results to return (used in listing operations; not directly relevant for creation). |
| Start Index | Index of the first result to return (used in listing operations; not directly relevant for creation). |
| Audience Name | The name to assign to the new audience being created. |
| Audience Type | The type/category of the audience to create (e.g., matched audience, lookalike audience). |
Note: The last two properties ("Audience Name" and "Audience Type") are inferred from the code parameters used in the createAudience call but were not explicitly provided in the user JSON input.
Output
The output JSON contains the details of the newly created audience as returned by the LinkedIn API via the helper class. This typically includes:
- Audience ID
- Audience name
- Audience type
- Targeting criteria (empty object at creation)
- Status and metadata related to the audience
No binary data output is involved in this operation.
Dependencies
- Requires an active subscription and valid API key for the external "N8N Tools API" service that validates usage.
- Requires OAuth2 credentials for LinkedIn API access.
- The node uses internal helper classes to interact with LinkedIn Marketing API v2 endpoints.
- Proper configuration of these credentials and API keys in n8n is necessary.
Troubleshooting
- Invalid subscription or API key error: If the node throws an error about invalid subscription or API key, verify that the API key credential is correctly set up and has the required permissions.
- LinkedIn API errors: Errors from LinkedIn API calls may occur if the company ID is incorrect or the authenticated user lacks permission to manage the specified advertising account.
- Missing required parameters: Ensure that the Company ID, Audience Name, and Audience Type are provided and valid.
- Rate limits: LinkedIn API enforces rate limits; hitting these may cause temporary failures.