lads_policy_guardrail
LinkedIn Ads skill low risk
Shared by every agent.
What it does
Authoritative LinkedIn Ads policy reference (suspension-safety skill, ADR-021) โ the MUST-READ gate before any LinkedIn Ads write. Every call returns the ๐ซ SUSPENSION RED LINES (the political-ads ban, anti-discrimination targeting for employment/housing/education/credit, member-data retention and usage limits that can kill the app's API access for every client, fabricated senders or missing opt-out on messaging formats, Thought Leader ads without member consent) and the PRE-WRITE COMPLIANCE CHECKLIST, as structured red_lines / pre_write_checklist, with the last-verified date. With no action_type it also lists the policy-map sections; action_type=<section> (new_campaign / new_ad_creative / targeting / landing_page / budget_payment / restricted_verticals / account_hygiene / member_data) adds that section as data.focus; action_type='all' returns instead the whole document: the red lines, how LinkedIn enforcement works (ad rejection vs ad-account restriction/termination โ including what LinkedIn does NOT formally document), the policy map, the checklist and the cited official sources. Content-only skill: performs NO account access and NO LinkedIn API call. If any check is uncertain after reading, STOP and ask the user before writing. Output: {success:true, data:{platform, red_lines, pre_write_checklist, sections | focus_action_type + focus, last_verified, next_recheck, unverified_ids} or, for 'all', {platform, policy_document, last_verified, next_recheck, unverified_ids}, warnings}.
When to use it
ALWAYS before any lads_* write (create/update/pause/resume/archive/delete/budget/targeting/segments/conversions/lead forms) โ run it FIRST if you have not read it this session; every LinkedIn write tool's description gates on it. Also use when the user asks whether something is allowed on LinkedIn Ads, why an ad was rejected or an ad account restricted, before any EU-targeted campaign (politicalIntent), before employment/housing/education/credit targeting, or before anything touching member data (Lead Gen, Matched Audiences, conversions). Pass action_type for the section that matches the change; the red lines and checklist come back on every call, and action_type='all' returns the whole document. Every Scalix agent runs this before a LinkedIn change or ad copy.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
action_type | string | no | Optional focus area: new_campaign | new_ad_creative | targeting | landing_page | budget_payment | restricted_verticals | account_hygiene | member_data | all. Omitted, the call returns the red lines, the checklist and the list of sections; a section name adds that section as data.focus; 'all' returns the whole document as data.policy_document. An unknown value is warned and answered as if omitted. |
Safeguards
Policy
This skill is the policy source of truth for LinkedIn Ads writes (ADR-021). Consult it BEFORE the first LinkedIn Ads write of a session and re-consult when switching action types. Its red lines are HARD BLOCKS with no user override: no political ads (banned since 2020 โ the politicalIntent field on EU-targeted campaigns, required since li-lms-2025-08 under the EU TTPA, is an attestation that a campaign is NOT political, not an allowance); no targeting or excluding by protected attributes for employment/housing/education/credit ads; no member-data retention beyond the purge windows (profile data <=24h, social activity <=48h) and no enrichment or cross-account pooling โ member-data violations can revoke the entire app's API access, endangering every client at once. Items labeled UNVERIFIED must be confirmed against the live policy page before relying on them. If the document is past its next_recheck date, surface the staleness rather than presenting guidance as current.
Reminder
Content-only โ reading this never changes the account, and it does not approve a write either: every write still requires its own preview (DRAFT) -> explicit user approval -> commit.
Errors
| Error class | Means | What to do | Retry |
|---|---|---|---|
POLICY_DOC_UNAVAILABLE | The canonical LinkedIn Ads policy document could not be loaded from the deployed image. | Do NOT proceed with any LinkedIn Ads write โ the suspension-safety reference is unavailable. Report the issue to the user and stop. | no |
Edge cases
- Unknown action_type is not an error: it is warned and answered as if omitted (red lines, checklist, the list of sections).
- last_verified older than one quarter appends a staleness warning โ trigger the quarterly re-verification (HARD CONSTRAINT #7).
- The stale pre-2024 'EU hard block' on Message/Conversation Ads is deliberately absent โ superseded by the politicalIntent attestation regime (ADR-009); do not re-apply it.
- This skill itself carries no write-gate prefix and is never a prerequisite of itself.