SCALIX help

← All tools

lads_list_job_titles

LinkedIn Ads read low risk

Part of the LinkedIn Audience Agent.

What it does

Convenience helper for the job-title targeting facet via GET /rest/adTargetingEntities. Supports two modes: (1) typeahead via q=typeahead&facet=...:titles&query=<text>; (2) similarEntities expansion via q=similarEntities&facet=...:titles&entities=List(...) to find related standardized titles. One of query or similar_to is required: the titles facets have about 25,000 entries, far too many to list whole, so a call with neither returns invalid_argument. The titles facet family includes titles (current), titlesPast, and titlesAll. Returns matching standardized title entity URNs + names for a campaign's targetingCriteria (values under urn:li:adTargetingFacet:titles). Read-only reference data.

Inputs

NameTypeRequiredDescription
querystring|array<string>noTypeahead text, e.g. 'marketing manager' (q=typeahead). Required unless similar_to is given: the titles facets are too large to list whole. 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.
facetenum(titles|titlesPast|titlesAll)noWhich titles facet to query. Default titles (current). titlesPast = past titles, titlesAll = current or past.
similar_toarray<urn:li:title>noOptional title URNs to expand via q=similarEntities; the facet= param is always included alongside entities=List(...).
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.
startintegernoKeyword search (query) only, not similar_to: the result to start from, for the next page. An answer with more to come carries next_start (with a list query, on each row).
countintegernoKeyword search (query) only, not similar_to: results per page (LinkedIn's default is 10; it answered 1,000 in one call, probe 1 Oct 2026).

Safeguards

Policy

Job-title targeting is permitted, but for employment/housing/education/credit ads it must not proxy a protected attribute, and recruitment copy/targeting must remain gender-neutral and non-age-coded.

Reminder

In regulated verticals, don't use job titles to proxy protected attributes; keep recruitment targeting neutral.

Errors

Error classMeansWhat to doRetry
INVALID_ARGUMENTA titles facet LinkedIn does not know, or one this finder cannot query (400 "Specified facet is not available for the finder being used"), returned as invalid_argument.Use titles, titlesPast or titlesAll (lads_get_targeting_facets lists each facet's finders), then call again.no
MISSING_ENTITIESsimilarEntities mode requires both facet=...:titles and entities=List(...); one was omitted -> HTTP 400.Include the facet param and a non-empty entities list of title URNs.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 query and no similar_to -> invalid_argument: the titles facets have about 25,000 entries, too many to list whole; search by keyword instead.
  • Query provided -> route to q=typeahead with query=<text>; no match -> success with an empty elements list; suggest broader terms.
  • similarEntities expansion MUST include both facet=...:titles and entities=List(...) — omitting facet is a 400.
  • Short/ambiguous queries can return many similar standardized titles — present top matches with URNs.
  • Match by URN, not free-text title.
  • Recruitment context: flag title selections paired with age/gender proxies.
  • Expired token -> refresh and retry once.