gam_ad_rules
Inspect video ad rules and ad spots to audit break configuration, pod impression caps, break positions, and allowed ad durations.
Instructions
MODE: read-only. UI: Video → Ad rules. How video ad breaks are configured. kind=rules lists ad rules (status, priority, flight, frequency-cap behavior, per-stream and per-pod impression caps, and which break positions are configured — preroll / midrolls / postroll); kind=spots lists AD SPOTS (break templates: max ads, min/max ad duration, total duration, flexible/custom flags, allowed line item types, backfill and inventory-sharing blocks). OUTPUT: rule or spot rows. WHEN TO USE: video demand setup questions — 'how many ads are allowed in a break', 'which rule applies here', pod/break configuration audits.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "gam_ad_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Default rules. | |
| limit | No | Default 50. | |
| search | No | Substring match on the display name. | |
| status | No | kind=rules: exact status filter, e.g. ACTIVE. | |
| page_token | No | Continue a previous listing. | |
| network_code | No |