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
| Name | Type | Required | Description |
|---|---|---|---|
query | string|array<string> | yes | Skill 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. |
locale | string | no | Locale 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. |
start | integer | no | The 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. |
count | integer | no | Results 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 class | Means | What to do | Retry |
|---|---|---|---|
MISSING_QUERY | Skills typeahead requires a query string. | Provide a query. | no |
INVALID_FACET | Skills facet URN unavailable in this version. | Re-fetch facets via lads_get_targeting_facets. | no |
TOKEN_REVOKED | Token expired/revoked (HTTP 401). | Refresh once and retry; else needs_reauth. | yes |
PERMISSION_DENIED | Missing r_ads scope (HTTP 403). | Request r_ads. | no |
RATE_LIMITED | Daily quota exceeded (HTTP 429). | Exponential backoff 5/10/20s cap 60s honoring X-RateLimit-Reset. | yes |
PLATFORM_UNAVAILABLE | LinkedIn 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.