Actions119
- Analyze Search Terms
- Analyze Wasted Spend
- Explain Performance Anomaly
- Get Benchmark Context
- Get Business Profile
- Get Campaign Performance
- Get Campaign Structure
- Get Campaign Targeting
- Get Pmax Audience Signals
- Get Pmax Search Themes
- Get Usage Status
- Help User Upload
- Infer Business Profile
- List Campaign Extensions
- List Campaigns
- Optimize Budget Allocation
- Pause Ad
- Pause Campaign
- Remove Pmax Audience Signal
- Resume Ad
- Resume Campaign
- Save Business Profile
- Search Audiences
- Select Google Campaign Type
- Update Bid Strategy
- Update Campaign
- Update Keyword
- Validate Video
- Analyze Meta Ad Performance
- Analyze Meta Audiences
- Analyze Meta Wasted Spend
- Browse Meta Targeting
- Detect Meta Creative Fatigue
- Discover Meta Assets
- Duplicate Meta Campaign
- Explain Meta Anomaly
- Get Meta Ad Creatives
- Get Meta Audience Insights
- Get Meta Campaign Details
- Get Meta Campaign Performance
- Get Meta Lead Form Submissions
- List Meta Ad Sets
- List Meta Ads
- List Meta Campaigns
- List Meta Custom Audiences
- List Meta Instagram Accounts
- List Meta Lead Forms
- List Meta Pixels
- Optimize Meta Budget
- Optimize Meta Placements
- Pause Meta Campaign
- Resume Meta Campaign
- Select Meta Campaign Type
- Update Meta Ad
- Update Meta Campaign
- Add Linkedin Creative
- Add Linkedin Text Creative
- Add Linkedin Video Creative
- Analyze Linkedin Creative Performance
- Analyze Linkedin Wasted Spend
- Associate Linkedin Conversion
- Delete Linkedin Creative
- Discover Linkedin Assets
- Explain Linkedin Anomaly
- Explain Linkedin Objectives
- Generate Linkedin Ad Creatives
- Get Linkedin Campaign Performance
- Get Linkedin Campaign Structure
- Get Linkedin Campaign Targeting
- Get Linkedin Engagement Metrics
- Get Linkedin Organizations
- List Linkedin Campaign Groups
- List Linkedin Campaigns
- List Linkedin Conversions
- List Linkedin Creatives
- Manage Linkedin Conversions
- Optimize Linkedin Budget
- Pause Linkedin Campaign
- Pause Linkedin Creative
- Resume Linkedin Campaign
- Resume Linkedin Creative
- Search Linkedin Targeting
- Select Linkedin Campaign Type
- Update Linkedin Campaign Budget
- Update Linkedin Campaign Group
- Update Linkedin Campaign Schedule
- Update Linkedin Creative
- Analyze Tiktok Geo Performance
- Analyze Tiktok Wasted Spend
- Detect Tiktok Creative Fatigue
- Discover Tiktok Assets
- Explain Tiktok Anomaly
- Get Tiktok Ad Performance
- Get Tiktok Audience Insights
- Get Tiktok Campaign Details
- Get Tiktok Campaign Performance
- List Tiktok Ad Groups
- List Tiktok Ads
- List Tiktok Campaigns
- Optimize Tiktok Budget
- Pause Tiktok Ad
- Pause Tiktok Ad Group
- Pause Tiktok Campaign
- Resume Tiktok Ad
- Resume Tiktok Ad Group
- Resume Tiktok Campaign
- Update Tiktok Campaign
- Audit Conversion Tracking
- Delete Monitor
- Get Connections Status
- Get Monitor History
- Get Research Status
- List Connected Accounts
- List Monitors
- List Pending Actions
- List Scheduled Tasks
- Manage Action
- Manage Scheduled Task
- Test Monitor
Analyze Meta Ad Performance
AI-generatedSummary
Analyze ad performance metrics for Meta Ads campaigns, optionally filtered by campaign and date range, returning aggregate or raw data for reporting or further processing.
Inputs
- Ad Account Id (required) — The Meta Ad Account ID to analyze.
- Campaign Id — Optional filter to analyze a specific campaign by its ID.
- Date Range — Predefined date range presets such as 'last_7_days', 'last_14_days', 'last_30_days', 'last_60_days', or 'last_90_days'.
- Start Date — Custom start date for analysis in YYYY-MM-DD format.
- End Date — Custom end date for analysis in YYYY-MM-DD format.
- Include Video Metrics — Boolean flag to include video completion metrics (25%, 50%, 75%, 100% watched) in the results; defaults to true.
- Limit — Maximum number of ads to return; defaults to 100, with a maximum of 200.
- Lookback Days — Number of days to analyze (7, 14, 30, 60, or 90); optional alternative to date range presets.
- Offset — Number of ads to skip for pagination, defaulting to 0.
- Raw Data — If true, returns only raw metrics as a JSON code block (including spend, clicks, impressions, conversions, CPA, CPC, CTR, CVR, ROAS by campaign/ad/date); defaults to false.
Output shape
a JSON object containing aggregated ad performance metrics or raw metric data depending on the 'Raw Data' flag
If 'Raw Data' is set to true, the output is limited strictly to raw metrics in JSON format; otherwise, summary-level analytics with video metrics (if enabled) and pagination controls apply.
Examples
Example 1: Analyze all Meta Ads campaigns in a specific account over the last 30 days including video metrics
Set 'Platform' to Meta Ads, fill 'Ad Account Id', set 'Lookback Days' to 30, and keep 'Include Video Metrics' enabled.
Example 2: Retrieve raw data for a specific Meta Ads campaign with a custom date range
Set 'Platform' to Meta Ads, provide 'Ad Account Id' and 'Campaign Id', set 'Start Date' and 'End Date', and enable 'Raw Data'.