meta_ads_list_ads

List Meta Ads

Meta

Description

List ads for a Meta ad account with ad set filtering, status, name search, single/multi-ad lookup by ID, and pagination. Each ad includes a Landing URL when available (extracted from object_story_spec, link_url, or asset_feed_spec depending on ad format). A "Landing Page URLs" summary section at the end of the response lists all unique destination URLs found — use this to quickly answer landing page questions without reading every ad. Set include_assets=true to include resolved creative media URLs (adds latency for cache misses). Entities may include _stored_preferences and optionally recent activities.

Read-onlyIdempotentOpen-world

Usage

{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "meta_ads_list_ads",
    "arguments": {
      "account_id": "123456789",
      "reason": "List ads"
    }
  }
}
hopkin meta ads list
FlagTypeRequiredDescription
--accountstringRequiredThe ad account ID (with or without act_ prefix)
--adstringOptionalGet a specific ad by ID. When provided, returns only that ad and ignores other filters/pagination.
--ad-idsarrayOptionalGet multiple ads by ID. Mutually exclusive with ad_id. When provided, ignores other filters/pagination.
--adsetstringOptionalFilter by ad set ID
--searchstringOptionalSearch ads by name (case-insensitive partial match)
--statusarrayOptionalFilter by ad status: ACTIVE, PAUSED, DELETED, ARCHIVED
--limitintegerOptionalNumber of ads per page (default: 20, max: 100)
--cursorstringOptionalPagination cursor from previous response
--refreshbooleanOptionalForce fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.
--include-activitiesbooleanOptionalInclude recent activity log (last 7 days of changes) for each entity
--include-assetsbooleanOptionalInclude resolved creative asset URLs (asset_url, thumbnail_url, asset_type) for each ad. Uses cached GCS URLs when available.
{
  "mcpServers": {
    "meta-ads": {
      "url": "https://mcp.hopkin.ai/meta-ads/mcp",
      "transport": "sse"
    }
  }
}
  • List all
  • Filter by ad set
  • Filter by status
  • Get by ID
  • Get multiple by IDs
  • Search by name
  • With asset URLs

Parameters

NameTypeRequiredDescription
account_id string Required The ad account ID (with or without act_ prefix)minLength: 1
reason string Required Why this tool call is neededminLength: 1, maxLength: 500
Optional parameters (10)
NameTypeRequiredDescription
ad_id string Optional Get a specific ad by ID. When provided, returns only that ad and ignores other filters/pagination.minLength: 1
ad_ids array Optional Get multiple ads by ID. Mutually exclusive with ad_id. When provided, ignores other filters/pagination.
adset_id string Optional Filter by ad set IDminLength: 1
search string Optional Search ads by name (case-insensitive partial match)minLength: 1
status array Optional Filter by ad status: ACTIVE, PAUSED, DELETED, ARCHIVED
limit integer Optional Number of ads per page (default: 20, max: 100)min: 1, max: 100
cursor string Optional Pagination cursor from previous responseminLength: 1
refresh boolean Optional Force fresh data from Meta API instead of using cache. Defaults to false (cache-first). Only set to true when you need real-time data.
include_activities boolean Optional Include recent activity log (last 7 days of changes) for each entity
include_assets boolean Optional Include resolved creative asset URLs (asset_url, thumbnail_url, asset_type) for each ad. Uses cached GCS URLs when available.

Examples

List all

{
  "account_id": "123456789",
  "reason": "List ads"
}

hopkin meta ads list --account 123456789

Filter by ad set

{
  "account_id": "123456789",
  "adset_id": "23842453456789",
  "reason": "List ads in ad set"
}

hopkin meta ads list --account 123456789 --adset 23842453456789

Filter by status

{
  "account_id": "123456789",
  "status": [
    "ACTIVE",
    "PAUSED"
  ],
  "reason": "List active/paused ads"
}

hopkin meta ads list --account 123456789 --status ACTIVE,PAUSED

Get by ID

{
  "account_id": "123456789",
  "ad_id": "23842453456789",
  "reason": "Get specific ad"
}

hopkin meta ads list --account 123456789 --ad 23842453456789

Get multiple by IDs

{
  "account_id": "123456789",
  "ad_ids": [
    "23842453456789",
    "23842453456790"
  ],
  "reason": "Get specific ads"
}

hopkin meta ads list --account 123456789 --ad-ids 23842453456789,23842453456790

Search by name

{
  "account_id": "123456789",
  "search": "Summer",
  "reason": "Find summer ads"
}

hopkin meta ads list --account 123456789 --search Summer

With asset URLs

{
  "account_id": "123456789",
  "include_assets": true,
  "reason": "List ads with creative assets"
}

hopkin meta ads list --account 123456789 --include-assets true