lads_list_seniorities
LinkedIn Ads read low risk
Part of the LinkedIn Audience Agent.
What it does
Convenience helper that lists the seniority targeting facet (e.g. Entry, Senior, Manager, Director, VP, CXO, Owner, Partner) via GET /rest/adTargetingEntities?q=adTargetingFacet&facet=urn:li:adTargetingFacet:seniorities. The seniority facet is small and fully enumerable in a single page, so only the adTargetingFacet (list-all) finder is supported — there is no typeahead/query mode and no similarEntities expansion for seniorities. Returns seniority entity URNs + names for a campaign's targetingCriteria (values under urn:li:adTargetingFacet:seniorities). Read-only reference data.
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
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. |
Safeguards
Policy
Seniority targeting is permitted, but for recruitment/employment ads it must not be used as an age proxy (e.g. excluding senior levels to skew young); age targeting is disabled for recruitment.
Reminder
Don't use seniority as an age proxy in recruitment/employment ads.
Errors
| Error class | Means | What to do | Retry |
|---|---|---|---|
INVALID_FACET | Seniorities 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
- Seniority list is small and enumerable in one page via q=adTargetingFacet -> return full with count.
- Only the adTargetingFacet finder is supported for seniorities; typeahead and similarEntities are not — do not attempt them.
- Match by URN, not localized name.
- Recruitment context: flag/refuse seniority-based exclusion used to proxy age.
- Expired token -> refresh and retry once.