# Marketing Contribution Return - Rolling Mean Report

> Marketing Contribution Return - Rolling Mean Report is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-18).

Calculates trailing full-window rolling means over a series of marketing contribution return observations, preserving gaps for invalid rows, and returns a JSON report with formula, units, and limitations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-finance-marketing-return-rolling?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/marketing-contribution-return-rolling-mean-report-abf199e6
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_4IFrQf_LvWgrqg48-Zfw_

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability marketing-contribution-return-rolling-mean-report-abf199e6 -d '<json body>'
```

Example prompt: Can you compute a rolling mean report for my marketing contribution return data using a window of 3? Here are my rows: spend $5000 / contribution $8000, spend $5500 / contribution $8800, spend $6000 / contribution $9000, spend $5200 / contribution $8400.

## When to prefer this

Use this endpoint when you need a statistical rolling mean (moving average) specifically for the marketing contribution return metric over an ordered time series, with proper handling of incomplete windows and invalid-row gaps. Prefer this over a generic batch calculator when you need the trailing full-window smoothing behavior and want the result annotated with formula, units, and limitations in JSON format. Not suitable for live data feeds, financial advice, or trade execution.

## Known failure modes

- Fewer than 2 rows supplied — minimum row count not met
- Window size exceeds number of rows — no full windows can be computed
- marketing_spend value is zero or negative — exclusiveMinimum constraint violated
- Row object missing required fields (attributed_contribution or marketing_spend)
- Values exceed maximum bounds (1,000,000,000,000) — validation error
- More than 200 rows supplied — maxItems exceeded
- Window integer outside range 2–200 — schema validation failure

## How this service works

Marketing contribution return - Rolling mean report: Calculate trailing full-window means over ordered observations, preserving invalid-row gaps. Metric: Marketing contribution return. Supplied figures only; returns JSON with formula, units and limitations. One of 50 calculators with 20 analysis modes. No live feed, financial advice or trade execution. 0.01 USDC includes one bounded rolling mean report report.

## Output

A JSON object containing the trailing full-window rolling mean values for the marketing contribution return metric across the supplied observation rows, along with the formula used, units, and stated limitations of the calculation. Rows that fall within incomplete windows (before the full window is reached) are represented as gaps/nulls.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "attributed_contribution",
     "marketing_spend"
    ],
    "properties": {
     "marketing_spend": {
      "type": "number",
      "default": 5000,
      "maximum": 1000000000000,
      "minimum": 0,
      "description": "Amount in a consistent supplied currency and reporting period",
      "exclusiveMinimum": 0
     },
     "attributed_contribution": {
      "type": "number",
      "default": 8000,
      "maximum": 1000000000000,
      "minimum": -1000000000000,
      "description": "Amount in a consistent supplied currency and reporting period"
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "marketing_spend": 5000,
     "attributed_contribution": 8000
    },
    {
     "marketing_spend": 5500,
     "attributed_contribution": 8800
    },
    {
     "marketing_spend": 5000,
     "attributed_contribution": 8000
    },
    {
     "marketing_spend": 5500,
     "attributed_contribution": 8800
    }
   ],
   "maxItems": 200,
   "minItems": 2
  },
  "window": {
   "type": "integer",
   "default": 2,
   "maximum": 200,
   "minimum": 2
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/marketing-contribution-return-rolling-mean-report-abf199e6/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
