Platform Fields & Targeting
Every platformSpecificData field for LinkedIn, and audience targeting on organization pages.
Audience targeting (organization pages)
audience applies LinkedIn organization-page audience targeting (Ads Manager's "Targeted audience"). It is rejected on personal profiles, and LinkedIn rejects the post when the targeted audience is under 300 members.
Targeting is OR within a facet (e.g., any of the listed industries) and AND across facets (e.g., industry AND seniority).
Note:
audience.countriesis merged withgeoRestriction.countries(same ISO code list). Useaudience.geoLocationsfor countries/regions/cities not covered by the built-in country mapping.
curl -X POST https://zernio.com/api/v1/posts \
-H "Authorization: Bearer $ZERNIO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"content": "We are hiring across EMEA.",
"platforms": [
{
"platform": "linkedin",
"accountId": "66b2e19d8c3f5a7e9d0b1c2d",
"platformSpecificData": {
"organizationUrn": "urn:li:organization:111111111",
"audience": {
"countries": ["ES", "DE"],
"industries": ["urn:li:industry:4"],
"seniorities": ["urn:li:seniority:6"],
"staffCountRanges": ["SIZE_51_TO_200", "SIZE_201_TO_500"],
"interfaceLocales": [{"language": "es", "country": "ES"}]
}
}
}
],
"publishNow": true
}'To find targeting ids, use GET /v1/ads/targeting/search?platform=linkedin (types: country, region, industry, jobFunction, seniority, companySize). URN facets accept either a full urn:li:<type>:<id> or the bare numeric id.
Platform fields
All fields go in platformSpecificData on the LinkedIn entry.
| Field | Type | Default | Description |
|---|---|---|---|
documentTitle | string | media item title, then filename | Title shown on document (PDF/carousel) posts. LinkedIn requires one for document posts. |
organizationUrn | string | (default organization or personal profile) | Post to a specific organization page, urn:li:organization:123456. List the options with GET /v1/accounts/{accountId}/linkedin-organizations. |
firstComment | string | Posted as the first comment after publishing. | |
disableLinkPreview | boolean | false | true suppresses the automatic URL preview card. |
audience | object | Organization pages only. Audience targeting (OR within a facet, AND across facets). LinkedIn rejects targeting under 300 members. | |
audience.countries | Array<string> | Up to 25 ISO 3166-1 alpha-2 codes with a built-in LinkedIn geo URN (merged with geoRestriction.countries). | |
audience.geoLocations | Array<string> | LinkedIn geo URNs or ids (urn:li:geo:<id> or <id>): countries, states, regions, cities. | |
audience.interfaceLocales | Array<{language, country}> | Members' LinkedIn interface locale, e.g. { language: "es", country: "ES" }. | |
audience.industries | Array<string> | urn:li:industry:<id> or id. | |
audience.jobFunctions | Array<string> | urn:li:function:<id> or id. | |
audience.seniorities | Array<string> | urn:li:seniority:<id> or id. | |
audience.staffCountRanges | Array<"SIZE_1" | "SIZE_2_TO_10" | "SIZE_11_TO_50" | "SIZE_51_TO_200" | "SIZE_201_TO_500" | "SIZE_501_TO_1000" | "SIZE_1001_TO_5000" | "SIZE_5001_TO_10000" | "SIZE_10001_OR_MORE"> | Company size of the member's current employer. | |
audience.degrees | Array<string> | urn:li:degree:<id> or id. | |
audience.fieldsOfStudy | Array<string> | urn:li:fieldOfStudy:<id> or id. | |
audience.organizations | Array<string> | Schools, as urn:li:organization:<id> or id. | |
reshareUrl | string | Post link or urn:li:share / urn:li:ugcPost / urn:li:groupPost URN to repost. Mutually exclusive with mediaItems. See Repost. | |
poll | {question, options, duration?} | Create a poll. Cannot be combined with mediaItems or reshareUrl. See Poll. | |
poll.question | string | 1 to 140 characters. | |
poll.options | Array<string> | 2 to 4 choices, 1 to 30 characters each. | |
poll.duration | "ONE_DAY" | "THREE_DAYS" | "SEVEN_DAYS" | "FOURTEEN_DAYS" | "SEVEN_DAYS" | How long the poll accepts votes. |
geoRestriction | {countries} | Restrict visibility to up to 25 countries. Organization pages only, 300+ targeted followers. See Geo-restriction. |