Response Schema
Ad, AdPage, Advertiser and AdvertiserPage, field by field: the records every ad library answers with.
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.
| Field | Type | Notes |
|---|
library | string | meta-ads, tiktok-ads, linkedin-ads or google-ads |
id | string | the ad's id in the library |
url | string | the ad's page in the library |
advertiser | AdvertiserRef | who ran it |
paidBy | string? | who paid for it, as the library's disclosure names them |
format | string? | the library's own name for the format, e.g. VIDEO, Single Image Ad |
title | string? | the headline |
text | string? | the ad's text |
linkUrl | string? | where the ad leads |
ctaText | string? | the button's text, e.g. Learn more |
images | Image[] | the ad's pictures |
videos | Video[] | the ad's videos |
cards | Card[] | a carousel's cards, or the ad's variations where the library shows several |
categories | string[]? | the category the library files the ad under |
firstShownAt | string? | the first day shown: an ISO 8601 time, or YYYY-MM-DD where the library states only the day |
lastShownAt | string? | the last day shown, the same way |
impressions | Range? | how many times it was shown |
reach | Range? | how many people saw it |
spend | Range? | what was spent on it, in currency |
currency | string? | the currency of spend, e.g. USD |
countries | Country[]? | where it was shown, with each country's share where the library gives one |
aiGenerated | boolean? | the library marks it as made or altered with AI |
ext | object? | what only this library states (see its pages) |
| Field | Type | Notes |
|---|
id | string? | the id ads?advertiser= takes, where the library has one |
name | string? | |
url | string? | the advertiser's page |
avatarUrl | string? | its logo or picture |
ext | object? | |
| Field | Type | Notes |
|---|
url | string | |
width, height | integer? | in pixels, where stated |
ext | object? | other copies of the picture the library serves |
| Field | Type | Notes |
|---|
url | string? | the video file |
coverUrl | string? | its cover picture |
width, height | integer? | |
durationSec | number? | |
ext | object? | other files and qualities |
| Field | Type | Notes |
|---|
title, text, linkUrl, ctaText | string? | as on the ad |
image | Image? | |
video | Video? | |
ext | object? | |
| Field | Type | Notes |
|---|
text | string? | the range as the library shows it, e.g. 1K-5K, < 1k |
lower | number? | the lower bound |
upper | number? | the upper bound. A range open at the top has none |
| Field | Type | Notes |
|---|
country | string | an ISO 3166-1 alpha-2 code, or the country's name where the library gives only that |
impressions | Range? | its impressions |
percent | number? | its share of the ad's impressions |
firstShownAt, lastShownAt | string? | when it was shown there |
ext | object? | |
| Field | Type | Notes |
|---|
library | string | |
items | Ad[] | in the library's order |
cursor | string? | send it alone for the next page. Absent on the last page |
total | integer? | how many ads match, where the library states the number |
totalRange | Range? | how many match, where the library states a range or an "at least" instead |
ext | object? | |
| Field | Type | Notes |
|---|
library | string | |
id | string | the id ads?advertiser= takes |
url | string? | its page in the library |
name | string? | |
avatarUrl | string? | |
country | string? | where it is registered or billed, as an ISO code |
verified | boolean? | the library shows it as verified |
ads | Range? | how many ads the library holds for it. An exact count has lower equal to upper |
ext | object? | what only this library states, e.g. Google's legal name and political registration |
| Field | Type | Notes |
|---|
library | string | |
items | Advertiser[] | |
cursor | string? | send it alone for the next page |
ext | object? | e.g. the websites Google's search suggests next to the advertisers |