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 → Get Ad Account

AI-generated

Overview

This node integrates with LinkedIn's Marketing API v2 to provide enhanced capabilities for managing LinkedIn advertising accounts and related marketing resources. Specifically, the Advertising - Get Ad Account operation retrieves detailed information about a LinkedIn advertising account associated with a specified company.

Typical use cases include:

  • Fetching ad account details to monitor or audit advertising setups.
  • Integrating LinkedIn ad account data into broader marketing dashboards or CRM systems.
  • Automating workflows that require validation or retrieval of ad account metadata before launching campaigns or analyzing performance.

For example, a marketer could use this node to automatically pull the current status and configuration of their LinkedIn ad account as part of a daily reporting workflow.

Properties

Name Meaning
Company ID The LinkedIn Company ID associated with the advertising account to retrieve.
Max Results Maximum number of results to return (used in some operations; default is 20, max 100).
Start Index Index of the first result to return (used in some operations; default is 0).

Note: For the Get Ad Account operation, only the Company ID property is required and used.

Output

The node outputs JSON data representing the LinkedIn advertising account details for the specified company. This typically includes fields such as account identifiers, status, billing info, and other metadata provided by LinkedIn's Marketing API.

The output structure is an array of items, each containing a json field with the ad account data corresponding to the input item. There is no binary data output for this operation.

Example output snippet (simplified):

{
  "json": {
    "accountId": "123456789",
    "name": "Company Ad Account",
    "status": "ACTIVE",
    "currency": "USD",
    "billingInfo": { ... },
    ...
  }
}

Dependencies

  • Requires an active subscription and valid API key credential for the external N8N Tools API service.
  • Requires OAuth2 credentials configured for LinkedIn API access.
  • The node internally validates the API key against the N8N Tools API before executing operations.
  • Network connectivity to LinkedIn's Marketing API endpoints is necessary.

Troubleshooting

  • Invalid subscription or API key error: If the node throws an error indicating invalid subscription or API key, verify that the API key credential is correctly set up and has the necessary permissions.
  • LinkedIn API errors: Errors from LinkedIn (e.g., permission denied, invalid company ID) will be surfaced. Ensure the company ID is correct and the OAuth2 token has sufficient scopes.
  • Rate limits: LinkedIn APIs have rate limits; hitting these may cause temporary failures. Implement retry logic or reduce request frequency.
  • Missing required parameters: The Company ID must be provided; missing it will cause errors.
  • Continue on Fail: If enabled, the node will continue processing subsequent items even if one fails, returning error details in the output.

Links and References


This summary is based solely on static analysis of the provided source code and property definitions.

Discussion