SCALIX help

← All tools

lads_create_thought_leader_creative

LinkedIn Ads write high risk

Part of the Thought Leader Ads Agent.

What it does

Create a Thought Leader Ad creative - a standard Sponsored Content creative (BRAND_AWARENESS/ENGAGEMENT) whose content.reference points to a named member's ORGANIC post (urn:li:ugcPost / urn:li:share authored by the person, not the company). The named member must have explicitly consented to the sponsorship via the LinkedIn sponsorship-request email (Campaign Manager sends the request; the member taps Review request -> Approve/Decline, or auto-approves all), and can revoke at any time, which must stop the ad instantly. Preview->approve->commit: verify recorded member consent FIRST (refuse without it), create intendedStatus=DRAFT, summarize the author/post/landing page and the consent + editorial check, get explicit approval, then activate via lads_update_creative. Returns creative URN in x-restli-id (201). Report later with LP clicks and LP CTR (benchmark 5-7%; third-party median CTR ~2.68%) per author - never blend authors or formats, and use LP CTR not raw CTR. Inputs: campaign URN, member's organic post reference, consent confirmation, member URN, name. Two-phase (parity with Google, ADR-028/029): the first call (no preview_id) reads the campaign from LinkedIn in this ad account (a nonexistent one is refused), builds the request locally and returns a preview_id — nothing is changed on LinkedIn; re-call with that preview_id and identical arguments to COMMIT (single-use, 30-min; a changed/forged/replayed token fails closed).

When to use it

Use to amplify a leader's authentic organic post as an ad. FIRST verify recorded member consent (refuse without it), then build in DRAFT, show the author/post/landing page and the consent + editorial check, and get explicit approval before activating. Halt and pause immediately if consent is revoked.

Inputs

NameTypeRequiredDescription
ad_account_idstringyesNumeric sponsored account ID; strip urn prefix and dashes. Server-derived from bearer scope; reject out-of-scope accounts.
campaignstringyesParent BRAND_AWARENESS/ENGAGEMENT campaign URN whose format matches the member post's media category (REFERENCE_MEDIA_CATEGORY_AND_CAMPAIGN_FORMAT_MISMATCH otherwise).
content_referencestringyesThe named member's ORGANIC post URN urn:li:ugcPost:{id} (or share). Must be authored by the consenting person and PUBLIC; reshares, polls, multi-image and celebration posts cannot be sponsored as TLAs.
member_consent_confirmedbooleanyesServer-side gate: must be true with a recorded email-approval (or auto-approval) reference before creation. The ad must stop instantly if the member revokes.
member_urnstringyesThe member whose post is promoted (urn:li:person:{id}) — recorded in the preview and the audit row as the subject of member_consent_confirmed.
intended_statusstringnoEnum ACTIVE|PAUSED|DRAFT|ARCHIVED; enum-normalize upper-case; default/required DRAFT on create.
namestringnoCreative name (202410+); reference only.
preview_idstringnoOmit it to preview: nothing is applied, and the call returns a preview_id bound to this exact request. Pass it only after the user approves that preview in a later message, with the same arguments (leave out validate_only, and add any confirmation flag the preview names). Single-use, expires in 30 minutes; changed arguments need a fresh preview.

Safeguards

A change in two steps. The first call previews and changes nothing; Claude shows you the preview and applies it only after you approve, within 30 minutes and with the same arguments. Every applied change goes to the audit log. How changes are approved.

Policy

Thought Leader Ads sponsor an individual's organic post: the named member MUST have consented (LinkedIn sponsorship-request email approval, single or auto-approve-all) and may revoke at any time, in which case the ad must stop immediately. The post must be authentic, truthful, PUBLIC and non-reshared (UGC_RESHARE_CANNOT_BE_SPONSORED, UGC_INVALID_VISIBILITY_SETTING) and meet all editorial standards. Do not retain member-level data beyond LinkedIn's limits (profile <=24h, social <=48h) and do not use the member's profile data for enrichment or any cross-account database.

Reminder

Confirm the named member approved sponsorship and the ad stops if they revoke; create paused, confirm, then activate; report LP CTR per author, never blend authors/formats; do not retain member profile/social data past 24h/48h.

Errors

Error classMeansWhat to doRetry
CONSENT_NOT_VERIFIEDThe named member has not approved sponsorship (or consent was revoked) - the Thought Leader Ad cannot be created or must be stopped.Block creation until email/auto-approval consent is recorded; if revoked, pause/stop the creative immediately.no
TOKEN_REVOKEDAccess token expired/revoked; member must re-authorize.Refresh once and retry; else needs_reauth. Never log the token.yes
PERMISSION_DENIED403 - missing rw_ads / write role / out-of-scope account (Sponsored Content poster permission on the Page is also required).Confirm scope, roles and Page poster permission; do not retry until corrected.no
INVALID_ARGUMENT400 UGC_RESHARE_CANNOT_BE_SPONSORED, UGC_INVALID_VISIBILITY_SETTING, REFERENCE_MEDIA_CATEGORY_AND_CAMPAIGN_FORMAT_MISMATCH, INVALID_VALUE_NOT_EXIST.Relay platform message; ensure the post is the member's own public non-reshare and matches the campaign format.no
RESOURCE_EXHAUSTED429 daily app/member limit.Honor X-RateLimit-Reset; backoff 5/10/20s cap 60s; retry once.yes
PLATFORM_ERROR500/503 transient.Retry with backoff; report if persistent; do not silently drop.yes

Edge cases

  • Consent revocation at any time must trigger an immediate pause/stop of this creative - treat as a hard gate, not advisory.
  • The referenced post must be authored by the member, not the organization - org-authored posts are not Thought Leader Ads.
  • Reshared, poll, multi-image, celebration, and non-public posts cannot be sponsored as TLAs.
  • Report per author using LP CTR (landingPageClicks); never blend multiple authors or mix with other formats.
  • Account/campaign creative caps (15,000 / 100) apply -> 400 when exceeded.
  • Expired token -> refresh and retry once.
  • Do not store the member's profile/social data beyond 24h/48h retention limits.