Campaigns

put/api/v2/campaigns/{id}/schedule

Request

  • Base URL: https://api.richads.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.richads.com/api/v2/campaigns/{id}/schedule
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

timezone'utc' | 'local' required

Timezone mode for date/time fields

dateFromstring date nullable

Campaign start date (YYYY-MM-DD)

dateTostring date nullable

Campaign end date (YYYY-MM-DD)

timeFromstring nullable

Daily start time (HH:MM)

timeTostring nullable

Daily end time (HH:MM)

Example request

{
  "timezone": "utc",
  "dateFrom": "2024-06-01",
  "dateTo": "2024-12-31",
  "timeFrom": "08:00",
  "timeTo": "22:00"
}

Response

Updated campaign schedule.

timezone'utc' | 'local'

Timezone mode

dateFromstring nullable

Campaign start date

dateTostring nullable

Campaign end date

timeFromstring nullable

Daily start time

timeTostring nullable

Daily end time

Example response

{
  "timezone": "utc",
  "dateFrom": "2024-06-01",
  "dateTo": "2024-12-31",
  "timeFrom": "08:00",
  "timeTo": "22:00"
}

Changes

No recorded changes to this operation across all 1 revision of this API.