AI Glossary · Letter T

Time Series.

A sequence of data points indexed in time order, where each observation is associated with a specific time point and the sequence captures how a quantity evolves over time. Time series analysis is used in marketing for sales forecasting, media spend optimization, campaign performance trending, demand planning, and detecting anomalies in campaign metrics, making it one of the most commercially important data types in quantitative marketing.

Also known as time-series data, temporal sequence, time-indexed data

What it is

A working definition of time series.

A time series consists of observations of a variable recorded at successive time points, typically at regular intervals. Daily website sessions, weekly media spend, monthly revenue, hourly ad impression counts, and quarterly customer lifetime values are all time series. The defining property is that observations are ordered in time and the temporal ordering is analytically informative: the sequence contains information about trend (systematic increases or decreases over time), seasonality (periodic patterns that repeat at regular intervals such as weekly or annual cycles), cyclical patterns (irregular longer-term fluctuations), and residual noise (random variation not explained by the other components).

Classical time series decomposition separates a time series into trend, seasonal, and residual components. Additive decomposition models the observed series as the sum of these components; multiplicative decomposition models it as their product, which is appropriate when seasonal fluctuations grow proportionally with the trend level. The Holt-Winters exponential smoothing method extends simple exponential smoothing to handle both trend and seasonality, providing a practical forecasting approach that is robust, computationally efficient, and interpretable. SARIMA (Seasonal ARIMA) models provide a more flexible framework for capturing complex autocorrelation structures in stationary time series through autoregressive (AR), integrated differencing (I), and moving average (MA) components at both seasonal and non-seasonal lags.

Machine learning approaches to time series forecasting include gradient boosted trees with lag features and calendar encodings, and neural sequence models including LSTMs and transformer-based temporal fusion transformers. Machine learning methods can incorporate external predictors (called exogenous variables or covariates) such as media spend, promotional status, and macroeconomic indicators more naturally than classical ARIMA models, enabling richer forecasting models that capture the impact of marketing actions on the time series being forecast. The tradeoff is that ML methods typically require more data and more careful feature engineering than classical methods to outperform them, and classical methods have stronger theoretical foundations for uncertainty quantification.

Why ad agencies care

Why time series analysis is the quantitative backbone of media planning, sales forecasting, and campaign performance management for agency clients.

A working ad agency building quarterly media plans, forecasting client sales targets, monitoring campaign delivery, or analyzing the impact of promotional events on sales outcomes is working with time series data throughout. Understanding the properties of time series data, the appropriate methods for analyzing and forecasting it, and the specific mistakes that arise from treating time series as cross-sectional data is fundamental to producing reliable quantitative analyses and forecasts that clients can act on.

Seasonal decomposition of media performance time series separates genuine underlying trend from seasonal fluctuation, enabling correct interpretation of period-over-period performance changes. A client whose Q4 CTR is 40% higher than Q3 CTR is not experiencing a genuine improvement in campaign effectiveness; they are experiencing the holiday-period seasonal lift that affects all advertisers in their category. Reporting this as a 40% performance improvement misleads the client about their campaign’s actual trajectory. Decomposing the performance series into trend and seasonal components allows the agency to report the trend-adjusted performance change: removing seasonal effects reveals whether the underlying campaign trajectory is improving, stable, or declining, which is the signal relevant for strategic media decisions.

Media mix models built on time series data require careful handling of multicollinearity between channel spend series that were scaled proportionally in the historical data. Advertisers often scale all channels together: when budgets increase, all channels receive proportional increases; when budgets decrease, all channels are cut proportionally. This produces highly correlated channel spend time series that are nearly indistinguishable from each other in the regression, making it impossible to estimate individual channel response coefficients reliably. Media mix models require periods of variation where channels move independently to estimate their individual contributions, and the absence of such variation in the historical data is a data quality limitation that constrains the reliability of MMM channel attribution estimates regardless of model sophistication.

Anomaly detection in campaign performance time series identifies delivery issues, data tracking problems, and competitive disruptions before they compound into material performance degradation. A systematic monitoring of daily campaign CTR, conversion rate, and cost-per-conversion time series that flags statistically significant deviations from the expected range (based on a model of normal variation that accounts for day-of-week and seasonal patterns) provides an automated early warning system for abnormal campaign behavior. A sudden CTR drop may indicate a creative serving issue or a website destination page error; a sudden cost-per-conversion increase may indicate a competitor bidding escalation or audience saturation. Detecting these anomalies 2 to 4 days earlier than manual monitoring enables the account team to investigate and remediate issues before they consume a significant fraction of the monthly budget.

In practice

What time series looks like inside a working ad agency.

An agency manages paid digital media for a specialty outdoor retailer client and is responsible for quarterly media budget recommendations. The client’s sales are highly seasonal: peak periods are May to August (summer camping and hiking season) and November to December (holiday gift giving), with significant troughs in January to February and September to October. The client asks whether paid media is driving incremental sales or merely capturing organic seasonal demand. The agency analyzes 4 years of weekly media spend and sales data using a time series decomposition and regression approach. First, the agency decomposes sales into trend, seasonal, and residual components using STL (Seasonal and Trend decomposition using Loess). Seasonal component analysis confirms the two peak periods and quantifies their magnitude: summer peaks are 1.8 times the annual average weekly sales; holiday peaks are 2.4 times the annual average. Trend component analysis shows 6.2% year-over-year growth in the seasonally adjusted sales baseline. Second, the agency builds a time series regression model (SARIMAX) that uses the residual component (after removing trend and seasonality) as the target and weekly media spend by channel as exogenous predictors. This regression estimates the marginal impact of each dollar of media spend on the seasonally and trend-adjusted sales residual, isolating the media effect from the organic seasonality. Channel response coefficients: paid search $4.20 incremental revenue per dollar of spend, social prospecting $2.80 per dollar, display retargeting $1.60 per dollar (the lowest, consistent with the incrementality concern). The agency recommends increasing paid search and social prospecting budgets by 15% each, funded by reducing display retargeting by 30%, and using the peak season periods for upper-funnel awareness investment that sustains the organic seasonal demand rather than merely capturing it.

Build the time series analysis expertise that powers media planning, sales forecasting, and campaign performance management through The Creative Cadence Workshop.

The generative AI foundations module covers time series decomposition, ARIMA and exponential smoothing forecasting methods, machine learning approaches to time series, and the specific analytical pitfalls of seasonality, multicollinearity, and temporal leakage in marketing time series modeling.