# LinkedIn

> Check LinkedIn's copy and image limits, and how Handline sends conversions to LinkedIn's Conversions API and reads ad analytics.

Single image ads on LinkedIn. The limits below are from LinkedIn's single image ad specifications; the notes give LinkedIn's recommended lengths before text is cut.

## What LinkedIn's documentation says

- **Conversions** go through LinkedIn's Conversions API to a conversion rule, within 90 days, with an event id that matches the Insight Tag's, the `li_fat_id` click id and, only when there is one, the hashed email. A person maps each stage to a conversion rule's id.
- **API versions** are supported for about a year, so Handline moves to a newer one each year.
- **Sign-in:** where LinkedIn doesn't issue a refresh token, the person connects again when the token expires; a `credential_failing` work item says when.
- **Reads** use ad analytics, by creative and day, in UTC: LinkedIn ad accounts have no time zone. LinkedIn's campaign group, campaign and creative map to Handline's campaign, ad group and ad. Both read permissions only read.
- **AI label:** LinkedIn's ad specifications ask for no label from the advertiser.

## Copy formats

Copy is checked against these limits as it is written and again by the `copyLimits` check. Limits count characters after product facts are filled in.

### Single image ad

Format id `single-image-ad`.

| Field | Id | Kind | Limit | Required | Notes |
| --- | --- | --- | --- | --- | --- |
| Introductory text | `introductoryText` | Text | 3,000 characters | Yes | About 150 characters show before "see more". |
| Headline | `headline` | Text | 200 characters | Yes | About 70 characters show without truncation. |
| Description | `description` | Text | 300 characters | No | About 100 characters show; may be shorter on the LinkedIn Audience Network. |

## Creative formats

A creative version fits a format when it matches all of these. The library shows which formats each version fits and why it fails the others.

| Format | Id | Media | Aspect ratio | Size in pixels | Files | Largest file | Length |
| --- | --- | --- | --- | --- | --- | --- | --- |
| Landscape image (1.91:1) | `image-landscape` | image | 1.91:1 | at least 640 × 360, at most 7,680 × 4,320 | JPEG, PNG, GIF | 5 MB |  |
| Square image (1:1) | `image-square` | image | 1:1 | at least 360 × 360, at most 4,320 × 4,320 | JPEG, PNG, GIF | 5 MB |  |

## AI label

Not required. LinkedIn’s ad specifications ask for no AI label from the advertiser.

## Numbers

The numbers this channel can have: `spend`, `impressions`, `clicks`, `platformConversions`, `reach`.

Handline reads `spend`, `impressions`, `clicks`, `platformConversions`, `reach` from LinkedIn every day, once a person connects an ad account. The last 30 days are read again each day, because the platform revises them; a revised row replaces the old one, which stays in its history.

To connect an ad account for reading, a person signs in on the platform’s own consent screen, which asks for `r_ads_reporting` and `r_ads`. It asks only for permission to read.

## Conversion route

Outcomes from visits that came through a LinkedIn ad are sent to LinkedIn, through the Conversions API, from Handline’s server, only with the visitor’s consent under their region’s rule.

- **Click id:** `li_fat_id`, which the platform adds to the landing URL. A visit without one sends no conversion.
- **Oldest event sent:** 90 days after the outcome happened, the platform’s limit. An outcome reported later is recorded but not sent.
- **To connect:** A person signs in on the platform’s own consent screen, which asks for `rw_conversions` and `r_ads`.
- **Also set in the conversion mapping:** LinkedIn ad account id, digits only.

## Platform tag

LinkedIn Insight Tag, turned on per product with its Partner ID. One page view. LinkedIn’s tag takes no event id; the server never sends page views, so nothing counts twice. It loads only after consent allows it, from `snap.licdn.com`, `px.ads.linkedin.com`.

## Country rules and tests

A placement may name the countries it targets; each must be allowed by the country rules. With no rule for LinkedIn, it may run anywhere.

A test on LinkedIn varies one of: creative, audience, placement.

Definition version 1, id `linkedin`.
