Skip to content
AdlyseDocs
Product guideMCP reference
⌘K
Open Adlyse
⌘K
Overview
QuickstartAuthentication
adlyse-insights
adlyse-ads
list_ad_accountsget_platform_supportget_ad_creation_capabilitiesget_ad_build_specupdate_ad_build_speclist_ad_plansget_ad_plan_publicationget_ad_planimport_ad_to_planimport_live_ad_to_plancreate_ad_plan_variantsadd_ad_plan_variantsupdate_ad_plan_groupgroup_ad_plansget_ad_plan_groupfreeze_ad_plan_grouppublish_ad_plan_groupcreate_ad_plancreate_ad_edit_planupdate_ad_planattach_ad_plan_assetfill_ad_plan_slotsfreeze_ad_planpublish_ad_planresolve_ad_publish_steplist_campaignsget_performancelist_change_eventslist_adsget_ad_performancelist_creative_librarylist_experimentsget_experimentpause_experimentresume_experimentstop_experimentpause_creative_adsupdate_ad_group_statusupdate_ad_statusupdate_campaign_statusupdate_campaign_budgetlist_swipe_filesave_competitor_ad_to_swipe_filesave_creative_to_swipe_fileremix_from_swipe_filestart_creative_jobresize_creativemake_variants_of_winnerget_creative_jobestimate_creative_batchstart_creative_batchbatch_to_plan_groupget_creative_batchsnapshot_catalog_productsgenerate_ad_copylist_ad_copycreate_creative_conceptrequest_creative_reviewget_creative_review
adlyse-workflows
adlyse-admin
adlyse-all
  1. Overview
  2. adlyse-ads

list_ad_accounts

List every connected ad account in your organization, across every connected ad platform, with sync and connection status. Every other tool in this server takes an ad_account_id — use the returned id.

This is the same tool exposed by adlyse-insights, so a client connected to adlyse-ads alone can discover accounts without another server.

Parameters#

NameTypeRequiredDefaultDescription
platformstring?nonullOnly this platform’s accounts: google_ads, meta_ads, microsoft_ads, chatgpt_ads, applovin_ads, universal_ads or tiktok_ads. Omit to list all.

Returns#

json
{
  "ad_accounts": [
    {
      "id": "ad_acct_abc123",
      "platform": "google_ads",
      "external_account_id": "1234567890",
      "account_name": "Acme Corp",
      "currency_code": "USD",
      "timezone": "America/New_York",
      "is_active": true,
      "connection_status": "connected_active",
      "sync_status": "success",
      "last_synced_at": "2026-04-22T14:03:11.942Z"
    }
  ],
  "count": 1,
  "source": "adlyse.ad_accounts@v1"
}
FieldTypeDescription
ad_accounts[].idstringAdlyse id; pass to other tools
ad_accounts[].platformstring"google_ads", "meta_ads", "microsoft_ads", or "chatgpt_ads"
ad_accounts[].external_account_idstringPlatform’s own id (Google customer id, Meta act_…, etc.)
ad_accounts[].account_namestringFriendly name from the platform
ad_accounts[].connection_statusstringconnected_active, connected_inactive, or disconnected
ad_accounts[].sync_statusstringpending, syncing, success, or error
ad_accounts[].last_synced_atstring?ISO-8601 of the most recent successful sync; null if never synced
countintad_accounts.length
sourcestringProvenance tag

Errors#

error_typeWhen
auth_errorMissing / invalid / revoked API key

See also#

  • list_campaigns — drill into an account’s campaigns.
  • get_performance — aggregate metrics for an account.
  • adlyse-insights.get_dashboard_snapshot — Adlyse’s judgments for an account.
Previousadlyse-adsNextget_platform_support