POST
/v1/ads-sheet/schedules
Requires sync:write. Creates a schedule, disabled, at revision 1, with one to ten accounts of the workspace’s own selection, all Google Ads or all Microsoft Advertising (invalid_schedule for a mix). The destination must be active, with room left, and must hold its grant, and takes only the provider of the schedules already on it (destination_conflict otherwise; a schedule changes provider only by moving to another destination). The schedule plans an export only once enabled and only when every account has published heads for the whole window (nothing is extracted by this route).
Select media type application/json Exactly these fields; the workspace comes from the current API key. No timezone, token, spreadsheet ID or due time is accepted.
object string
/^[A-Za-z0-9_-]{1,128}$/
minIntervalMinutes required
One to ten distinct accounts, each a live Google Ads or Microsoft Advertising selection of the workspace, all of one provider.
Array<object>
>= 1 items <= 10 items unique items
object string
/^[A-Za-z0-9_-]{1,128}$/
providerAccountId required
A ten-digit Google Ads customer id, without dashes, or a Microsoft Advertising account id (1 to 19 digits, no leading zero). Which one it is is the selected account’s to say.
string
/^(?:[0-9]{10}|[1-9][0-9]{0,18})$/
Create a disabled Ads Sheet schedule.
Select media type application/json object string
/^[A-Za-z0-9_-]{1,128}$/
string
/^[A-Za-z0-9_-]{1,128}$/
minIntervalMinutes required
The number of accounts named.
integer
>= 1 <= 10
invalid_request, invalid_json, invalid_schedule.
Select media type application/json object object string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule accounts_unavailable destination_unavailable schedule_conflict sheet_capacity_exhausted schedule_not_found schedule_inactive export_not_found redrive_conflict
error
object code
Allowed values: invalid_request invalid_json invalid_schedule
error
object code
Allowed values: invalid_request invalid_json invalid_schedule unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found accounts_unavailable method_not_allowed destination_conflict destination_unavailable schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable
Select media type application/json object object string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule accounts_unavailable destination_unavailable schedule_conflict sheet_capacity_exhausted schedule_not_found schedule_inactive export_not_found redrive_conflict
error
object code
Allowed value: unauthorized
error
object code
Allowed values: invalid_request invalid_json invalid_schedule unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found accounts_unavailable method_not_allowed destination_conflict destination_unavailable schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable
WWW-Authenticate required
string
Allowed value: Bearer
forbidden, destination_permission_required, workspace_paused (the workspace is paused), subscription_lapsed (the paid term has ended).
Select media type application/json object object string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule accounts_unavailable destination_unavailable schedule_conflict sheet_capacity_exhausted schedule_not_found schedule_inactive export_not_found redrive_conflict
error
object code
Allowed values: forbidden destination_permission_required schedule_inactive workspace_paused subscription_lapsed
error
object code
Allowed values: invalid_request invalid_json invalid_schedule unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found accounts_unavailable method_not_allowed destination_conflict destination_unavailable schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable
destination_not_found, accounts_unavailable.
Select media type application/json object object string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule accounts_unavailable destination_unavailable schedule_conflict sheet_capacity_exhausted schedule_not_found schedule_inactive export_not_found redrive_conflict
error
object code
Allowed values: destination_not_found accounts_unavailable schedule_not_found export_not_found not_found
error
object code
Allowed values: invalid_request invalid_json invalid_schedule unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found accounts_unavailable method_not_allowed destination_conflict destination_unavailable schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable
Select media type application/json object object string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule accounts_unavailable destination_unavailable schedule_conflict sheet_capacity_exhausted schedule_not_found schedule_inactive export_not_found redrive_conflict
error
object code
Allowed value: method_not_allowed
error
object code
Allowed values: invalid_request invalid_json invalid_schedule unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found accounts_unavailable method_not_allowed destination_conflict destination_unavailable schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable
string
Allowed value: POST
destination_conflict, destination_unavailable, schedule_conflict, sheet_capacity_exhausted.
Select media type application/json object object string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule accounts_unavailable destination_unavailable schedule_conflict sheet_capacity_exhausted schedule_not_found schedule_inactive export_not_found redrive_conflict
error
object code
Allowed values: destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed destination_unavailable schedule_conflict sheet_capacity_exhausted redrive_conflict
error
object code
Allowed values: invalid_request invalid_json invalid_schedule unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found accounts_unavailable method_not_allowed destination_conflict destination_unavailable schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable
Select media type application/json object object string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule accounts_unavailable destination_unavailable schedule_conflict sheet_capacity_exhausted schedule_not_found schedule_inactive export_not_found redrive_conflict
error
object code
Allowed value: request_too_large
error
object code
Allowed values: invalid_request invalid_json invalid_schedule unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found accounts_unavailable method_not_allowed destination_conflict destination_unavailable schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable
unsupported_media_type, unsupported_encoding.
Select media type application/json object object string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule accounts_unavailable destination_unavailable schedule_conflict sheet_capacity_exhausted schedule_not_found schedule_inactive export_not_found redrive_conflict
error
object code
Allowed values: unsupported_media_type unsupported_encoding
error
object code
Allowed values: invalid_request invalid_json invalid_schedule unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found accounts_unavailable method_not_allowed destination_conflict destination_unavailable schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable
rate_limited — the key’s or its workspace’s per-plan request allowance for this route’s class is used up.
It is answered after authentication, on every API-key operation in this document and on MCP, and never on /health. A download link is
limited the same way, after its lookup, by the key that issued it and the export’s workspace.
Retry-After is the window in seconds and RateLimit-Limit is the limit of the bucket that refused. No remaining
count is returned. The limits themselves are not published here.
Select media type application/json object error
object code
Allowed value: rate_limited
Select media type application/json object object string
Allowed values: not_found invalid_request invalid_json unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found method_not_allowed destination_conflict destination_creation_unconfirmed sheet_layout_conflict sheet_verification_failed request_too_large unsupported_media_type unsupported_encoding provider_auth_failed provider_unavailable credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable invalid_schedule accounts_unavailable destination_unavailable schedule_conflict sheet_capacity_exhausted schedule_not_found schedule_inactive export_not_found redrive_conflict
error
object code
Allowed values: credential_configuration_unavailable credential_unavailable credential_busy provider_rate_limited automation_unavailable
error
object code
Allowed values: invalid_request invalid_json invalid_schedule unauthorized forbidden destination_permission_required workspace_paused subscription_lapsed destination_not_found accounts_unavailable method_not_allowed destination_conflict destination_unavailable schedule_conflict sheet_capacity_exhausted request_too_large unsupported_media_type unsupported_encoding automation_unavailable