Adspirer icon

Adspirer

Manage ad campaigns across Google, Meta, LinkedIn & TikTok Ads via the Adspirer REST API

Actions119

Get Linkedin Campaign Targeting

AI-generated

Summary

Retrieve targeting information from a specific LinkedIn Ads campaign by specifying the ad account ID and the campaign ID.

Inputs

  • platform — The advertising platform to use; must be set to 'linkedinAds' to get LinkedIn campaign targeting.
  • account_id — The LinkedIn Ad Account ID, used to specify which ad account's campaign targeting to fetch.
  • campaign_id (required) — The ID of the LinkedIn campaign from which to retrieve targeting information.

Output shape

a structured JSON object containing the targeting details of the specified LinkedIn Ads campaign.

The operation requires the platform to be set to 'linkedinAds' and the 'campaign_id' field is mandatory. If 'account_id' is not provided, default account context may be used if supported. The response payload shape depends on LinkedIn Ads API's targeting information structure and is returned as JSON.

Examples

Example 1: Fetching targeting data for a LinkedIn campaign in a workflow

Set platform to 'linkedinAds', provide valid 'account_id', and specify the 'campaign_id' for the campaign whose targeting is needed.

Links

Discussion