List Ads
adsap_list_adsList ALL ads inside an ad set or a campaign, live from Meta — including ads created today that have no delivery yet (which insights-based views miss). Pass exactly ONE of ad_set_id or campaign_id. Returns each ad's id, name, status, effective_status, created_time and creative id. Use this to enumerate ads before duplicating an ad set, auditing what exists, or picking an ad_id for adsap_get_ad / adsap_get_ad_status / adsap_replace_ad_creative. Deleted/archived ads are excluded unless you ask for them via effective_status.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Pagination cursor from a previous response's meta.paging_after, to fetch the next page. | |
| limit | No | Max ads to return per page. Default 50, max 100. | |
| ad_set_id | No | Ad set ID (numeric) to list the ads of. Pass exactly one of ad_set_id or campaign_id. | |
| campaign_id | No | Campaign ID (numeric) to list the ads of (across all its ad sets). Pass exactly one of ad_set_id or campaign_id. | |
| ad_account_id | Yes | Ad account ID (act_xxx) the ad set or campaign belongs to. Required — scopes the request and anchors the Meta budget check. | |
| effective_status | No | Optional server-side filter on effective_status. Common values: ACTIVE, PAUSED, ADSET_PAUSED, CAMPAIGN_PAUSED, PENDING_REVIEW, DISAPPROVED, WITH_ISSUES, IN_PROCESS, ARCHIVED, DELETED. Omit to get every non-deleted ad (Meta's default excludes DELETED and ARCHIVED). |