Skip to Content

List ads (adsap_list_ads)

Platform: Meta · Read or write: Read · Plan: All plans · Consumes a task: No · Preview supported: No

What it does

Lists every ad inside one Meta ad set or campaign, read live from Meta, including ads created today that have not delivered yet. With the text option it returns only the ads whose primary texts, headlines or descriptions contain a phrase, each with the matching texts and its complete current texts, ready to edit.

When to use it

  • Use it to see every ad in an ad set or campaign. Views built on results miss ads with no delivery yet; this one does not.
  • Pass exactly one of ad_set_id or campaign_id, plus the ad_account_id.
  • Pass text to find the ads that say something, for example an old offer you want to change. Every version of the text is searched, including carousel cards and Flexible ads.
  • Upper and lower case are ignored. Emojis and punctuation must match exactly, so “1,900+” does not find “1900+”.
  • One call searches up to 500 ads. When meta.has_next is true, the assistant searches the rest with after.
  • To change the text it found in several ads, the assistant uses adsap_replace_ad_text. For one ad, it edits that ad’s current_texts and sends them to adsap_replace_ad_creative, preview first.

Worked example

You ask

“Which ads in ad set 120210000000001 still say ‘1,900+’?”

The assistant calls adsap_list_ads

{ "ad_account_id": "act_1234567890", "ad_set_id": "120210000000001", "text": "1,900+" }

Adsap returns

The field names are the ones Adsap returns. The values are examples.

{ "ok": true, "data": { "ads": [ { "id": "120210000000000", "name": "Spring sale, video 1", "status": "ACTIVE", "effective_status": "ACTIVE", "created_time": "2026-11-12T12:03:00+0000", "updated_time": "2026-11-12T12:03:00+0000", "adset_id": "120210000000001", "campaign_id": "120210000000002", "creative_id": "120210000000006", "creative_thumbnail_url": null, "text_matches": [ { "field": "primary_text", "text": "Loved by 1,900+ customers. Shop the spring sale." } ], "current_texts": { "primary_texts": [ "Our spring collection is here.", "Loved by 1,900+ customers. Shop the spring sale." ], "headlines": ["Spring sale"], "descriptions": [] } } ] }, "meta": { "parent_type": "ad_set", "parent_id": "120210000000001", "ad_account_id": "act_1234567890", "text": "1,900+", "count": 1, "searched_count": 12, "has_next": false, "paging_after": null, "source": "meta_live" }, "human_readable_summary": "1 of the 12 ads searched in ad set 120210000000001 contains \"1,900+\"." }

How to read it

Only the ads that contain the phrase come back. text_matches shows which text matched; a match in a carousel card also carries its card number. current_texts holds the ad’s complete text lists. To change “1,900+” to “2,000+” in one ad, the assistant edits these lists and sends them to adsap_replace_ad_creative, preview first; for several ads it uses adsap_replace_ad_text. A match that is not in current_texts (a carousel card, a Flexible ad, a catalog ad, an ad made from an existing post) cannot be changed that way.

Without text, the answer lists every ad with the same fields, minus text_matches and current_texts. When the text of some ads could not be read, meta.not_searchable lists them.

Parameters

Descriptions are shortened from the tool schema. Your assistant sees the full text.

NameTypeRequiredDescription
ad_account_idstringYesAd account ID (act_xxx) the ad set or campaign belongs to. Required. Scopes the request and anchors the Meta budget check.
ad_set_idstringNoAd set ID (numeric) to list the ads of. Pass exactly one of ad_set_id or campaign_id.
campaign_idstringNoCampaign ID (numeric) to list the ads of (across all its ad sets). Pass exactly one of ad_set_id or campaign_id.
effective_statusarray of stringNoOptional 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).
textstringNoOptional phrase to search for in the ads’ primary texts, headlines and descriptions (all variants). Only the ads that contain it are returned, each with the matching texts and its complete current texts. Case is ignored; emojis and punctuation must match exactly.
limitnumberNoWithout text: max ads to return per page. Default 50, max 100. With text: the search stops after the page of 100 ads on which it has found at least this many matching ads (default 50).
afterstringNoPagination cursor from a previous response’s meta.paging_after, to fetch the next page.

Example prompts

  • “List all the ads in my Spring sale campaign, including the new ones.”
  • “Which ads in this ad set still mention free shipping?”
  • “Find every ad that says ‘1,900+’ and change it to ‘2,000+’. Show me the before and after first.”

Notes

On catalog ads the headline is usually Meta’s {{product.name}} placeholder, which Meta fills with each product’s name when the ad shows, so a search for a product name finds nothing.

  • adsap_get_instant_form: Read ONE Meta Instant Form in full: questions, intro, privacy policy and custom disclaimer, thank-you screen, tracking parameters, status…
  • adsap_manage_instant_form: Create, duplicate, archive or reactivate a Meta Instant Form: the lead form people fill in without leaving Facebook or Instagram.
  • adsap_search_detailed_targeting: Search Meta detailed targeting the way Ads Manager’s search box does: interests, behaviors AND demographics (job titles, employers…

Guide

Read AI Copilot usage for the workflow around this tool, and the Tool reference for every tool.

The Meta Ads MCP server  page shows how to connect Meta Ads to Claude, ChatGPT or Perplexity.

Last updated on