lads_plan_dynamic_ad_campaign
LinkedIn Ads skill low risk
Part of the Dynamic Ads Agent.
What it does
Campaign-planning skill for LinkedIn right-rail Dynamic ads that returns a suspension-safe blueprint BEFORE anything is written. Scope is explicit: it plans Spotlight ads (traffic to a landing page, member-profile-photo personalization, company logo 100x100, headline <=50, description <=70, CTA <=18 chars, destination URL required) and Text ads (small right-rail/top unit, 3-4 short variations); Follower Ads are NOT in the Scalix toolset, so if the goal is page-follower growth it flags that gap rather than substituting. The dominant reality it encodes is placement: right-rail is DESKTOP ONLY (no mobile, ~60%+ of traffic), so these are a supplement to Sponsored Content, not a primary channel — the plan recommends pairing with lads_plan_sponsored_content_campaign for mobile reach. Returns the hierarchy (campaign_group -> campaign with a spotlight/text-compatible objective, e.g. website_visits, brand_awareness, or job_applicants -> creatives, testing spotlight vs text), audience guidance (300 floor, desktop-only reach is smaller), and the ordered apply_sequence: lads_policy_guardrail -> lads_get_audience_count -> lads_create_campaign_group -> lads_create_campaign -> the creative tool (lads_create_spotlight_creative / lads_create_text_creative). Policy pre-checks: member profile data is used for personalization within LinkedIn's product but is never extracted or stored; the logo and claims must be the client's real assets; EU politicalIntent; anti-discrimination. 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 Spotlight or Text (right-rail dynamic) campaign — before lads_create_spotlight_creative / lads_create_text_creative or lads_create_campaign — whenever the user wants right-rail/personalized-desktop ads. It sets the desktop-only expectation, recommends pairing with Sponsored Content for mobile, and flags that Follower Ads aren't available.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
ad_account_id | string | yes | LinkedIn sponsored-account id (numeric). |
ad_format | string | no | spotlight | text. Defaults to spotlight; drives the creative tool. |
objective | string | no | website_visits | brand_awareness | job_applicants (spotlight/text-compatible). Immutable after create. |
daily_budget | number | no | Daily budget in account currency; ~$10/day minimum; keep it a supporting line. |
audience | array<object> | no | Targeting facets for sizing (desktop-only reach is smaller). |
organization_urn | string | no | urn:li:organization:{id} whose logo/page the dynamic ad personalizes around. |
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 class | Means | What to do | Retry |
|---|---|---|---|
INVALID_AD_ACCOUNT | ad_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_SMALL | The 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_MISMATCH | The 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_INTENT | EU 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_TARGETING | Employment/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_ASSIGNED | A 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_UNAVAILABLE | lads_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 |
Edge cases
- Follower Ads are NOT in the toolset — the plan covers Spotlight + Text only; flag the gap for page-follower growth.
- Right-rail is desktop-only (~60%+ of traffic is mobile) — a supplement, not a primary channel; pair with Sponsored Content.
- Spotlight CTA is capped at 18 chars and requires a destination URL; company logo 100x100 required.
- Member profile photo is auto-inserted for personalization — that display is within LinkedIn; never extract or store the data.
- Text ads are a tiny unit — use 3-4 short variations, tight copy.
- Objective is immutable — pick a spotlight/text-compatible one (website_visits / brand_awareness / job_applicants).
- Audience under 300 will not serve, and desktop-only reach is already smaller.
- ENTERPRISE default campaign group must not be mutated.