Communications: campaign forecast, sending limits and pacing
- Forecast.
POST /campaigns/{id}/compileand/schedulereturnforecast(estimated_completion_at,limiting_cap, thecapsused,enforced) andwarnings(will_take_hours,will_span_multiple_days). Callcompilefirst to see the audience size and the time before you schedule. - Pacing. The campaign list, detail and report carry
pacing:not_started,running,waiting_for_cap(with thereason,burst,hourly,daily,acct_hourlyoracct_daily, andresumes_at),doneorstopped. A campaign waiting for a limit is not stuck: it continues by itself when the hour or day rolls over. The report addssentandremaining. - A campaign that can never be sent is refused.
400 CAMPAIGN_CANNOT_COMPLETE(reason:too_longorcap_zero) when, at your limits, it would take longer than the maximum (7 days). Only when limits are enforced for campaigns; until thenforecast.enforcedisfalseand nothing changes.
Documentation changed