AdlyseAdlyseMCP Docs
⌘K
Overview
adlyse-insights
list_ad_accountsget_dashboard_snapshotget_impact_analysislist_guidelinesget_guideline
adlyse-reports
list_report_templateslist_reportsget_reportgenerate_reportlist_report_targets
adlyse-ads
list_campaignsget_performancelist_adsget_ad_performancelist_change_eventsupdate_campaign_statusupdate_campaign_budget
adlyse-workflows
list_workflowsget_workflowrun_workflowget_run_status
  1. Overview/
  2. adlyse-insights

list_ad_accounts

List every connected ad account in your organization, across Google Ads, Meta Ads, and TikTok Ads, with sync and connection status. Use the returned id as the ad_account_id argument for the other tools in this server (and in adlyse-ads).

Parameters#

None.

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", or "tiktok_ads"
ad_accounts[].external_account_idstringPlatform’s own id (Google customer id, Meta act_…, TikTok id)
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

Example#

Request: no parameters.

Response:

json
{
  "ad_accounts": [
    {
      "id": "ad_acct_wNkoZfSpRtL8oCNVAveYHe3o",
      "platform": "google_ads",
      "external_account_id": "1234567890",
      "account_name": "Phunware",
      "currency_code": "USD",
      "timezone": "America/Los_Angeles",
      "is_active": true,
      "connection_status": "connected_active",
      "sync_status": "success",
      "last_synced_at": "2026-04-22T10:30:00Z"
    }
  ],
  "count": 1,
  "source": "adlyse.ad_accounts@v1"
}

See also#

  • get_dashboard_snapshot — pull the judgments for one of these accounts.
  • adlyse-ads.list_campaigns — drill into an account’s campaigns.
←Previous
adlyse-insights
Next→
get_dashboard_snapshot