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 → Create Audience

AI-generated

Overview

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.

Links and References

Discussion