# Meta (Facebook and Instagram)

> Check Meta's copy and creative limits, its AI label rule, and how Handline sends conversions to the Conversions API and reads Insights.

Image and video ads on Facebook and Instagram: one set of text for feed, Stories and Reels placements. The limits below are from Meta's Ads Guide. Meta gives recommended text lengths before truncation rather than hard limits; Handline uses them as limits.

## What Meta's documentation says

- **Conversions** go through the Conversions API with the event's time, its event id and the `fbclid` click id. An event more than 7 days old fails Meta's whole request, so Handline sends nothing older. Meta needs the visitor's browser string for website events, so Handline keeps it, with consent, for this channel's visits.
- **Connection tests** need the test event code from Events Manager's Test events. Meta has no validate-only mode, so without a code Handline sends nothing rather than a real event.
- **Reads** use the Marketing API's Insights, at ad level, by day, with numbers that match Ads Manager. `clicks` counts link clicks to the landing page, not every click, so it compares with visits. `platformConversions` counts the events you mapped outcomes to; with nothing mapped, nothing is counted. Reach and frequency are read over the whole fatigue window, because a day's reach can't be added to the next day's.
- **Rate limits:** when Meta asks Handline to slow down, the read waits and tries again, or stops and runs later.

## 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.

### Image or video ad (feed, Stories, Reels)

Format id `single-media-ad`.

| Field | Id | Kind | Limit | Required | Notes |
| --- | --- | --- | --- | --- | --- |
| Primary text | `primaryText` | Text | 125 characters | Yes | Reels shows about 44 characters before "more"; keep the point up front. |
| Headline | `headline` | Text | 40 characters | Yes | Facebook feed shows about 27 characters. |
| Description | `description` | Text | 30 characters | No |  |

## 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 |
| --- | --- | --- | --- | --- | --- | --- | --- |
| Square image (1:1) | `image-square` | image | 1:1 | at least 600 × 600 | JPEG, PNG | 30 MB |  |
| Vertical image (4:5) | `image-vertical` | image | 4:5 | at least 600 × 750 | JPEG, PNG | 30 MB |  |
| Full-screen image (9:16), Stories and Reels | `image-story` | image | 9:16 | at least 500 × 889 | JPEG, PNG | 30 MB |  |
| Square video (1:1) | `video-square` | video | 1:1 | at least 120 × 120 | MP4, MOV | 4 GB | 1 second to 241 minutes |
| Vertical video (4:5) | `video-vertical` | video | 4:5 | at least 120 × 150 | MP4, MOV | 4 GB | 1 second to 241 minutes |
| Full-screen video (9:16), Stories and Reels | `video-story` | video | 9:16 | at least 500 × 889 | MP4, MOV | 4 GB | 1 second to 15 minutes |

Keep text, logos and other key elements out of the safe zone: the share of the frame, from each edge, that the platform’s own buttons and captions may cover.

| Format | Top | Bottom | Left | Right |
| --- | --- | --- | --- | --- |
| Full-screen image (9:16), Stories and Reels | 14% | 35% | 6% | 6% |
| Full-screen video (9:16), Stories and Reels | 14% | 35% | 6% | 6% |

## AI label

Required for media made or significantly changed with AI. Meta labels AI-made or significantly AI-edited ad media "AI info" itself; for social issue, election and political ads the advertiser must also disclose it in the ad’s settings.

A placement that uses AI-made media records how it was labelled in `aiLabel`; one without it is refused.

## Numbers

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

Handline reads `spend`, `impressions`, `clicks`, `platformConversions`, `reach` from Meta every day, once a person connects an ad account. The last 28 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 `ads_read`. It asks only for permission to read.

## Conversion route

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

- **Click id:** `fbclid`, which the platform adds to the landing URL. A visit without one sends no conversion.
- **Oldest event sent:** 7 days after the outcome happened, the platform’s limit. An outcome reported later is recorded but not sent.
- **To connect:** A person enters, from the platform: Conversions API access token, from Events Manager; Dataset (pixel) id; Test event code, from Events Manager (only for connection tests).
- **IP address and browser string:** the platform needs them with a conversion, so they are kept for this channel’s visits, only when consent allows, and deleted on the retention schedule.

## Platform tag

Meta Pixel, turned on per product with its Pixel ID. One page view, with an event id. Leads and sign-ups still go from the server, never from the tag. It loads only after consent allows it, from `connect.facebook.net`, `www.facebook.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 Meta (Facebook and Instagram), it may run anywhere.

A test on Meta (Facebook and Instagram) varies one of: creative, audience, placement, optimization event.

Definition version 1, id `meta`.
