API reference · History

The advertiser's other ads with the same text

GET/v1/ads/{id}/variants

Try it with your accountOpens in your dashboard, filled in; you see the cost before it runs.

Ads of the same advertiser in our archive whose primary text is identical to this ad's: the variants derived.variant_count counts (other images or videos, countries, placements). Billed per ad like source=history search; an ad without variants costs nothing.

Example request

Shell
curl "https://api.adlibapi.com/v1/ads/meta:1187430977361020/variants" \
  -H "X-API-Key: $ADLIB_API_KEY"

Send your key in the X-API-Key header. Try it in the explorer.

Parameters

idrequired
path · string

e.g. meta:1234567890

cursor
string

From next_cursor of the previous page

limit
integer

default 20

Response

data.advertiserrequired
object
–
domain
string
–
id
string

<platform>:<platform_advertiser_id>

name
string
–
platform_advertiser_id
string
–
verified
boolean
–
data.countriesrequired
string[]

ISO 3166-1 alpha-2

data.creativesrequired
object[]
–
cta
string
–
headline
string
–
landing_url
string
–
media
object[]
–
text
string
–
type
string
–
data.derivedrequired
object
–
days_running
integer
–
is_long_running
boolean

days_running > 30

language
string

ISO 639-1 of the primary ad text

signals
string[]

Why this ad likely performs, from public facts only: long_running (running > 30 days), still_running_90d (active and running > 90 days), scaled (3+ variants with the same text), wide_reach (EU reach >= 100,000), multi_country (shown in 5+ countries)

stage
string

testing = no signal yet, scaling = one signal, proven = two or more. null when the run length is unknown

One of testing, scaling, proven

variant_count
integer

Ads sharing this ad's primary text for the same advertiser

data.eu_datarequired
object
–
beneficiary
string
–
payer
string
–
reach_by_country
map of integer
–
reach_by_country_range
map of object
–
reach_range
object
–
reach_total
integer
–
targeting
object
–
data.extra
map of object

Platform-specific fields

data.first_seen_by_usrequired
datetime
–
data.first_shownrequired
datetime
–
data.formatsrequired
string[]
–
data.idrequired
string

Stable ID: <platform>:<platform_ad_id>

data.impressions_rangerequired
object
–
currency
string
–
lower
integer
–
upper
integer
–
data.last_seen_by_usrequired
datetime
–
data.last_shownrequired
datetime
–
data.library_url
string
–
data.placementsrequired
string[]
–
data.platformrequired
string

One of meta, google, tiktok, linkedin, pinterest, x, snapchat, apple, amazon, microsoft

data.platform_ad_idrequired
string
–
data.politicalrequired
boolean

Political or issue ad. Meta only; null where the platform doesn't label it

data.raw_ref
string

Pointer to the archived raw upstream record

data.removed_from_library_atrequired
datetime

When the platform's library stopped showing this ad (taken down, deleted by the advertiser or past the library's retention). We keep it; null while the library still has it

data.spend_rangerequired
object
–
currency
string
–
lower
integer
–
upper
integer
–
data.statusrequired
string

One of active, inactive, unknown

metarequired
object
–
advertisers
string[]

source=history with an advertiser name: the archived advertisers it matched (exact name if any, else name containing it), as <platform>:<id>

cached
boolean
–
count
integer
–
errors
object[]

Platforms that failed (not billed), and code partial_results where a platform answered only part of the page (the ads it returned are billed; the message says what is missing)

code
string
–
message
string
–
platform
string
–
platform_totals
map of integer

Matching ads per platform as the platform reports them, where it does: how much there is beyond this page

platforms
string[]
–
source
string

One of live, history

next_cursorrequired
string

Pass as cursor to get the next page; null = last page