SCALIX help

← All tools

lads_list_skills

LinkedIn Ads read low risk

Part of the LinkedIn Audience Agent.

What it does

Convenience helper that searches the member-skills targeting facet via GET /rest/adTargetingEntities?q=typeahead, returning skill entity URNs (urn:li:skill:{id}) + names for a campaign's targetingCriteria, as values under urn:li:adTargetingFacet:skills (e.g. 'Python', 'Demand Generation'). Skills are a large facet so a query is required. Read-only reference data.

Inputs

NameTypeRequiredDescription
querystring|array<string>yesSkill typeahead text. Required (large facet). Or a LIST of up to 20 terms, resolved in parallel in one call: one row per term, {query, elements} or {query, error} — use it instead of one call per term.
localestringnoLocale for entity names, e.g. 'en_US', 'de-DE' or 'fr' (country defaults to US); sent as locale=(language:xx,country:YY). Default en/US.
startintegernoThe result to start from, for the next page of a keyword search. An answer with more to come carries next_start (with a list query, on each row): pass it here.
countintegernoResults per page of a keyword search (LinkedIn's default is 10; it answered 1,000 in one call, probe 1 Oct 2026).

Safeguards

Policy

Skills targeting is permitted, but for employment/housing/education/credit ads it must not be used to proxy or exclude protected attributes.

Reminder

Don't use skills targeting to proxy protected attributes in regulated ads.

Errors

Error classMeansWhat to doRetry
MISSING_QUERYSkills typeahead requires a query string.Provide a query.no
INVALID_FACETSkills facet URN unavailable in this version.Re-fetch facets via lads_get_targeting_facets.no
TOKEN_REVOKEDToken expired/revoked (HTTP 401).Refresh once and retry; else needs_reauth.yes
PERMISSION_DENIEDMissing r_ads scope (HTTP 403).Request r_ads.no
RATE_LIMITEDDaily quota exceeded (HTTP 429).Exponential backoff 5/10/20s cap 60s honoring X-RateLimit-Reset.yes
PLATFORM_UNAVAILABLELinkedIn returned a 5xx.Retry with backoff.yes

Edge cases

  • No match -> success, count:0; suggest related skills.
  • Broad queries return many related skills, 10 per page unless count says otherwise; page with start while next_start is present — present top matches with URNs.
  • Match by URN, not free text.
  • Skill taxonomy can shift between versions — re-resolve a stored URN if it 400s.
  • Expired token -> refresh and retry once.