compare_periods
Compare advertising metrics between two consecutive periods, showing current, prior, delta, and % change for account or campaign scope.
Instructions
Compare the last days days vs the immediately preceding days days.
Returns each metric's current, prior, delta, and % change. report_type:
account (default) or campaign/keyword/etc. for the totals scope.
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": {
"account_id": "<account_id>"
},
"name": "compare_periods"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| account_id | Yes | ||
| report_type | No | account |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||