mmp_fetch_cohorts
Fetch and persist cohort rows for one app under one MMP connection. WRITE — call is SYNCHRONOUS and can take 30-60s (Meta calls AppsFlyer in the same thread; loopback timeout is 90s). date_from / date_to range cannot exceed 31 days (AppsFlyer cohort API cap). Treat this as an explicit read refresh, never an onboarding side effect. Mirror of Meta MCP mmp_fetch_cohorts.
REQUIRED: connection_id (str — UUID), app_ref (str), date_from (str, YYYY-MM-DD), date_to (str, YYYY-MM-DD). DATE PARAMS: use date_from / date_to (NOT start_date / end_date), range ≤ 31 days. Optional: selected_source_refs (list[str] — override the config's source list for this fetch only). EXAMPLE: mmp_fetch_cohorts({"connection_id": "", "app_ref": "ai.hailuo.video", "date_from": "2026-04-12", "date_to": "2026-05-12"})
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_ref | Yes | ||
| date_to | Yes | ||
| date_from | Yes | ||
| connection_id | Yes | ||
| selected_source_refs | No |