> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# AttributionPerformance

> Store revenue compared with Redo-attributed revenue for a date range, with optional view-only attribution controls.

**Required scopes:** [`campaigns_analytics_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-campaigns_analytics_read), [`marketing_automations_analytics_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-marketing_automations_analytics_read)

**applied** `[AttributionSettings!](/docs/api-reference/v3/reference/marketing/attribution-settings)` *required*

The effective attribution settings used for `attributed` and `rows`.

**fields**

**defaultModel** `[AttributionModel!](/docs/api-reference/v3/reference/marketing/attribution-model)` *required*

The model reports load first. Reports include every model either way.

**evidence** `[\[AttributionEvidenceSetting!\]!](/docs/api-reference/v3/reference/marketing/attribution-evidence-setting)` *required*

Every kind of evidence, switched on or off.

**fields**

**enabled** `Boolean!` *required*

Whether this kind of evidence is enough for a message to earn credit.

**type** `[AttributionEvidenceType!](/docs/api-reference/v3/reference/marketing/attribution-evidence-type)` *required*

The kind of evidence.

**window** `[AttributionWindow!](/docs/api-reference/v3/reference/marketing/attribution-window)` *required*

How far back from an order this evidence counts. Fixed for `CODE_REDEEMED` and `MEANINGFUL_CONVERSATION`.

**attributed** `[AttributionPerformanceAttributedTotals!](/docs/api-reference/v3/reference/marketing/attribution-performance-attributed-totals)` *required*

Total revenue and orders credited to Redo under the applied controls.

**fields**

**orders** `Float!` *required*

Attributed orders. Fractional when `LINEAR` splits credit across multiple messages.

**revenue** `[Money!](/docs/api-reference/v3/reference/common/money)` *required*

Attributed revenue in the store's currency.

**fields**

**amount** `[Decimal!](/docs/api-reference/v3/reference/common/decimal)` *required*

The exact amount as a decimal string (e.g. "19.99").

**currency** `String!` *required*

ISO 4217 currency code (e.g. USD).

**defaultAttributed** `[AttributionPerformanceAttributedTotals](/docs/api-reference/v3/reference/marketing/attribution-performance-attributed-totals)`

Total revenue and orders under the store's saved settings, for comparing against `attributed`. Null when the applied controls match the saved settings.

**fields**

**orders** `Float!` *required*

Attributed orders. Fractional when `LINEAR` splits credit across multiple messages.

**revenue** `[Money!](/docs/api-reference/v3/reference/common/money)` *required*

Attributed revenue in the store's currency.

**fields**

**amount** `[Decimal!](/docs/api-reference/v3/reference/common/decimal)` *required*

The exact amount as a decimal string (e.g. "19.99").

**currency** `String!` *required*

ISO 4217 currency code (e.g. USD).

**defaultRows** `[\[AttributionPerformanceRow!\]](/docs/api-reference/v3/reference/marketing/attribution-performance-row)`

Breakdown under the store's saved settings, for comparing against `rows`. Null when the applied controls match the saved settings.

**fields**

**audience** `[AttributionPerformanceAudience!](/docs/api-reference/v3/reference/marketing/attribution-performance-audience)` *required*

Whether the message reached subscribers or non-subscribers.

**author** `[AttributionPerformanceAuthor!](/docs/api-reference/v3/reference/marketing/attribution-performance-author)` *required*

Who authored the credited message.

**channel** `[AttributionPerformanceChannel!](/docs/api-reference/v3/reference/marketing/attribution-performance-channel)` *required*

The channel the credited message was sent over.

**orders** `Float!` *required*

Attributed orders for this slice. Fractional when `LINEAR` splits credit across multiple messages.

**revenue** `[Money!](/docs/api-reference/v3/reference/common/money)` *required*

Attributed revenue for this slice in the store's currency.

**fields**

**amount** `[Decimal!](/docs/api-reference/v3/reference/common/decimal)` *required*

The exact amount as a decimal string (e.g. "19.99").

**currency** `String!` *required*

ISO 4217 currency code (e.g. USD).

**saleKind** `[AttributionPerformanceSaleKind!](/docs/api-reference/v3/reference/marketing/attribution-performance-sale-kind)` *required*

Whether the revenue came from a new order, exchange, or edit.

**type** `[AttributionPerformanceType!](/docs/api-reference/v3/reference/marketing/attribution-performance-type)` *required*

Whether the credited message was a campaign or automation.

**includeBotClicks** `Boolean!` *required*

Whether clicks judged to be from bots counted toward `attributed` and `rows`.

**rows** `[\[AttributionPerformanceRow!\]!](/docs/api-reference/v3/reference/marketing/attribution-performance-row)` *required*

Attributed revenue and orders broken down by type, channel, author, audience, and sale kind.

**fields**

**audience** `[AttributionPerformanceAudience!](/docs/api-reference/v3/reference/marketing/attribution-performance-audience)` *required*

Whether the message reached subscribers or non-subscribers.

**author** `[AttributionPerformanceAuthor!](/docs/api-reference/v3/reference/marketing/attribution-performance-author)` *required*

Who authored the credited message.

**channel** `[AttributionPerformanceChannel!](/docs/api-reference/v3/reference/marketing/attribution-performance-channel)` *required*

The channel the credited message was sent over.

**orders** `Float!` *required*

Attributed orders for this slice. Fractional when `LINEAR` splits credit across multiple messages.

**revenue** `[Money!](/docs/api-reference/v3/reference/common/money)` *required*

Attributed revenue for this slice in the store's currency.

**fields**

**amount** `[Decimal!](/docs/api-reference/v3/reference/common/decimal)` *required*

The exact amount as a decimal string (e.g. "19.99").

**currency** `String!` *required*

ISO 4217 currency code (e.g. USD).

**saleKind** `[AttributionPerformanceSaleKind!](/docs/api-reference/v3/reference/marketing/attribution-performance-sale-kind)` *required*

Whether the revenue came from a new order, exchange, or edit.

**type** `[AttributionPerformanceType!](/docs/api-reference/v3/reference/marketing/attribution-performance-type)` *required*

Whether the credited message was a campaign or automation.

**saved** `[AttributionSettings!](/docs/api-reference/v3/reference/marketing/attribution-settings)` *required*

The store's saved attribution settings, which `controls` start from.

**fields**

**defaultModel** `[AttributionModel!](/docs/api-reference/v3/reference/marketing/attribution-model)` *required*

The model reports load first. Reports include every model either way.

**evidence** `[\[AttributionEvidenceSetting!\]!](/docs/api-reference/v3/reference/marketing/attribution-evidence-setting)` *required*

Every kind of evidence, switched on or off.

**fields**

**enabled** `Boolean!` *required*

Whether this kind of evidence is enough for a message to earn credit.

**type** `[AttributionEvidenceType!](/docs/api-reference/v3/reference/marketing/attribution-evidence-type)` *required*

The kind of evidence.

**window** `[AttributionWindow!](/docs/api-reference/v3/reference/marketing/attribution-window)` *required*

How far back from an order this evidence counts. Fixed for `CODE_REDEEMED` and `MEANINGFUL_CONVERSATION`.

**savedIncludeBotClicks** `Boolean!` *required*

Whether the store's saved settings count clicks judged to be from bots.

**store** `[AttributionPerformanceStoreTotals!](/docs/api-reference/v3/reference/marketing/attribution-performance-store-totals)` *required*

Every order in the store over the date range, attributed or not.

**fields**

**orders** `Int!` *required*

Total store orders placed in the period.

**revenue** `[Money!](/docs/api-reference/v3/reference/common/money)` *required*

Total store revenue in the store's currency.

**fields**

**amount** `[Decimal!](/docs/api-reference/v3/reference/common/decimal)` *required*

The exact amount as a decimal string (e.g. "19.99").

**currency** `String!` *required*

ISO 4217 currency code (e.g. USD).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.