Adspendspy Context

JSON-LD context defining the semantic vocabulary for Adspendspy from AdSpendSpy (Meta Ad Library Spend API).

25 Classes 123 Properties 4 Namespaces
View Context View on GitHub

Namespaces

schema: https://schema.org/
xsd: http://www.w3.org/2001/XMLSchema#
dcterms: http://purl.org/dc/terms/
adspendspy: https://adspendspy.com/schema#

Classes

Error SpendMeta TrackedBrand BrandSearchResult AdSummary AdDetail Demographic LandingPage AdList Project BrandListResponse BrandSearchResponse CheckTrackedResponse TrackBrandResponse AdListResponse AdDetailResponse TopAdsResponse TopLandingpagesResponse AlertCountResponse IntegrationItem IntegrationItemListResponse Webhook WebhookCreated WebhookListResponse WebhookUnsubscribed

Properties

Property Type Container
success boolean
message string
code string
message_key string
message_params
reason string
redirect_url string
limit_reached boolean
tracked_count integer
tracked_limit integer
remaining_slots integer
currency string
spend_basis string
model_version integer
timeframe string
timeframe_basis string
period_spend_available boolean
zero_spend_means string
demographics_basis string
sample_limit integer
sampled boolean
aggregate_scope string
id integer
page_id string
brand_name string
brand_image string
category string
likes integer
verification string
ig_username string
ig_followers integer
created_at string
ad_count integer
ad_brand_name string
ad_brand_image string
status string
display_name string
display_image string
internal_ad_id integer
ad_id string
meta_ad_id string
ad_archive_id string
headline string
body_text string
media_type string
thumbnail_url string
video_url string
landing_url string
is_active integer
estimated_spend string
estimated_spend_eu string
estimated_spend_usa string
spend_coverage string
spend_model_version integer
total_reach integer
total_impressions integer
first_seen_at string
last_seen_at string
start_date string
end_date string
days_running integer
on_facebook integer
on_instagram integer
on_messenger integer
on_audience_network integer
cta_text string
cta_type string
duration integer
transcript string
estimated_reach_usa integer
country string
age_range string
gender string
reach integer
impressions integer
snapshot_at string
total_spend decimal
ads_count integer
brands_count integer
active_ads_count integer
max_days_running integer
brand
screenshot_url string
screenshot_full_url string
list_name string
description string
contains_ad boolean
updated_at string
public_id string
project_name string
color string
brand_count integer
contains_brand boolean
brands list
data list
count integer
total_count integer
results list
tracked
brand_id integer
already_tracked boolean
reactivated boolean
ingestion_state string
ads list
pagination
summary
meta reference
ad reference
demographics list
event string
occurred_at string
spend_is_estimate boolean
alert
items list
target_url string
platform string
filters
last_delivery_at string
last_success_at string
last_status string
webhook reference
secret string
webhooks list

JSON-LD Document

Raw ↑
{
  "@context": {
    "@vocab": "https://adspendspy.com/schema#",
    "schema": "https://schema.org/",
    "xsd": "http://www.w3.org/2001/XMLSchema#",
    "dcterms": "http://purl.org/dc/terms/",
    "adspendspy": "https://adspendspy.com/schema#",
    "Error": "adspendspy:Error",
    "success": {
      "@id": "adspendspy:success",
      "@type": "xsd:boolean"
    },
    "message": {
      "@id": "adspendspy:message",
      "@type": "xsd:string"
    },
    "code": {
      "@id": "adspendspy:code",
      "@type": "xsd:string"
    },
    "message_key": {
      "@id": "adspendspy:message_key",
      "@type": "xsd:string"
    },
    "message_params": {
      "@id": "adspendspy:message_params"
    },
    "reason": {
      "@id": "adspendspy:reason",
      "@type": "xsd:string"
    },
    "redirect_url": {
      "@id": "adspendspy:redirect_url",
      "@type": "xsd:string"
    },
    "limit_reached": {
      "@id": "adspendspy:limit_reached",
      "@type": "xsd:boolean"
    },
    "tracked_count": {
      "@id": "adspendspy:tracked_count",
      "@type": "xsd:integer"
    },
    "tracked_limit": {
      "@id": "adspendspy:tracked_limit",
      "@type": "xsd:integer"
    },
    "remaining_slots": {
      "@id": "adspendspy:remaining_slots",
      "@type": "xsd:integer"
    },
    "SpendMeta": "adspendspy:SpendMeta",
    "currency": {
      "@id": "adspendspy:currency",
      "@type": "xsd:string"
    },
    "spend_basis": {
      "@id": "adspendspy:spend_basis",
      "@type": "xsd:string"
    },
    "model_version": {
      "@id": "adspendspy:model_version",
      "@type": "xsd:integer"
    },
    "timeframe": {
      "@id": "adspendspy:timeframe",
      "@type": "xsd:string"
    },
    "timeframe_basis": {
      "@id": "adspendspy:timeframe_basis",
      "@type": "xsd:string"
    },
    "period_spend_available": {
      "@id": "adspendspy:period_spend_available",
      "@type": "xsd:boolean"
    },
    "zero_spend_means": {
      "@id": "adspendspy:zero_spend_means",
      "@type": "xsd:string"
    },
    "demographics_basis": {
      "@id": "adspendspy:demographics_basis",
      "@type": "xsd:string"
    },
    "sample_limit": {
      "@id": "adspendspy:sample_limit",
      "@type": "xsd:integer"
    },
    "sampled": {
      "@id": "adspendspy:sampled",
      "@type": "xsd:boolean"
    },
    "aggregate_scope": {
      "@id": "adspendspy:aggregate_scope",
      "@type": "xsd:string"
    },
    "TrackedBrand": "adspendspy:TrackedBrand",
    "id": {
      "@id": "adspendspy:id",
      "@type": "xsd:integer"
    },
    "page_id": {
      "@id": "adspendspy:page_id",
      "@type": "xsd:string"
    },
    "brand_name": {
      "@id": "adspendspy:brand_name",
      "@type": "xsd:string"
    },
    "brand_image": {
      "@id": "adspendspy:brand_image",
      "@type": "xsd:string"
    },
    "category": {
      "@id": "adspendspy:category",
      "@type": "xsd:string"
    },
    "likes": {
      "@id": "adspendspy:likes",
      "@type": "xsd:integer"
    },
    "verification": {
      "@id": "adspendspy:verification",
      "@type": "xsd:string"
    },
    "ig_username": {
      "@id": "adspendspy:ig_username",
      "@type": "xsd:string"
    },
    "ig_followers": {
      "@id": "adspendspy:ig_followers",
      "@type": "xsd:integer"
    },
    "created_at": {
      "@id": "adspendspy:created_at",
      "@type": "xsd:string"
    },
    "ad_count": {
      "@id": "adspendspy:ad_count",
      "@type": "xsd:integer"
    },
    "BrandSearchResult": "adspendspy:BrandSearchResult",
    "ad_brand_name": {
      "@id": "adspendspy:ad_brand_name",
      "@type": "xsd:string"
    },
    "ad_brand_image": {
      "@id": "adspendspy:ad_brand_image",
      "@type": "xsd:string"
    },
    "status": {
      "@id": "adspendspy:status",
      "@type": "xsd:string"
    },
    "display_name": {
      "@id": "adspendspy:display_name",
      "@type": "xsd:string"
    },
    "display_image": {
      "@id": "adspendspy:display_image",
      "@type": "xsd:string"
    },
    "AdSummary": "adspendspy:AdSummary",
    "internal_ad_id": {
      "@id": "adspendspy:internal_ad_id",
      "@type": "xsd:integer"
    },
    "ad_id": {
      "@id": "adspendspy:ad_id",
      "@type": "xsd:string"
    },
    "meta_ad_id": {
      "@id": "adspendspy:meta_ad_id",
      "@type": "xsd:string"
    },
    "ad_archive_id": {
      "@id": "adspendspy:ad_archive_id",
      "@type": "xsd:string"
    },
    "headline": {
      "@id": "adspendspy:headline",
      "@type": "xsd:string"
    },
    "body_text": {
      "@id": "adspendspy:body_text",
      "@type": "xsd:string"
    },
    "media_type": {
      "@id": "adspendspy:media_type",
      "@type": "xsd:string"
    },
    "thumbnail_url": {
      "@id": "adspendspy:thumbnail_url",
      "@type": "xsd:string"
    },
    "video_url": {
      "@id": "adspendspy:video_url",
      "@type": "xsd:string"
    },
    "landing_url": {
      "@id": "adspendspy:landing_url",
      "@type": "xsd:string"
    },
    "is_active": {
      "@id": "adspendspy:is_active",
      "@type": "xsd:integer"
    },
    "estimated_spend": {
      "@id": "adspendspy:estimated_spend",
      "@type": "xsd:string"
    },
    "estimated_spend_eu": {
      "@id": "adspendspy:estimated_spend_eu",
      "@type": "xsd:string"
    },
    "estimated_spend_usa": {
      "@id": "adspendspy:estimated_spend_usa",
      "@type": "xsd:string"
    },
    "spend_coverage": {
      "@id": "adspendspy:spend_coverage",
      "@type": "xsd:string"
    },
    "spend_model_version": {
      "@id": "adspendspy:spend_model_version",
      "@type": "xsd:integer"
    },
    "total_reach": {
      "@id": "adspendspy:total_reach",
      "@type": "xsd:integer"
    },
    "total_impressions": {
      "@id": "adspendspy:total_impressions",
      "@type": "xsd:integer"
    },
    "first_seen_at": {
      "@id": "adspendspy:first_seen_at",
      "@type": "xsd:string"
    },
    "last_seen_at": {
      "@id": "adspendspy:last_seen_at",
      "@type": "xsd:string"
    },
    "AdDetail": "adspendspy:AdDetail",
    "start_date": {
      "@id": "adspendspy:start_date",
      "@type": "xsd:string"
    },
    "end_date": {
      "@id": "adspendspy:end_date",
      "@type": "xsd:string"
    },
    "days_running": {
      "@id": "adspendspy:days_running",
      "@type": "xsd:integer"
    },
    "on_facebook": {
      "@id": "adspendspy:on_facebook",
      "@type": "xsd:integer"
    },
    "on_instagram": {
      "@id": "adspendspy:on_instagram",
      "@type": "xsd:integer"
    },
    "on_messenger": {
      "@id": "adspendspy:on_messenger",
      "@type": "xsd:integer"
    },
    "on_audience_network": {
      "@id": "adspendspy:on_audience_network",
      "@type": "xsd:integer"
    },
    "cta_text": {
      "@id": "adspendspy:cta_text",
      "@type": "xsd:string"
    },
    "cta_type": {
      "@id": "adspendspy:cta_type",
      "@type": "xsd:string"
    },
    "duration": {
      "@id": "adspendspy:duration",
      "@type": "xsd:integer"
    },
    "transcript": {
      "@id": "adspendspy:transcript",
      "@type": "xsd:string"
    },
    "estimated_reach_usa": {
      "@id": "adspendspy:estimated_reach_usa",
      "@type": "xsd:integer"
    },
    "Demographic": "adspendspy:Demographic",
    "country": {
      "@id": "adspendspy:country",
      "@type": "xsd:string"
    },
    "age_range": {
      "@id": "adspendspy:age_range",
      "@type": "xsd:string"
    },
    "gender": {
      "@id": "adspendspy:gender",
      "@type": "xsd:string"
    },
    "reach": {
      "@id": "adspendspy:reach",
      "@type": "xsd:integer"
    },
    "impressions": {
      "@id": "adspendspy:impressions",
      "@type": "xsd:integer"
    },
    "snapshot_at": {
      "@id": "adspendspy:snapshot_at",
      "@type": "xsd:string"
    },
    "LandingPage": "adspendspy:LandingPage",
    "total_spend": {
      "@id": "adspendspy:total_spend",
      "@type": "xsd:decimal"
    },
    "ads_count": {
      "@id": "adspendspy:ads_count",
      "@type": "xsd:integer"
    },
    "brands_count": {
      "@id": "adspendspy:brands_count",
      "@type": "xsd:integer"
    },
    "active_ads_count": {
      "@id": "adspendspy:active_ads_count",
      "@type": "xsd:integer"
    },
    "max_days_running": {
      "@id": "adspendspy:max_days_running",
      "@type": "xsd:integer"
    },
    "brand": {
      "@id": "adspendspy:brand"
    },
    "screenshot_url": {
      "@id": "adspendspy:screenshot_url",
      "@type": "xsd:string"
    },
    "screenshot_full_url": {
      "@id": "adspendspy:screenshot_full_url",
      "@type": "xsd:string"
    },
    "AdList": "adspendspy:AdList",
    "list_name": {
      "@id": "adspendspy:list_name",
      "@type": "xsd:string"
    },
    "description": {
      "@id": "adspendspy:description",
      "@type": "xsd:string"
    },
    "contains_ad": {
      "@id": "adspendspy:contains_ad",
      "@type": "xsd:boolean"
    },
    "updated_at": {
      "@id": "adspendspy:updated_at",
      "@type": "xsd:string"
    },
    "Project": "adspendspy:Project",
    "public_id": {
      "@id": "adspendspy:public_id",
      "@type": "xsd:string"
    },
    "project_name": {
      "@id": "adspendspy:project_name",
      "@type": "xsd:string"
    },
    "color": {
      "@id": "adspendspy:color",
      "@type": "xsd:string"
    },
    "brand_count": {
      "@id": "adspendspy:brand_count",
      "@type": "xsd:integer"
    },
    "contains_brand": {
      "@id": "adspendspy:contains_brand",
      "@type": "xsd:boolean"
    },
    "brands": {
      "@id": "adspendspy:brands",
      "@container": "@list"
    },
    "BrandListResponse": "adspendspy:BrandListResponse",
    "data": {
      "@id": "adspendspy:data",
      "@container": "@list"
    },
    "count": {
      "@id": "adspendspy:count",
      "@type": "xsd:integer"
    },
    "total_count": {
      "@id": "adspendspy:total_count",
      "@type": "xsd:integer"
    },
    "BrandSearchResponse": "adspendspy:BrandSearchResponse",
    "results": {
      "@id": "adspendspy:results",
      "@container": "@list"
    },
    "CheckTrackedResponse": "adspendspy:CheckTrackedResponse",
    "tracked": {
      "@id": "adspendspy:tracked"
    },
    "TrackBrandResponse": "adspendspy:TrackBrandResponse",
    "brand_id": {
      "@id": "adspendspy:brand_id",
      "@type": "xsd:integer"
    },
    "already_tracked": {
      "@id": "adspendspy:already_tracked",
      "@type": "xsd:boolean"
    },
    "reactivated": {
      "@id": "adspendspy:reactivated",
      "@type": "xsd:boolean"
    },
    "ingestion_state": {
      "@id": "adspendspy:ingestion_state",
      "@type": "xsd:string"
    },
    "AdListResponse": "adspendspy:AdListResponse",
    "ads": {
      "@id": "adspendspy:ads",
      "@container": "@list"
    },
    "pagination": {
      "@id": "adspendspy:pagination"
    },
    "summary": {
      "@id": "adspendspy:summary"
    },
    "meta": {
      "@id": "adspendspy:meta",
      "@type": "@id"
    },
    "AdDetailResponse": "adspendspy:AdDetailResponse",
    "ad": {
      "@id": "adspendspy:ad",
      "@type": "@id"
    },
    "demographics": {
      "@id": "adspendspy:demographics",
      "@container": "@list"
    },
    "TopAdsResponse": "adspendspy:TopAdsResponse",
    "TopLandingpagesResponse": "adspendspy:TopLandingpagesResponse",
    "AlertCountResponse": "adspendspy:AlertCountResponse",
    "IntegrationItem": "adspendspy:IntegrationItem",
    "event": {
      "@id": "adspendspy:event",
      "@type": "xsd:string"
    },
    "occurred_at": {
      "@id": "adspendspy:occurred_at",
      "@type": "xsd:string"
    },
    "spend_is_estimate": {
      "@id": "adspendspy:spend_is_estimate",
      "@type": "xsd:boolean"
    },
    "alert": {
      "@id": "adspendspy:alert"
    },
    "IntegrationItemListResponse": "adspendspy:IntegrationItemListResponse",
    "items": {
      "@id": "adspendspy:items",
      "@container": "@list"
    },
    "Webhook": "adspendspy:Webhook",
    "target_url": {
      "@id": "adspendspy:target_url",
      "@type": "xsd:string"
    },
    "platform": {
      "@id": "adspendspy:platform",
      "@type": "xsd:string"
    },
    "filters": {
      "@id": "adspendspy:filters"
    },
    "last_delivery_at": {
      "@id": "adspendspy:last_delivery_at",
      "@type": "xsd:string"
    },
    "last_success_at": {
      "@id": "adspendspy:last_success_at",
      "@type": "xsd:string"
    },
    "last_status": {
      "@id": "adspendspy:last_status",
      "@type": "xsd:string"
    },
    "WebhookCreated": "adspendspy:WebhookCreated",
    "webhook": {
      "@id": "adspendspy:webhook",
      "@type": "@id"
    },
    "secret": {
      "@id": "adspendspy:secret",
      "@type": "xsd:string"
    },
    "WebhookListResponse": "adspendspy:WebhookListResponse",
    "webhooks": {
      "@id": "adspendspy:webhooks",
      "@container": "@list"
    },
    "WebhookUnsubscribed": "adspendspy:WebhookUnsubscribed"
  },
  "@type": "schema:Dataset",
  "schema:name": "AdSpendSpy (Meta Ad Library Spend API) API JSON-LD context",
  "schema:description": "A JSON-LD @context for the objects AdSpendSpy (Meta Ad Library Spend API)'s own API contract declares: one class per component schema, one property per declared field, typed from the contract. Derived by script (derive-json-ld.py, 2026-10-27) from openapi/_original/adspendspy-api-openapi.json.",
  "dcterms:created": "2026-10-27",
  "dcterms:source": [
    "openapi/_original/adspendspy-api-openapi.json"
  ]
}