One ad from the Meta Ad Library
facebook_ads_getOne Meta Ad Library ad with its details panel (EU reach by age and gender, payer, beneficiary).
One ad by its Ad Library id or URL (facebook.com/ads/library/?id=…): the ad as search shows it, plus ad_details, the library’s “See ad details” panel: advertiser page info, EU/UK transparency (target ages, gender and locations, total reach, reach by country, age band and gender), payer and beneficiary. country scopes the panel (default ALL). Ad ids of finished campaigns can disappear from the library: target_not_found.
Cost: 2 credits per call, refunded automatically if the call fails. Read-only, public data only. Results include cost_credits and credits_remaining.
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_ads_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Ad Library id, or its facebook.com/ads/library/?id=… URL. | |
| country | No | ISO 3166-1 alpha-2 country the ads reached (US, GB, DE…), or ALL (default). |