Skip to content
AdlyseMCP Docs
Product guideMCP reference
⌘K
Open Adlyse
⌘K
Overview
QuickstartAuthentication
adlyse-insights
adlyse-reports
adlyse-ads
list_campaignsget_performancelist_adsget_ad_performancelist_change_eventsupdate_campaign_statusupdate_campaign_budget
adlyse-workflows
adlyse-adminadlyse-all
  1. Overview
adlyse-ads

adlyse-ads

Endpoint: https://mcp.adlyse.com/mcp/ads/

Unified cross-platform reads and gated writes over campaigns and ads. Reads hit Adlyse’s platform-normalized data table, so the response shape is identical across every connected ad platform (Google Ads, Meta Ads, Microsoft Ads, ChatGPT Ads). Writes hit the live platform adapters and auto-register a DecisionLogEntry so get_impact_analysis can correlate future metric shifts with what you just did.

Tools#

Reads#

ToolPurpose
list_campaignsDistinct campaigns for an account
get_performanceAggregated metrics over a date range, optionally grouped
list_adsDistinct ads (creatives) — drill-down from campaign to ad
get_ad_performancePer-ad metric aggregation over a date range
list_change_eventsCampaign / ad-set / creative changes picked up by sync
list_creative_libraryThe org’s persisted creatives — copy, media URLs, 30d rollups
list_experimentsAutonomous creative experiments (A/B tests), newest first
get_experimentOne experiment with arms + final report

Writes (preview-safe)#

ToolPurpose
update_campaign_statusPause / resume / remove a campaign
update_campaign_budgetChange daily budget (Google via automatic budget-resource lookup, Meta, Microsoft)
update_ad_group_statusPause / resume an ad group (Meta: ad set)
update_ad_statusPause / resume a single ad (Google / Meta)

Experiment control (user-bound credential required)#

These writes must be attributable to a person: connect via OAuth or use a personal API key. Organization API keys get error_type: "user_credential_required".

ToolPurpose
pause_experimentPause a running experiment
resume_experimentResume a paused experiment (window extends by the pause)
stop_experimentStop before conclusion (irreversible; restores source entity)

Every write tool accepts preview: true for a local-only diff that doesn’t call the platform. Apply with preview: false; on success, Adlyse creates a DecisionLogEntry automatically.

Source tags#

  • adlyse.ads_campaigns@v1
  • adlyse.ads_performance@v1
  • adlyse.ads_ads@v1
  • adlyse.ads_ad_performance@v1
  • adlyse.ads_change_events@v1
  • adlyse.ads_writes@v1

Common errors#

error_typeTypical cause
auth_errorMissing / invalid API key
not_foundAd account / campaign / ad isn’t in your org or hasn’t been synced yet
validation_errorBad status enum, malformed dates, unsupported metric, empty inputs
unsupported_for_platformPlatforms without a write adapter (e.g. TikTok) or operations a platform doesn’t support
credentials_missingAd account has no linked OAuth credentials; reconnect the account
platform_errorThe platform API rejected the write — no decision is logged on failure
Previouslist_report_targetsNextlist_campaigns