Meta Ad Library Search
每次成功搜索 32.5 积分
ae_meta_ad_library_search
按关键词、地区或广告主查询 Meta 广告资料库。结果包含匹配广告的文案、图片或视频、广告主主页及投放状态等可用信息。
每次成功搜索 32.5 积分
价格说明
搜索成功扣 32.5 积分,搜索失败不收费。
工具参数
未传入的可选参数将使用平台默认值。
| 参数 | 类型 | 必填 | 说明 | 默认值 |
|---|---|---|---|---|
q | string | 否 | 暂无参数说明。 | — |
ad_type | enum (all | political_and_issue_ads | housing_ads | employment_ads | financial_products_and_services_ads) | 否 | 暂无参数说明。 | — |
country | enum (ALL | AF | AL | DZ | AS | AD | AO | AI | AQ | AG | AR | AM | AW | AU | AT | AZ | BS | BH | BD | BB | BY | BE | BZ | BJ | BM | BT | BO | BQ | BA | BW | BV | BR | IO | BN | BG | BF | BI | CV | KH | CM | CA | KY | CF | TD | CL | CN | CX | CC | CO | KM | CG | CD | CK | CR | HR | CW | CY | CZ | CI | DK | DJ | DM | DO | EC | EG | SV | GQ | ER | EE | ET | FK | FO | FJ | FI | FR | GF | PF | TF | GA | GM | GE | DE | GH | GI | GR | GL | GD | GP | GU | GT | GG | GN | GW | GY | HT | HM | VA | HN | HK | HU | IS | IN | ID | IQ | IE | IM | IL | IT | JM | JP | JE | JO | KZ | KE | KI | KR | XK | KW | KG | LA | LV | LB | LS | LR | LY | LI | LT | LU | MO | MK | MG | MW | MY | MV | ML | MT | MH | MQ | MR | MU | YT | MX | FM | MD | MC | MN | ME | MS | MA | MZ | MM | NA | NR | NP | NL | AN | NC | NZ | NI | NE | NG | NU | NF | MP | NO | OM | PK | PW | PS | PA | PG | PY | PE | PH | PN | PL | PT | PR | QA | RO | RU | RW | RE | BL | SH | KN | LC | MF | PM | VC | WS | SM | ST | SA | SN | RS | SC | SL | SG | SX | SK | SI | SB | SO | ZA | GS | SS | ES | LK | SR | SJ | SZ | SE | CH | SY | TW | TJ | TZ | TH | TL | TG | TK | TO | TT | TN | TR | TM | TC | TV | UG | UA | AE | GB | US | UM | UY | UZ | VU | VE | VN | VG | VI | WF | EH | YE | ZM | ZW | AX) | 否 | Parameter defines the country where the ads were shown. It's a two-letter country code (e.g., `US` for the United States, or `DE` for Germany), or `ALL` (default) for all countries. Head to the Meta Ad Library countries page for a full list of supported countries. | — |
page_id | string | 否 | Parameter defines the Facebook page ID of the advertiser whose ads you want to get (e.g., `15087023444` for Nike). Page IDs are available in `page_id` of the ads in the results. Either q or page_id should be set. They can also be used together to get the advertiser's ads that match the keyword. | — |
sort_by | enum (most_recent | impressions_high_to_low | impressions_low_to_high) | 否 | 暂无参数说明。 | — |
end_date | string | 否 | Parameter defines the last day of the date range of the ads, in the `YYYY-MM-DD` format (e.g., `2026-03-31`). | — |
media_type | enum (all | image | meme | image_and_meme | video | none) | 否 | Parameter defines the type of media of the ads. It defaults to `all`. Available options: `all` - All media types `image` - Images `meme` - Memes `image_and_meme` - Images and memes `video` - Videos `none` - No image or video | — |
start_date | string | 否 | Parameter defines the start of the date range of the ads, in the `YYYY-MM-DD` format (e.g., `2026-01-01`). Like the Ad Library's impressions by date filter, it returns the ads shown during the date range, whenever they started running. It can't be in the future. | — |
search_type | enum (keyword_unordered | keyword_exact_phrase) | 否 | Parameter defines the type of keyword search. It can be set to `keyword_unordered` (default) to search for the words of the query in any order, or `keyword_exact_phrase` to search for the query as an exact phrase. | — |
active_status | enum (active | inactive | all) | 否 | Parameter defines whether the ads are still running. It defaults to `active`. Available options: `active` - Active ads `inactive` - Inactive ads `all` - Active and inactive ads | — |
next_page_token | string | 否 | 暂无参数说明。 | — |
content_languages | string | 否 | Parameter defines the languages of the ads. It's a comma-separated list of two-letter language codes (e.g., `en` for English, or `en,es` for English and Spanish). It defaults to all languages. | — |
publisher_platforms | string | 否 | 暂无参数说明。 | — |
调用示例
参数模板根据参数配置生成,使用前请替换示例值。
POST
/agent-api/v1/tool/executeX-Api-Key请求代码request.sh
curl --request POST \
--url 'https://agentearth.ai/agent-api/v1/tool/execute?tool_name=ae_meta_ad_library_search' \
--header "X-Api-Key: $AGENTEARTH_API_KEY" \
--header 'Content-Type: application/json' \
--data-raw '{
"params": {}
}'暂无返回示例。






