List an advertiser's ads
get_page_adsList the ads of one advertiser (competitor), newest and most relevant first.
Cost: 1 credit per call, whatever the number of ads returned (an empty result too);
an error costs 0. The next page is a new call (1 credit).
Args:
page_id: Numeric advertiser page ID (use search_pages to find it from a brand name).
country: ISO-3166 alpha-2 country or 'ALL' (default).
status: 'active' (default), 'inactive' or 'all'.
media_type: 'all', 'image', 'video', 'meme' or 'none'.
platforms: Subset of facebook, instagram, messenger, audience_network, threads.
languages: ISO-639-1 language codes.
active_from: YYYY-MM-DD.
active_to: YYYY-MM-DD.
sort: 'relevance' (default), 'impressions' (most impressions first) or 'longevity'
(longest-running first: days_active, applied to the returned page).
min_days_active: Keep only ads running for at least this many days (applied to the
returned page, so fewer ads may come back; same cost). Long-running ads are
the ones that work ("winning ads"): each ad has days_active and a 0-100
winning_score (longevity, variants, EU reach).
limit: Ads per page, 1-30 (default 10).
cursor: next_cursor from a previous call, to get the next page (same filters).
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": "get_page_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sort | No | relevance | |
| limit | No | ||
| cursor | No | ||
| status | No | active | |
| country | No | ALL | |
| page_id | Yes | ||
| active_to | No | ||
| languages | No | ||
| platforms | No | ||
| media_type | No | all | |
| active_from | No | ||
| min_days_active | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |