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 → Delete Audience
AI-generatedOverview
The "Delete Audience" operation within the Advertising resource of this LinkedIn Enhanced node allows users to delete a specific advertising audience associated with a LinkedIn company account. This is useful for marketers and advertisers who want to manage their targeted audiences by removing outdated or irrelevant audience segments from their LinkedIn ad campaigns.
Typical scenarios include:
- Cleaning up audiences that are no longer relevant to current marketing strategies.
- Removing test or temporary audiences after campaign completion.
- Managing audience lists to comply with privacy or data retention policies.
For example, if a marketer has created multiple custom audiences for different campaigns but wants to remove one that is no longer needed, they can use this operation to delete it directly from their LinkedIn advertising account.
Properties
| Name | Meaning |
|---|---|
| Company ID | The LinkedIn Company ID representing the organization owning the advertising account. |
| Max Results | Maximum number of results to return (used in listing operations; not directly relevant here). |
| Start Index | Index of the first result to return (used in listing operations; not directly relevant here). |
Note: For the Delete Audience operation specifically, the key input properties are:
- Company ID: Identifies the company whose audience is to be deleted.
- Audience ID (not listed in your provided properties but required): The identifier of the audience to delete. This is passed as a parameter internally in the code (
audienceId).
Output
The output JSON contains the response from the LinkedIn API regarding the deletion of the audience. Typically, this will confirm whether the deletion was successful or provide details about the deleted audience.
The structure is generally:
{
"json": {
// API response confirming deletion status or details
},
"itemData": {
"item": <index_of_input_item>
}
}
No binary data output is involved in this operation.
Dependencies
- Requires an active subscription and valid API key credential for the external "N8N Tools API" service, which acts as a proxy or enhancer for LinkedIn API calls.
- Requires OAuth2 credentials for LinkedIn API access.
- The node uses internal helper classes to interact with LinkedIn's Marketing API v2.
- Proper configuration of these credentials in n8n is necessary for authentication and authorization.
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 set up and active.
- Missing or Incorrect Company ID / Audience ID: Ensure that the Company ID and Audience ID parameters are correctly provided and correspond to existing entities in LinkedIn.
- Permission Errors: Deleting audiences requires appropriate permissions on the LinkedIn advertising account. Lack of permissions may cause errors.
- API Rate Limits: LinkedIn API enforces rate limits; excessive requests may lead to throttling errors.
- Network Issues: Connectivity problems between n8n and LinkedIn or the intermediary API service can cause failures.
To resolve common errors:
- Double-check all input parameters.
- Confirm credentials and permissions.
- Review LinkedIn API documentation for any changes or additional requirements.
- Enable "Continue On Fail" in the node settings to handle partial failures gracefully.