Adspirer icon

Adspirer

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

Actions119

Optimize Linkedin Budget

AI-generated

Summary

Optimize the monthly LinkedIn Ads budget allocation across campaigns based on historical performance data and user-defined constraints and goals.

Inputs

  • Ad Account Id (required) — LinkedIn Ad Account ID to identify the advertising account for budget optimization.
  • Date Range — Predefined preset for the date range to analyze (e.g., last_7_days, last_14_days, last_30_days, last_60_days, last_90_days).
  • Start Date — Custom start date (YYYY-MM-DD) for the historical data period to use.
  • End Date — Custom end date (YYYY-MM-DD) for the historical data period to use.
  • Lookback Days — Number of days of historical data to consider for optimization; leave blank to omit.
  • Max Change Percentage — Maximum percentage change allowed per campaign budget in each optimization (between 0.3 and 0.7); optional.
  • Min Daily Budget — Minimum daily budget to enforce per campaign; optional.
  • Optimization Goal — Goal to optimize for, either 'conversions' or 'leads'; defaults to 'conversions'.
  • Raw Data — If true, returns only the raw campaign metrics as a JSON code block instead of optimized budget recommendations.
  • Target Roas — Target Return on Ad Spend (ROAS) to guide budget allocation; optional.
  • Total Budget (required) — Total monthly budget amount to allocate across LinkedIn campaigns; must be greater than 0.

Output shape

a JSON object containing either optimized budget recommendations distributed across campaigns or, if requested, raw campaign performance metrics including spend, clicks, impressions, conversions, CPA, CPC, CTR, CVR, and ROAS by campaign/ad/date.

The operation requires a valid LinkedIn Ad Account ID and a total budget greater than zero. Optional parameters fine-tune the date range, historical data lookback, budget change limits, minimum budgets, optimization goal, and target ROAS. When 'Raw Data' is enabled, only raw metrics are returned rather than optimization results.

Links

Discussion