get_ad_schedules
Retrieve dayparting schedules and time-zone settings for a campaign. Returns each window's day, hours, and bid adjustment.
Instructions
Read a campaign's ad-schedule (dayparting) windows and their time-zone context.
Returns each window (day, from_hour/from_minute, to_hour/to_minute,
bid_adjustment) plus the campaign's time_zone and use_searcher_time_zone flag. When
use_searcher_time_zone is false, the hours run in the campaign time_zone; remove a
window with remove_ad_schedules using its criterion_id.
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": {
"campaign_id": "<campaign_id>"
},
"name": "get_ad_schedules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| campaign_id | Yes | The campaign id. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| schedules | No | ||
| time_zone | No | ||
| campaign_id | Yes | ||
| use_searcher_time_zone | No |