curl "https://api.adlibapi.com/v1/advertisers/meta:15087023444/ads" \
-H "X-API-Key: $ADLIB_API_KEY"API reference · Advertisers and companies
All ads of an advertiser (live or from history)
/v1/advertisers/{id}/adsExample request
Send your key in the X-API-Key header. Try it in the explorer.
Parameters
idrequirede.g. meta:15087023444
statusOne of active, inactive, all
default all
sourcehistory includes ads that vanished from the platform
One of live, history
default live
sortsource=history only: longest-running first
One of newest, days_running
default newest
cursorlimitdefault 25
Response
data.advertiserrequireddomainid<platform>:<platform_advertiser_id>
nameplatform_advertiser_idverifieddata.countriesrequiredISO 3166-1 alpha-2
data.creativesrequiredctaheadlinelanding_urlmediatexttypedata.derivedrequireddays_runningis_long_runningdays_running > 30
languageISO 639-1 of the primary ad text
variant_countAds sharing this ad's primary text for the same advertiser
data.eu_datarequiredbeneficiarypayerreach_by_countryreach_by_country_rangereach_rangereach_totaltargetingdata.extraPlatform-specific fields
data.first_seen_by_usrequireddata.first_shownrequireddata.formatsrequireddata.idrequiredStable ID: <platform>:<platform_ad_id>
data.impressions_rangerequiredcurrencylowerupperdata.last_seen_by_usrequireddata.last_shownrequireddata.library_urldata.placementsrequireddata.platformrequiredOne of meta, google, tiktok, linkedin, pinterest, x
data.platform_ad_idrequireddata.politicalrequiredPolitical or issue ad. Meta only; null where the platform doesn't label it
data.raw_refPointer to the archived raw upstream record
data.spend_rangerequiredcurrencylowerupperdata.statusrequiredOne of active, inactive, unknown
metarequiredcachedcounterrorsPlatforms that failed (not billed)
codemessageplatformplatformssourceOne of live, history
next_cursorrequiredPass as cursor to get the next page; null = last page