gam_targeting_keys
List and search custom targeting keys to resolve names or codes to IDs and check which keys are reportable for reporting.
Instructions
MODE: read-only. UI: Inventory → Key-values. List/search the network's custom targeting keys (key-values): id, code (adTagName), display name, type (PREDEFINED/FREEFORM), status, and REPORTABILITY. reportableType is GAM's own value: ON = usable via the KEY_VALUES_NAME dimension; CUSTOM_DIMENSION = usable as its OWN report dimension (CUSTOM_DIMENSION__VALUE, passing this key id to gam_run_report custom_dimension_key_ids); OFF = not in reports at all. reportableVia spells out which. value-level reporting. OUTPUT: key rows; ids feed gam_targeting_values, forecast custom_targeting, and key-value reporting. WHEN TO USE: resolving a key name/code to its id; checking which keys are reportable.
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_targeting_keys"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Default 50. | |
| search | No | Substring match on code (adTagName) or display name. | |
| status | No | ||
| page_token | No | Continue a previous listing. | |
| network_code | No |