Ad object

11 endpoints on 4 platforms return the Ad object with the same 14 fields, so code written for one platform reads the others unchanged. A call costs $0.0020. It is a preview structure and may still change.

Preview object · Updated 2026-10-17Open in ChatGPTOpen in Claude

An Ad is one ad as a platform's public ad library, or TikTok's Creative Center showcase, lists it: format, headline, text, images and videos, where it leads and who ran it, and in the libraries when it was first and last shown. Nothing in its standard fields says what the ad cost; impression ranges, engagement counts and targeting, where a platform gives them, are under ext.

advertiser names who ran it, with an id on the libraries that keep one, and an Advertiser found by name leads to its ads. What is said in a Meta Ad Library ad's video is its Transcript.

Fields

A field the platform cannot give is left out of the item and named in meta.unavailable. It is never filled with a guess or a zero.

id text

ID; pass it unchanged to the ad's get endpoint

url link

The ad's page in the platform's ad library

format text

Format of the creative; other is a format of the platform's own: video image carousel text other

title text

Headline

text text

Body text

landing_url link standard

Where a click on the ad leads

advertiser object

Advertiser

advertiser.id text

Advertiser ID

advertiser.name text

Advertiser's name

advertiser.url link standard

The advertiser's page on the platform

advertiser.avatar_url link standard

The advertiser's picture or logo

images list of link standard

Addresses of the ad's images

videos list of link full

Addresses of the ad's videos; they expire

first_shown_at time

When the ad was first shown

last_shown_at time

When the ad was last shown; for an ad still running, when the platform last saw it

What a platform cannot give

A platform stands against a field when none of its endpoints gives it.

FieldNot available on
advertiser.urlTikTokGoogle Ads
advertiser.avatar_urlTikTokGoogle Ads
One endpoint may still leave out a field another gives: each endpoint's page lists what it cannot give, and every answer says so in meta.unavailable.

Endpoints that return Ad

The number beside each platform is how many of its endpoints return it.

EndpointPathPrice
TikTok Ads Library searchGET/v1/tiktok/ads/search$0.0020
TikTok Ads Library ad detailGET/v1/tiktok/ads/get$0.0020
TikTok Creative Center Top Ad detailGET/v1/tiktok/creative_center/ads/get$0.0020
TikTok Creative Center Top Ads searchGET/v1/tiktok/creative_center/ads/search$0.0020
LinkedIn ad detailGET/v1/linkedin/ads/get$0.0020
LinkedIn Ad Library searchGET/v1/linkedin/ads/search$0.0020
Meta ad detailGET/v1/meta/ads/get$0.0020
Meta Ad Library searchGET/v1/meta/ads/search$0.0020
Meta advertiser's adsGET/v1/meta/advertisers/ads/list$0.0020
Google ad detailGET/v1/google/ads/get$0.0020
Google advertiser's adsGET/v1/google/advertisers/ads/list$0.0020

Example

One item from tiktok.ads.search, as recorded 2026-10-12 22:12 UTC. Names, text, IDs and links are examples; the figures are as recorded.

Ad · tiktok.ads.search
{
  "id": "1886449558577687",
  "url": "https://library.tiktok.com/ads/detail/?ad_id=1886449558577687",
  "format": null,
  "title": "Start running shoes with the kit made for beginners",
  "advertiser": { "id": null, "name": "Brightline Studio" },
  "images": [],
  "first_shown_at": "2026-09-29T00:00:00.000Z",
  "last_shown_at": "2026-09-30T00:00:00.000Z"
}

The whole response is on the endpoint's page →

Related

Other objects