Download data from LinkedIn.

Parameters:
The Linkedin action pulls performance data from the LinkedIn Marketing APIs (Ad Analytics). It’s designed for media reporting and optimization pipelines where you already know which campaigns (or other ad entities) you want to analyze, and you need a structured dataset with metrics over a defined time window.
Key characteristics:
Prerequisites you (or your admin) should already have:
- A LinkedIn Developer application with Marketing API access.
- Approved permissions/scopes appropriate for Ads Reporting (commonly includes r_ads and r_ads_reporting for the advertiser accounts you will query).
- Access to the ad accounts / campaigns you intend to report on.
Client ID
Paste the OAuth client identifier from your LinkedIn app. This must match the application that has Ads Reporting access.
Client Secret
Paste the client secret for the same LinkedIn app. Treat this as sensitive—prefer storing it in your platform’s Secrets and referencing it here (rather than hardcoding).
Optional: extra parameters for cURL
Use only if you need to alter the underlying HTTP behavior. Typical use cases are corporate proxies, strict TLS constraints, or advanced timeouts. Leave empty unless instructed by your network/security team.
Number of retries on connection error
How many times to automatically retry on transient network failures (connection reset, DNS hiccups, etc.). The default is usually fine; increase modestly on unstable links.
Kill browser (when querying new access token)
If the embedded OAuth/browser flow becomes stuck, enable this switch for one run to force-close the embedded browser and re-initiate login. Turn it off again after recovery.
Campaign ID
Map a column (from an upstream action) that contains the campaign identifier expected by LinkedIn. The selector lets you:
Object Type
Select the dataset family. In LinkedIn Ads reporting, this commonly remains set to ads and determines that you are querying the Ad Analytics endpoint.
GroupBy 1
Primary breakdown dimension. This determines how your rows are grouped. Typical choices include:
GroupBy 2 (opt.)
Secondary breakdown dimension (nested within GroupBy 1). Use only if you actually need a two-level breakdown; each additional dimension multiplies row counts and can affect rate limits.
Fields
Select the metrics/attributes to fetch. Choose only what you need to keep responses small and fast. The available set depends on LinkedIn’s API and your groupings. If a combination is invalid, the API will respond with an error; reduce metrics or adjust groupings in that case.
Time Granularity
Date input method
How you define the window:
Start Date / End Date
Applicable when using custom dates. Use the pickers or map columns. Ensure Start ≤ End and that the window respects LinkedIn’s reporting constraints. Time zone is treated as UTC by the API.
Custom Query Parameters
Optional raw key=value pairs (ampersand-delimited) appended to the request. Use only when you have a specific LinkedIn parameter not surfaced by the UI. Keep this field empty unless you are certain of the parameter names and values required by the API.
The action returns a tabular dataset where each row corresponds to the selected GroupBy keys and Time Granularity, with your requested Fields as columns. The output is ready to join, aggregate, or export in downstream steps.
