CampaignDuration

  • Campaigns can have their duration defined either by a specific date range or by a number of days.

  • The date_range field requires dates in yyyy-mm-dd format, must be inclusive, the end date must be less than one year in the future, and the range must be 92 days or less.

  • The duration_in_days field accepts an integer value representing the campaign's duration in days.

  • The date_range and duration_in_days fields are mutually exclusive and cannot be used together.

The duration of a planned campaign.

Fields

date_range

DateRange

Date range of the campaign. Dates are in the yyyy-mm-dd format and inclusive. The end date must be < 1 year in the future and the date range must be <= 92 days long.

This field cannot be combined with the duration_in_days field.

duration_in_days

int32

The duration value in days.

This field cannot be combined with the date_range field.