Execute Microsoft Ads bulk query
ms_ads_execute_bulk_queryExecute a Microsoft Ads bulk query for one account, returning JSON Lines (every line is a JSON object): the first line is a JSON Schema of the columns (carrying a "metadata":"schema" marker), then one JSON object per row with autodetected value types. This is an entity/configuration snapshot with no date range or aggregation, as opposed to time-bound performance metrics.
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": {
"accountId": "<accountId>",
"report": "<report>",
"columns": "<columns>"
},
"name": "ms_ads_execute_bulk_query"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| report | Yes | Microsoft Ads bulk report name. | |
| columns | Yes | Report columns to select. | |
| accountId | Yes | TrueClicks account id (the numeric Id field from the account listing, not the Microsoft customer id / ClientCustomerId). Must be a Microsoft account accessible by the connector. |