SCALIX help

← All tools

lads_plan_lead_gen_campaign

LinkedIn Ads skill low risk

Part of the Lead Gen Agent.

What it does

Campaign-planning skill for LinkedIn Lead Generation that returns a suspension-safe blueprint BEFORE anything is written, centered on native Lead Gen Forms (they pre-fill from the member profile — ~13% average completion vs 2-5% for landing-page forms — and remove the landing-page drop-off). Form plan: 3-4 fields recommended (max 12); every field past ~5 and every free-text custom question drops completion ~3-4pp; a form under 8% completion is broken; funnel-staged field counts (TOFU 3-5, MOFU 5-7, BOFU 7+); privacy_policy_url is REQUIRED (the form will not publish without it) and EU targeting adds a GDPR consent checkbox; the form is drafted with the lads_build_lead_gen_form skill and applied with lads_create_lead_form. Budget guidance is derived, not memorized: lead gen needs ~$50+/day (>=15 conversions/week for auction signal), min daily ~= 15 x target CPL / 7 using the client's REAL target CPL. Bid ladder: Maximum Delivery for new campaigns through learning, Cost Cap at 1.2x trailing CPA only at 50+ conversions. The ordered apply_sequence names real tools: lads_policy_guardrail -> lads_get_audience_count -> lads_build_lead_gen_form -> lads_create_lead_form -> lads_create_campaign_group -> lads_create_campaign -> the creative tool -> lads_create_conversion_rule — with the explicit warning that LinkedIn does NOT auto-assign conversion rules to campaigns (the #1 silent failure). Policy pre-checks: data minimization + the 24h/48h purge windows, anti-discrimination self-certification, EU politicalIntent, no fabricated claims. Planning only — it writes NOTHING; every create in the sequence lands PAUSED behind its own preview->approve gate. Output: {success:true, data:{task, platform, campaign_type, objective, inputs, structure, budget, bid_strategy, apply_sequence:[{step,tool,purpose,gotchas}], policy_prechecks, guardrails, verify_with, apply_with}, warnings}.

When to use it

FIRST call for any new LinkedIn lead-generation campaign — before lads_create_lead_form or lads_create_campaign — whenever the user wants on-platform lead capture (ebook/webinar/demo). It plans the form (field count, privacy URL, GDPR checkbox), sizes the budget from the target CPL, and flags the manual conversion-rule assignment.

Inputs

NameTypeRequiredDescription
ad_account_idstringyesLinkedIn sponsored-account id (numeric).
offerstringnoThe gated offer (ebook, webinar, demo, consultation) — sets the funnel stage and CTA.
ad_formatstringnoimage | video | carousel — the creative paired with the lead form. Defaults to image.
daily_budgetnumbernoDaily budget in account currency; lead gen floor ~$50/day.
monthly_conversionsintegernoTrailing conversion volume for the bid ladder.
target_cplnumbernoTarget cost-per-lead in account currency; sizes the min-daily-budget formula (15 x CPL / 7). Never invented — ask if unknown.
audiencearray<object>noTargeting facets for sizing and the lads_get_audience_count check.
privacy_policy_urlstringnoREQUIRED before a Lead Gen Form can publish; absence triggers a blocking warning.

Safeguards

Policy

Planning only — writes NOTHING. Every apply-step is preview (DRAFT) -> explicit approval -> execute -> verify, and every entity creates PAUSED. Hard blocks it enforces: no political ads (LinkedIn bans them globally since 2018 — the politicalIntent enum on EU-targeted campaigns is a NOT-political attestation, never an allowance); no discriminatory targeting or exclusion for employment/housing/education/credit (self-certification + protected-attribute rules); no member-data misuse — profile data purged within 24h, social activity within 48h, never used for enrichment or cross-account audiences (a violation can revoke API access for every client at once); never fabricate a sender, an offer, claims, or URLs.

Reminder

The blueprint is not an approval: each create tool still needs its own preview (DRAFT) and explicit user approval, and the campaign objective is IMMUTABLE after creation — confirm the objective->format fit before creating.

Errors

Error classMeansWhat to doRetry
INVALID_AD_ACCOUNTad_account_id is malformed or not accessible under the connected token.Use the numeric sponsored-account id (server maps it to urn:li:sponsoredAccount:{id}); confirm the account is connected.no
AUDIENCE_TOO_SMALLThe targetable audience is below the 300-member serving floor.Broaden facets (OR more titles, widen company size/industry) until over 300 — ideally the ~50K practical floor; re-check with lads_get_audience_count.no
OBJECTIVE_FORMAT_MISMATCHThe chosen format is not valid for the campaign objective.Pick a format from the objective's supported set (objective is immutable after creation) before creating the campaign.no
MISSING_POLITICAL_INTENTEU targeting without a politicalIntent declaration.Set politicalIntent (NOT_POLITICAL with the exact consent string) for EU-targeted campaigns; declaring POLITICAL is rejected (global ban).no
DISCRIMINATORY_TARGETINGEmployment/housing/education/credit targeting without self-certification, or a protected-attribute include/exclude.Self-certify and remove any protected-attribute targeting; age is unavailable for job objectives; Groups can be included, never excluded.no
CONVERSION_RULE_NOT_ASSIGNEDA conversion rule exists but was not assigned to the campaign.Assign it explicitly — LinkedIn does NOT auto-assign conversions, so an unassigned rule means the campaign reports zero conversions.yes
POLICY_DOC_UNAVAILABLElads_policy_guardrail (apply-sequence step 1) could not be loaded.Do NOT proceed to any write without the suspension-safety reference; report and stop.no
PRIVACY_POLICY_MISSINGNo privacy_policy_url for the Lead Gen Form.Collect a privacy policy URL before the form step — LinkedIn will not publish the form without it; add a GDPR checkbox for EU.no

Edge cases

  • privacy_policy_url is mandatory — the form will not publish without it; EU adds a GDPR consent checkbox.
  • Field count: 3-4 recommended; past ~5 fields and each free-text question drop completion ~3-4pp; under 8% completion is broken.
  • Lead Gen Forms collect member data — minimize fields and honor the 24h/48h purge windows; never reuse for enrichment.
  • Conversion rule is NOT auto-assigned to the campaign — the apply_sequence assigns it explicitly (the #1 silent failure).
  • Budget under ~$50/day: too few weekly conversions for the auction to optimize.
  • target_cpl unknown: ask — do not invent one to size the budget formula.
  • ENTERPRISE default campaign group must not be mutated — create a new one.
  • Native forms beat landing-page forms for on-platform capture, but a landing-page flow may be right when the offer lives off-platform.