List an advertiser's ads
ads_page_adsMeta Ad Library API: List an advertiser's ads. The ads of one advertiser page, with the same filters as search. Every ad carries days_active and winning_score (see Search ads for the formula); min_days_active and sort=longevity work as in search. Price: 5 credits per call; failed calls are free. Paginated: pass pagination.next_cursor as cursor for the next page (each page is a new call).
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": {
"page_id": "<page_id>"
},
"name": "ads_page_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | Order. `longevity` puts the longest-running ads of the page first. | relevance |
| limit | No | Ads per page (max 30, one page of the source) | |
| cursor | No | `pagination.next_cursor` of the previous page | |
| status | No | Ad status | active |
| country | No | Two-letter country code or `ALL` | ALL |
| page_id | Yes | Advertiser page ID | |
| media_type | No | Creative type | all |
| min_days_active | No | Keep only ads running for at least this many days (applied to the returned page, same price) |