get_price_rules
Retrieve all pricing rules configured for a site, including ad unit, country, device, eCPM, and impression data, to analyze ad performance.
Instructions
Get all price (pricing) rules configured for a site.
Returns an array of rule objects with fields such as ad_unit, country, device, ecpm, impressions, match_rate, desired_match_rate, revenue, rule, state and utm_source.
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": {
"domain": "<domain>"
},
"name": "get_price_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | Site domain, e.g. 'example.com' | |
| network_code | No | GAM network code for the domain. Optional — if omitted, the server falls back to the ACTIVEVIEW_NETWORK_CODE environment variable. |