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 → Update Campaign
AI-generatedOverview
The "Update Campaign" operation within the Advertising resource of this LinkedIn Enhanced node allows users to modify existing LinkedIn advertising campaigns. This includes updating campaign attributes such as the campaign name, status, and budget.
This node is beneficial for marketers and advertisers who want to programmatically manage their LinkedIn ad campaigns within automated workflows. For example, you can use it to pause or activate campaigns based on external triggers, update budgets dynamically according to performance metrics, or rename campaigns for better organization.
Practical examples:
- Automatically increase the budget of a campaign during peak sales periods.
- Pause campaigns when inventory runs low.
- Rename campaigns to reflect new marketing strategies or seasonal themes.
Properties
| Name | Meaning |
|---|---|
| Company ID | The LinkedIn Company ID associated with the ad account owning the campaign. |
| Campaign ID | The unique identifier of the campaign to update. |
| Campaign Name | (Optional) New name for the campaign. |
| Campaign Status | (Optional) New status of the campaign (e.g., active, paused). |
| Campaign Budget | (Optional) New budget amount for the campaign. |
Note: The last three properties are optional and only included if you want to update those specific fields.
Output
The output JSON contains the updated campaign data returned from the LinkedIn API after the update operation. This typically includes the campaign's current state reflecting any changes made, such as updated name, status, budget, and other metadata.
No binary data output is involved in this operation.
Example output structure (simplified):
{
"id": "campaignId",
"name": "Updated Campaign Name",
"status": "ACTIVE",
"budget": 5000,
"otherCampaignDetails": { ... }
}
Dependencies
- Requires an API key credential for the external N8N Tools API service that validates subscription and access.
- Requires OAuth2 credentials for LinkedIn API access.
- The node uses the LinkedIn Marketing API v2 endpoints via helper classes bundled in the node.
- Proper configuration of these credentials in n8n is necessary for successful execution.
Troubleshooting
- Invalid subscription or API key error: If you receive an error about invalid subscription or API key, verify that your API key credential is correct and active.
- Permission errors from LinkedIn API: Ensure that the OAuth2 credentials have sufficient permissions to update campaigns.
- Missing required parameters: Make sure
Company IDandCampaign IDare provided; otherwise, the request will fail. - Empty updates: If no update fields (name, status, budget) are provided, the operation may not perform any changes.
- API rate limits: Be aware of LinkedIn API rate limits which might cause temporary failures.