N8N Tools - LinkedIn Enhanced icon

N8N Tools - LinkedIn Enhanced

Comprehensive LinkedIn Marketing API v2 integration for N8N workflows with B2B marketing and networking features

Advertising → Update Audience

AI-generated

Overview

The "Update Audience" operation within the Advertising resource of this LinkedIn Enhanced node allows users to modify existing advertising audience details on LinkedIn. This is useful for marketers and advertisers who want to update audience names or targeting criteria in their LinkedIn ad campaigns without recreating audiences from scratch.

Typical scenarios include:

  • Renaming an audience to better reflect its purpose.
  • Adjusting audience parameters as campaign strategies evolve (though only the name update is shown here).
  • Maintaining organized and up-to-date audience lists for targeted advertising.

For example, a user might update the name of a retargeting audience segment to clarify its scope after refining the campaign goals.

Properties

Name Meaning
Company ID The LinkedIn Company ID associated with the advertising account owning the audience.
Audience ID The unique identifier of the audience to update.
Audience Name The new name to assign to the audience.

Note: The provided properties JSON did not explicitly list audienceId or audienceName, but these are used in the code for the updateAudience operation.

Output

The output is a JSON object representing the updated audience data returned by the LinkedIn API via the node's internal API helper. It typically includes fields such as audience ID, name, type, and possibly targeting details reflecting the updated state.

No binary data output is indicated for this operation.

Dependencies

  • Requires valid credentials for the LinkedIn API via OAuth2 authentication.
  • Requires an active subscription and API key for the external n8n Tools API service, which validates usage before forwarding requests.
  • The node uses internal helper classes (LinkedInApi and LinkedInApiHelper) to interact with LinkedIn's Marketing API v2 endpoints.

Troubleshooting

  • Invalid Subscription or API Key: If the node throws an error about invalid subscription or API key, verify that the API key credential is correctly configured and active.
  • Missing Required Parameters: Ensure that companyId, audienceId, and audienceName are provided and valid; missing or incorrect IDs will cause API errors.
  • API Rate Limits or Permissions: LinkedIn API may reject requests if rate limits are exceeded or if the authenticated user lacks permissions to update the specified audience.
  • Network or Service Errors: Temporary network issues or LinkedIn service outages can cause failures; retrying later may help.

Links and References

Discussion