Meta Ad Library Search Basic
按实际用量计费
ae_meta_ad_library_search_basic
按 Facebook 主页 ID 或公司名查询广告素材、投放平台和投放日期。可按国家、投放状态、日期或媒体类型筛选。使用返回的 nextCursor 翻页。
按实际用量计费
价格说明
满足(((查询响应 ≠ 未提供) 且 (查询计费标记 ≠ 未提供)) 且 (查询计费标记 > 0))时,本项费用1.8 AE积分;否则本项费用0 AE积分。 以上各项费用相加,得到本次调用的合计费用。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
request_body | object | 是 | 暂无参数说明。 | — |
request_body.cursor | string | 否 | Opaque pagination cursor from a previous response's nextCursor. | — |
request_body.pageId | string | 条件必填 | Company's Ad Library page ID. Provide either pageId or companyName. | — |
request_body.sortBy | enum (impressions | recent) | 否 | Sort order: impressions (highest first, the default) or recent (most recent). | — |
request_body.status | enum (ALL | ACTIVE | INACTIVE) | 否 | Ad status filter. Defaults to ACTIVE. | — |
request_body.country | string | 否 | Two-letter country code to scope results. Defaults to all countries. | — |
request_body.endDate | string | 否 | Filter to ads with impressions on or before this date, in YYYY-MM-DD format. | — |
request_body.language | string | 否 | Two-letter language code to filter ads (e.g. "EN", "ES", "FR"). | — |
request_body.mediaType | enum (ALL | IMAGE | VIDEO | MEME | IMAGE_AND_MEME | NONE) | 否 | Creative media type filter. | — |
request_body.startDate | string | 否 | Filter to ads with impressions on or after this date, in YYYY-MM-DD format. | — |
request_body.companyName | string | 条件必填 | Company name to search (e.g. "nike"). Exact-match and case-sensitive against the Meta Ad Library index; an advertiser with no indexed page returns found:false. | — |
调用示例
参数模板根据参数配置生成,使用前请替换示例值。
POST
/agent-api/v2/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v2/tool/execute?tool_name=ae_meta_ad_library_search_basic' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {
"request_body": {
"pageId": "15087023444",
"sortBy": "recent"
}
}
}'暂无返回示例。





