Conversion funnel
getFunnelConversion funnel for an account over a date range with per-stage drop-off: impressions → link clicks → landing page views → add to cart → checkout → purchase. Leads-mode accounts get the lead funnel instead.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"adAccountId": "<adAccountId>"
},
"name": "getFunnel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endDate | No | End date, YYYY-MM-DD (inclusive). Defaults to yesterday in the ad account's time zone. | |
| network | No | Ad network. Default "meta". "google" reads the Google Ads accounts (ids look like google:<n> in listAdAccounts). | |
| startDate | No | Start date, YYYY-MM-DD. Give both dates or neither (default: the last 7 complete days). Max 400 days. | |
| adAccountId | Yes | Which account to query: the numeric ROAZ ad account id, a Meta act_ id, or a client name (fuzzy-matched). Required. |