facebook: Ad details
facebook_adAd details. One ad from the Meta Ad Library by its archive id. Meta does not expose the archive as an addressable node for every ad; pass page_id as well and we find it by scanning that advertiser's archive instead. Costs 1 credit.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "facebook_ad"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Ad archive id, or an Ad Library URL containing `?id=` | |
| country | No | Reached country used by the fallback scan | US |
| page_id | No | The advertiser's page id. Enables the archive-scan fallback. | |
| cache_max_age | No |