Skip to main content
GET
Export cost per earned conversion by channel

Authorizations

Authorization
string
header
required

Workspace read key whose stored grant explicitly names the operation. Existing grants are not expanded.

Path Parameters

workspace
integer
required

The workspace ID

Query Parameters

account_id
integer

Optional advertising account selector, restricted to the workspace and key binding. An account outside either returns 404.

Required range: x >= 1
from
string<date-time> | null

Inclusive conversion time; defaults to 30 days before to. Retention applies.

to
string<date-time> | null

Inclusive conversion time; defaults to now.

model
enum<string>
default:position_based

Journey credit model.

Available options:
position_based,
first,
last,
linear
lookback
enum<integer>
default:90

Maximum touch age before conversion, in days.

Available options:
7,
30,
60,
90
level
enum<string>
default:platform

Channel dimension.

Available options:
platform,
campaign_id,
ad_set_id,
ad_id,
utm_source,
utm_medium,
utm_campaign
conversion_kind
enum<string>
default:subscribed

Conversion stage to count.

Available options:
subscribed,
purchase,
trial_started

Response

The same public read as the MCP tool, including basis_note.

coverage
object
required

The same coverage block as MCP: YYYY-MM-DD dates in timezone for Meta and UTC for counted/revenue starts, nulls with reasons, a maximum of 31 unread dates with their full count, and a separate seven-complete-day untagged-spend window; the block names its account and the other read accounts it does not cover, and revenue starts use stored webhook and active connection records clamped to retention; null basis points mean unknown.

basis_note
string
required

Explains the different counting bases; returned verbatim from the MCP read.

range_used
object
required
model
string
required
lookback
integer
required
level
string
required
conversion_kind
string
required
conversion_date_basis
string
required
spend_date_basis
string
required
date_alignment
string
required
channels
object[]
required
totals
object
required
spend
object
required
meta_claims
object
required