Get ads
get_adsList ads with their associated creative, filtered by ad set, campaign, or entire ad account. Filter by status and set result limits to review or manage Facebook and Instagram ad performance.
Instructions
Lists ads with their associated creative. Scope to a single ad set (adset_id), campaign (campaign_id), or list all ads in an ad account.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_ads"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max ads to return (default 25). | |
| status | No | Filter to only these ad statuses. | |
| adset_id | No | Restrict results to ads under this ad set. | |
| client_id | No | Client identifier from accounts.config.json. Resolves the ad account and token automatically. Omit to use account_id + the default META_ACCESS_TOKEN instead. | |
| account_id | No | Ad account id, e.g. "act_1234567890". Required if client_id is omitted or its config entry has no ad_account_id. | |
| campaign_id | No | Restrict results to ads under this campaign. |