Meta Ads / API Reference
meta_ads_pdf
Meta Ads tool. Generate a complete Meta Ads PDF report saved to disk. Creates an A3 landscape dark-themed PDF with KPI summary, daily trend chart, platform distribution donut, demographics bar chart, and campaign performance table. Returns the path to the saved PDF file. Args: start_date: YYYY-MM-DD. Defaults to 28 days ago. end_date: YYYY-MM-DD. Defaults to today. account_id: Ad account ID. Leave blank to use META_AD_ACCOUNT_ID from .env. output_path: Full path for the PDF. Defaults to ~/Desktop/meta_report_YYYYMMDD.pdf
This is a read-only tool: it returns pdf for your Meta Ads account. It changes nothing.
Ask Claude
You do not call this tool yourself. Ask for the outcome and the client picks the tool:
Pdf in my Meta Ads account.
It takes 0 required and 4 optional parameters.
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
start_date | string | No | Start Date |
end_date | string | No | End Date |
account_id | string | No | Account Id |
output_path | string | No | Output Path |
Related Meta Ads tools
meta_ads_ab_test_resultsmeta_ads_account_change_historymeta_ads_account_diagnosticsmeta_ads_account_spending_limitmeta_ads_admeta_ads_ad_account
Before you can call it
This tool needs a connected Meta Ads account. The Meta Ads connect guide covers the OAuth flow and the permissions it asks for, and the quickstart gets a client talking to the server in about five minutes.
Workflows that use this
Rather than calling tools one at a time, these skills run a whole procedure against the same account: