Set a campaign ad schedule
Replaces a campaign's whole ad schedule with the blocks you pass. Google has no way to edit one block, so the old schedule is removed and the new one created in the same atomic change. Use when: the user wants the campaign to run only at certain times, or to bid differently at certain times, and you have looked at google_get_hourly_performance so the decision is based on something. Do not use when: the campaign has little data. Turning ads off for two-thirds of the week on a hunch is the fastest way to make a campaign stop learning, and a Smart Bidding campaign already handles time of day itself — a schedule then mostly removes volume. Any day you do not list becomes a day the campaign does not serve. The preview says exactly which days go dark. Hours are in the account timezone. Blocks may not overlap and may not cross midnight; a 22:00–02:00 window is two blocks on two days. If you are unsure which account, campaign or period the user means, ask them — do not guess ids or dates.
Request
- Base URL: https://adako.ai
- URL: https://adako.ai/api/v1/tools/google_set_ad_schedule/execute
- Auth: HTTP bearer
Headers
Optional 8-128 character key. A successful envelope is cached for 24 hours; replaying the key with the same arguments returns it again with Idempotent-Replayed: true, and replaying it with different arguments answers 409.
Request body
Response
The tool ran. A write returns proposal_id and approve_url while the change waits for approval.
Changes
No recorded changes to this operation across all 1 revision of this API.