leads_quality_diagnose
Works out where a campaign loses lead quality and what to change, from the numbers and complaints supplied. Takes up to a minute. Amounts are in the ad account's own currency, in whole units (not cents or micros). AI: 1 AI request. May return a job_id (get_job_result).
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": {
"campaign_name": "<campaign_name>",
"platform": "<platform>"
},
"name": "leads_quality_diagnose"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cpa | No | Actual cost per lead. | |
| ctr | No | CTR in percent. | |
| spend | No | Spend over the period. | |
| clicks | No | Clicks over the period. | |
| platform | Yes | ||
| client_id | No | Client id; when given, the result is saved as a report. | |
| target_cpa | No | Target cost per lead. | |
| conversions | No | Conversions over the period. | |
| campaign_name | Yes | Campaign name. | |
| lead_complaints | No | What is wrong with the leads, in the client's words. | |
| landing_page_url | No | Landing page URL. |