List ads for an advertiser
Returns a paginated list of ads for the requested page-centric advertiser. In this first MVP iteration, advertiserId resolves directly from the Facebook page id.
Authorization
publicApiBearer Provide a Trendtrack Public API key using Authorization: Bearer <api_key>.
In: header
Path Parameters
Public advertiser identifier. Current MVP uses the Facebook page id directly.
Query Parameters
251 <= value <= 10000 <= value"desc""asc" | "desc""newest""newest" | "createdAt" | "longestRunning" | "reach" | "duplicates""all""all" | "image" | "video""all""all" | "active" | "inactive"Response Body
application/json
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://loading/v1/advertisers/61554990830184/ads"{
"requestId": "5d93d8de-0f6d-46a4-bd10-2e519b7e96bc",
"data": [
{
"id": "facebook_123456789",
"platform": "facebook",
"status": "active",
"createdAt": "2026-04-18T12:30:00.000Z",
"firstSeenAt": "2026-04-10T00:00:00.000Z",
"lastSeenAt": "2026-04-19T00:00:00.000Z",
"daysRunning": 9,
"media": {
"type": "video",
"thumbnailUrl": "https://cdn.example.com/ads/ad-1-thumb.jpg",
"mediaUrl": "https://cdn.example.com/ads/ad-1.mp4"
},
"advertiser": {
"id": "1234567890",
"name": "Example Brand",
"facebookPageId": "1234567890"
},
"content": {
"title": "Summer Sale",
"body": "Up to 30% off selected products.",
"transcript": "Voiceover transcript",
"landingPageUrl": "https://example.com/products/summer-sale"
},
"metrics": {
"duplicates": 4,
"reach": 152340
}
}
],
"pagination": {
"limit": 25,
"offset": 0,
"total": 128
}
}{
"error": {
"code": "missing_api_key",
"message": "Provide an API key using Authorization: Bearer <api_key>.",
"requestId": "5d93d8de-0f6d-46a4-bd10-2e519b7e96bc"
}
}{
"error": {
"code": "missing_api_key",
"message": "Provide an API key using Authorization: Bearer <api_key>.",
"requestId": "5d93d8de-0f6d-46a4-bd10-2e519b7e96bc"
}
}{
"error": {
"code": "missing_api_key",
"message": "Provide an API key using Authorization: Bearer <api_key>.",
"requestId": "5d93d8de-0f6d-46a4-bd10-2e519b7e96bc"
}
}{
"error": {
"code": "missing_api_key",
"message": "Provide an API key using Authorization: Bearer <api_key>.",
"requestId": "5d93d8de-0f6d-46a4-bd10-2e519b7e96bc"
}
}{
"error": {
"code": "missing_api_key",
"message": "Provide an API key using Authorization: Bearer <api_key>.",
"requestId": "5d93d8de-0f6d-46a4-bd10-2e519b7e96bc"
}
}Query ads POST
Returns the advanced public ads query surface. This endpoint supports the full current ads filtering set through a public camelCase contract with structured JSON for advanced growth, country, market, and ranking filters while keeping the response aligned with the standard public ad summary shape.
Get advertiser detail GET
Returns the page-centric advertiser detail. In this first MVP iteration, advertiserId resolves directly from the Facebook page id.