Facebook 广告详情(完整版) API
获取 Meta 广告资料库中的一条广告及其创意:每个轮播变体、图片和视频 URL、标题、正文和行动号召。
US$3.74/千次请求,按请求付费,无需订阅。
Trailhead Outdoors
Active · Sponsored
Built from 20D ripstop nylon, the Wren 2 tent weighs 2.1 lbs and sets up in under 90 seconds. Backed by our lifetime warranty.
trailheadoutdoors.com
Free returns within 60 days. Ships in 2 to 3 business days.
Ad details
- Status
- Active
- Started running on
- August 16, 2025
- Library ID
- 1185617869915074
{"adArchiveId": "1185617869915074","sourceUrl": "https://www.facebook.com/ads/library/?id=1185617869915074","pageId": "281940573310482","pageName": "Trailhead Outdoors","pageUrl": "https://www.facebook.com/trailheadoutdoors","pageImage": "https://scontent.fbcdn.net/trailhead-profile.jpg","active": true,"startedUtc": 1755302400,... 还有 18 个字段}
价格
Facebook 广告详情(完整版) API 价格
试一试
一个请求获取 Facebook 广告详情(完整版)
这个示例展示了 44 个字段中的 25 个。查看全部字段
{
"found": true,
"data": {
"adArchiveId": "1185617869915074",
"sourceUrl": "https://www.facebook.com/ads/library/?id=1185617869915074",
"pageId": "281940573310482",
"pageName": "Trailhead Outdoors",
"pageUrl": "https://www.facebook.com/trailheadoutdoors",
"pageImage": "https://scontent.fbcdn.net/trailhead-profile.jpg",
"active": true,
"startedUtc": 1755302400,
"endedUtc": 1758758400,
"displayFormat": "DCO",
"title": "The 3 season tent that packs to a water bottle",
"body": "Built from 20D ripstop nylon, the Wren 2 tent weighs 2.1 lbs and sets up in under 90 seconds. Backed by our lifetime warranty.",
"caption": "trailheadoutdoors.com",
"linkUrl": "https://trailheadoutdoors.com/products/wren-2-tent",
"linkDescription": "Free returns within 60 days. Ships in 2 to 3 business days.",
"ctaText": "Shop Now",
"ctaType": "SHOP_NOW",
"platforms": [
"facebook",
"instagram"
],
"pageCategories": [
"Product/service",
"Outdoor recreation"
],
"pageLikes": 22400,
"isReshared": false,
"pageDeleted": false,
"categories": [
"Uncategorized"
]
}
}完整的参数与响应参考:这个接口的每个字段、类型和示例。
参考
一个请求,一种响应结构。
你发送的每个字段和收到的每个字段,都附有真实示例。
最近验证于 2026-11-14 · 可用率和延迟按 30d 统计
请求体
JSON,POST 到这个接口。
- idstring
1185617869915074
Meta 广告资料库的广告 ID,即广告资料库 URL 中的数字 ID(例如从 https://www.facebook.com/ads/library/?id=962050096457659 中取 "962050096457659")。
响应
JSON,每个字段一个示例值。
- activeboolean
true
Whether the ad is currently running.
- adArchiveIdstring
1185617869915074
Ad Library archive ID (stable identity). Populated whenever the provider has data for the entity.
- bodystring
Built from 20D ripstop nylon, the Wren 2 tent weighs 2.1 lbs and sets up in under 90 seconds. Backed by our lifetime warranty.
Ad body text. Populated whenever the provider has data for the entity.
- captionstring
trailheadoutdoors.com
Display caption, usually the destination domain.
- categoriesstring[]
Ad Library categories the ad is filed under.
- ctaTextstring
Shop Now
Call-to-action label (e.g. "Shop now").
- ctaTypestring
SHOP_NOW
Call-to-action type (e.g. "SHOP_NOW").
- displayFormatstring
DCO
Ad creative format (e.g. "DPA", "VIDEO", "IMAGE"). Populated whenever the provider has data for the entity.
- endedUtcnumber
1758758400
Run end, or last-seen date while the ad is still running. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- isResharedboolean
false
Whether the ad creative is a reshare of another post.
- linkDescriptionstring
Free returns within 60 days. Ships in 2 to 3 business days.
Secondary link description line.
- linkUrlstring
https://trailheadoutdoors.com/products/wren-2-tent
Creative destination URL.
- pageCategoriesstring[]
Categories Facebook lists the advertising page under.
- pageDeletedboolean
false
Whether the advertising page has been deleted.
- pageIdstring
281940573310482
Advertiser page ID (stable identity). Populated whenever the provider has data for the entity.
- pageImagestring
https://scontent.fbcdn.net/trailhead-profile.jpg
Advertiser page profile picture URL. Meta CDN URLs are signed and expire.
- pageLikesinteger
22400
Like count of the advertising page.
- pageNamestring
Trailhead Outdoors
Advertiser page name. Populated whenever the provider has data for the entity.
- pageUrlstring
https://www.facebook.com/trailheadoutdoors
Advertiser page URL.
- platformsstring[]
Publisher platforms the ad runs on.
- sourceUrlstring
https://www.facebook.com/ads/library/?id=1185617869915074
Inspectable Meta Ad Library URL for this ad. Populated whenever the provider has data for the entity.
- startedUtcnumber
1755302400
Run start. UTC epoch timestamp in seconds (Unix time). Multiply by 1000 for a JS Date in milliseconds.
- titlestring
The 3 season tent that packs to a water bottle
Creative headline. Dynamic-product ads return a template such as "{{product.name}}".
One entry per creative variant of a carousel or dynamic ad, in the order Meta returns them. Single-creative ads return an empty array and carry their media in images/videos. Meta CDN media URLs are signed and expire, so fetch what you need at read time.
- bodystring
Variant body text.
- captionstring
Variant display caption.
- ctaTextstring
Variant call-to-action label.
- ctaTypestring
Variant call-to-action type.
- imagestring
Original creative image URL.
- imageResizedstring
Resized creative image URL.
- linkDescriptionstring
Variant secondary description.
- linkUrlstring
Variant destination URL.
- titlestring
Variant headline.
- videoPreviewImagestring
Poster frame for the creative video.
- videoUrlstring
Creative video URL (HD when supplied, otherwise SD).
Standalone creative images for a single-image ad. Meta CDN media URLs are signed and expire.
- imagestring
Original creative image URL.
- imageResizedstring
Resized creative image URL.
Standalone creative videos for a single-video ad. Meta CDN media URLs are signed and expire.
- videoPreviewImagestring
Poster frame for the creative video.
- videoUrlstring
Creative video URL (HD when supplied, otherwise SD).
- foundboolean
true
- reason"not_found"
Present only when `found` is false, and says why there is no result. `not_found`: the source states the target does not exist, or returned nothing for it. A `found: false` answer is a successful call, not an error, and `costUsd` is what it actually cost.
常见问题
关于 Facebook 广告详情(完整版) API
AnyAPI 的 Facebook 广告详情(完整版) API 只需一次 POST 请求 /v1/run/facebook.ad_details_full,就以统一格式的 JSON 返回 Facebook 数据。获取 Meta 广告资料库中的一条广告及其创意:每个轮播变体、图片和视频 URL、标题、正文和行动号召。无论哪个数据源提供服务,AnyAPI 都返回同一套统一的 schema。费用:每千次请求 US$3.74 起,以美元计价,无需订阅,也没有每月最低消费。过去 30 天,通过 AnyAPI 发起的 Facebook 广告详情(完整版) API 调用中有 99.6% 成功,响应时间中位数为 8.1 秒,共测量 727 次调用。