gam_diagnose_line_item
Diagnose why a Google Ad Manager line item is not delivering by checking status, flight, approval, creatives, targeting, pacing, and recent changes, then returning a verdict and likely causes.
Instructions
MODE: read-only, composite. UI: Delivery → Delivery tools. One-call troubleshooting of 'why is this line item not delivering (properly)': lifecycle status, flight window, order approval state, creative associations + expected-size coverage, targeting presence, pacing verdict, and who changed it in the last 7 days. Pass include_forecast=true to also run an inventory/contention forecast (costs forecast quota; READY/DELIVERING/DELIVERY_EXTENDED items only). OUTPUT: verdict (BROKEN = a cannot-serve blocker exists, IMPAIRED = warnings only, HEALTHY) + likely_causes + per-check detail + checks_skipped when sub-lookups failed. WHEN TO USE: any 'line item X is not serving / under-delivering, why?' question. For deeper follow-ups use gam_get_line_item, gam_line_item_creatives, gam_check_pacing, gam_change_history.
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": {
"line_item_id": "<line_item_id>"
},
"name": "gam_diagnose_line_item"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| line_item_id | Yes | The GAM line item id. | |
| network_code | No | ||
| include_forecast | No | Also run a contention forecast (default false — uses forecast quota). |