Get Campaign Marginal Returns
get_campaign_marginal_returnsRetrieve channel-derived marginal returns for campaigns or ad sets from a fitted marketing mix model to assess spend efficiency and guide budget decisions.
Instructions
Read channel-derived marginal returns for campaigns or ad sets. Requires read:models.
Campaign response shapes inherit the fitted channel shape, rescaled by observed spend share and relative efficiency. These are not independently measured campaign saturation curves or causal campaign effects. Daily spend is observed spend divided by inclusive calendar days, not a configured platform budget or a daily revenue forecast.
Args: model_hash: Owned, completed MMM with compatible curve provenance and campaign facts. start, end: Inclusive observation-window ISO dates (YYYY-MM-DD). level: campaign or adset; ad sets inherit the campaign's channel.
Returns {context_key, window, currency, minor_digits, channels: [{channel, current_daily_spend, status, reason}], rows, provenance}. Rows carry composite identity, method and marginal-return evidence. Missing or incompatible currency, curve basis or fact coverage makes recommendations unavailable; do not substitute defaults. Missing posterior marginal evidence means no uncertainty interval, not zero uncertainty. This reads existing evidence only: no fit, posterior job or platform change is started.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | ||
| level | No | campaign | |
| start | Yes | ||
| model_hash | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||