Skip to main content
POST
Facebook Ad Library Ad API

广告详情

采集一个公共广告网址的广告素材、页面、媒体、投放状态和时间数据。

请求示例

与 MCP 一起使用

使用上面的 JSON 请求正文作为 socq_execute 的嵌套 input 对象,或将相同的字段直接传递给Typed 工具。Typed 工具还接受 _wait_seconds_result_limit_idempotency_key
成功的采集将返回 task_id。继续 socq_get_task 直到任务成功,然后从 results.items 读取规范化记录。
有关完整的提交和轮询流程,请参阅MCP 快速入门 一项任务接受一个广告 URL,并最多生成一条标准化广告记录。

任务完成响应

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

请求体

application/json
url
string
必填

A public content or product URL.

Minimum string length: 1

响应

200 - application/json

Task accepted

code
integer
data
object