PPC: Query raw dataset
ppc_queryFULL-fidelity row-level query over any raw PPC dataset (see ppc_describe): column projection, filters (eq/neq/gt/gte/lt/lte/in/contains), date bounds, ordering, limit ≤1000 + offset — page with offset until a short page to retrieve complete datasets. This is the path for daily time series below account level, SB/SD keyword-level data, and anything the shaped ppc_* readers cap. Profile tenancy enforced automatically.
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": {
"dataset_key": "<dataset_key>"
},
"name": "ppc_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| offset | No | ||
| columns | No | ||
| date_to | No | ||
| filters | No | ||
| order_by | No | ||
| date_from | No | ||
| order_dir | No | ||
| profile_id | No | Which advertising profile (see account_profiles). Optional when the token has exactly one. | |
| dataset_key | Yes |