# Ad

> One ad from a public ad library: advertiser, copy, creative, landing page and when it ran.

Canonical page: https://okdata.online/docs/objects/ad/

The same shape on every platform. A field a platform does not have is null, and meta.unavailable says why. Use fields= to keep only what you need.

| Field | Type | Description |
|---|---|---|
| `id` | string | ID dell'annuncio nella libreria. |
| `url` | string | Link all'annuncio nella libreria. |
| `advertiser` | AdvertiserRef | Chi gestisce l'annuncio. |
| `title` | string \| null | Titolo, se l'annuncio ne ha uno. |
| `text` | string | Ad copy as plain text; empty when the ad has none. |
| `format` | string \| null | Creative format; dynamic means the platform assembles it per viewer (catalog ads). |
| `images` | string[] \| null | URL delle immagini della creatività. |
| `videos` | string[] \| null | URL dei video della creatività. |
| `landing_url` | string \| null | Dove porta l'annuncio. |
| `cta` | string \| null | Testo del pulsante di invito all'azione. |
| `platforms` | string[] \| null | Dove viene mostrato, ad es. facebook, instagram. |
| `active` | boolean \| null | Se l'annuncio è ancora attivo. |
| `first_shown_at` | string \| null | First time or day shown, ISO 8601 in UTC. |
| `last_shown_at` | string \| null | Last time or day shown, ISO 8601 in UTC. |
| `reach` | string \| null | People reached, as the library publishes it: a bracket such as 1K-10K, or a count (the EU reach of a Meta ad); null where none is published. |
| `ext` | object | Dati aggiuntivi specifici della piattaforma. Restituiti solo con view=full. |

### AdvertiserRef

| Field | Type | Description |
|---|---|---|
| `id` | string \| null | L'ID dell'inserzionista nella libreria. |
| `name` | string \| null | Il nome dell'inserzionista. |
| `url` | string \| null | La pagina dell'inserzionista. |

## Endpoints that return a Ad

- [Ricerca nella TikTok Ads Library](https://okdata.online/apis/tiktok/ads/search/) (`tiktok.ads.search`): $0.004 per call · about 12 ads per page
- [Annunci top di TikTok Creative Center](https://okdata.online/apis/tiktok/creative_center/ads/search/) (`tiktok.creative_center.ads.search`): $0.002 per call · about 20 ads per page
- [Annuncio top di TikTok Creative Center](https://okdata.online/apis/tiktok/creative_center/ads/get/) (`tiktok.creative_center.ads.get`): $0.002 per call
- [Ricerca Meta Ad Library](https://okdata.online/apis/meta/ads/search/) (`meta.ads.search`): $0.004 per call · about 30 ads per page
- [Dettaglio annuncio Meta Ad Library](https://okdata.online/apis/meta/ads/get/) (`meta.ads.get`): $0.004 per call
- [Annunci di un inserzionista Meta](https://okdata.online/apis/meta/advertisers/ads/list/) (`meta.advertisers.ads.list`): $0.004 per call · about 30 ads per page
- [Annunci di un inserzionista Google](https://okdata.online/apis/google/advertisers/ads/list/) (`google.advertisers.ads.list`): $0.004 per call · about 40 ads per page

## Fields by view

Each view includes the fields of the views above it. `view=compact` is the smallest; `full` adds platform extras under `ext`.

- compact: `id`, `url`, `advertiser`, `title`, `text`, `format`, `active`, `first_shown_at`, `last_shown_at`
- standard: `images`, `landing_url`, `cta`, `platforms`, `reach`
- full: `videos`, `ext`
