Apinoa Docs

Response Schema

Ad, AdPage, Advertiser and AdvertiserPage, field by field: the records every ad library answers with.

View raw .mdx

ads returns an AdPage, ad an Ad, advertisers an AdvertiserPage and advertiser an Advertiser.

Optional fields are genuinely optional: absent means the library did not say. An ad without spend is one the library shows no spend for.

FieldTypeNotes
librarystringmeta-ads, tiktok-ads, linkedin-ads or google-ads
idstringthe ad's id in the library
urlstringthe ad's page in the library
advertiserAdvertiserRefwho ran it
paidBystring?who paid for it, as the library's disclosure names them
formatstring?the library's own name for the format, e.g. VIDEO, Single Image Ad
titlestring?the headline
textstring?the ad's text
linkUrlstring?where the ad leads
ctaTextstring?the button's text, e.g. Learn more
imagesImage[]the ad's pictures
videosVideo[]the ad's videos
cardsCard[]a carousel's cards, or the ad's variations where the library shows several
categoriesstring[]?the category the library files the ad under
firstShownAtstring?the first day shown: an ISO 8601 time, or YYYY-MM-DD where the library states only the day
lastShownAtstring?the last day shown, the same way
impressionsRange?how many times it was shown
reachRange?how many people saw it
spendRange?what was spent on it, in currency
currencystring?the currency of spend, e.g. USD
countriesCountry[]?where it was shown, with each country's share where the library gives one
aiGeneratedboolean?the library marks it as made or altered with AI
extobject?what only this library states (see its pages)

AdvertiserRef

FieldTypeNotes
idstring?the id ads?advertiser= takes, where the library has one
namestring?
urlstring?the advertiser's page
avatarUrlstring?its logo or picture
extobject?

Image

FieldTypeNotes
urlstring
width, heightinteger?in pixels, where stated
extobject?other copies of the picture the library serves

Video

FieldTypeNotes
urlstring?the video file
coverUrlstring?its cover picture
width, heightinteger?
durationSecnumber?
extobject?other files and qualities

Card

FieldTypeNotes
title, text, linkUrl, ctaTextstring?as on the ad
imageImage?
videoVideo?
extobject?

Range

FieldTypeNotes
textstring?the range as the library shows it, e.g. 1K-5K, < 1k
lowernumber?the lower bound
uppernumber?the upper bound. A range open at the top has none

Country

FieldTypeNotes
countrystringan ISO 3166-1 alpha-2 code, or the country's name where the library gives only that
impressionsRange?its impressions
percentnumber?its share of the ad's impressions
firstShownAt, lastShownAtstring?when it was shown there
extobject?

AdPage

FieldTypeNotes
librarystring
itemsAd[]in the library's order
cursorstring?send it alone for the next page. Absent on the last page
totalinteger?how many ads match, where the library states the number
totalRangeRange?how many match, where the library states a range or an "at least" instead
extobject?

Advertiser

FieldTypeNotes
librarystring
idstringthe id ads?advertiser= takes
urlstring?its page in the library
namestring?
avatarUrlstring?
countrystring?where it is registered or billed, as an ISO code
verifiedboolean?the library shows it as verified
adsRange?how many ads the library holds for it. An exact count has lower equal to upper
extobject?what only this library states, e.g. Google's legal name and political registration

AdvertiserPage

FieldTypeNotes
librarystring
itemsAdvertiser[]
cursorstring?send it alone for the next page
extobject?e.g. the websites Google's search suggests next to the advertisers

On this page