# triplewhale fields

> The 145 fields of the triplewhale connector: field ID, name, type and description.

Use the field ID in the `fields` parameter of a request to `https://connectors.windsor.ai/triplewhale`. This list comes from `GET https://connectors.windsor.ai/triplewhale/fields`; the same call returns it as JSON, with more detail.

## Account

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `account_id` | Account ID | `TEXT` | The Triple Whale shop domain (e.g. example.myshopify.com). |
| `account_name` | Account Name | `TEXT` | The Triple Whale shop domain, used as the account name. |

## Ads

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `ads_ad` | Ads Ad | `TEXT` | The name of the ad. |
| `ads_ad_id` | Ads Ad ID | `TEXT` | The unique identifier of the ad. |
| `ads_ad_type` | Ads Ad Type | `TEXT` | The type of the ad. |
| `ads_adset` | Ads Ad Set | `TEXT` | The name of the ad set. |
| `ads_adset_id` | Ads Ad Set ID | `TEXT` | The unique identifier of the ad set. |
| `ads_campaign` | Ads Campaign | `TEXT` | The name of the campaign. |
| `ads_campaign_id` | Ads Campaign ID | `TEXT` | The unique identifier of the campaign. |
| `ads_channel` | Ads Channel | `TEXT` | The marketing channel of the ad (e.g. facebook-ads). |
| `ads_clicks` | Ads Clicks | `NUMERIC` | The number of times the ad was clicked. |
| `ads_conversion_value` | Ads Conversion Value | `NUMERIC` | The total value of conversions attributed to the ad. |
| `ads_conversions` | Ads Conversions | `NUMERIC` | The number of conversions attributed to the ad. |
| `ads_cpc` | Ads CPC | `NUMERIC` | Cost per click: spend divided by clicks. |
| `ads_cpm` | Ads CPM | `NUMERIC` | Cost per mille: spend per thousand impressions. |
| `ads_creative_format` | Ads Creative Format | `TEXT` | The format of the creative (e.g. video, image). |
| `ads_creative_id` | Ads Creative ID | `TEXT` | The unique identifier of the creative. |
| `ads_ctr` | Ads CTR | `PERCENT` | Click-through rate: clicks divided by impressions. |
| `ads_impressions` | Ads Impressions | `NUMERIC` | The number of times the ad was shown. |
| `ads_reach` | Ads Reach | `NUMERIC` | The number of unique users who saw the ad. |
| `ads_roas` | Ads ROAS | `NUMERIC` | Return on ad spend: conversion value divided by spend. |
| `ads_spend` | Ads Spend | `NUMERIC` | The amount spent on the ad. |

## Attributed Orders

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `attributed_order_ad_id` | Attributed Order Ad ID | `TEXT` | The unique identifier of the attributed ad. |
| `attributed_order_adset_id` | Attributed Order Ad Set ID | `TEXT` | The unique identifier of the attributed ad set. |
| `attributed_order_attribution_model` | Attributed Order Attribution Model | `TEXT` | The attribution model applied to the order. |
| `attributed_order_campaign` | Attributed Order Campaign | `TEXT` | The name of the attributed campaign. |
| `attributed_order_campaign_id` | Attributed Order Campaign ID | `TEXT` | The unique identifier of the attributed campaign. |
| `attributed_order_channel` | Attributed Order Channel | `TEXT` | The attributed marketing channel of the order. |
| `attributed_order_customer_id` | Attributed Order Customer ID | `TEXT` | The unique identifier of the customer who placed the order. |
| `attributed_order_gross_sales` | Attributed Order Gross Sales | `NUMERIC` | Gross sales of the attributed order. |
| `attributed_order_id` | Attributed Order ID | `TEXT` | The unique identifier of the attributed order. |
| `attributed_order_is_new_customer` | Attributed Order Is New Customer | `BOOLEAN` | Whether the order was placed by a new customer. |
| `attributed_order_landing_page` | Attributed Order Landing Page | `TEXT` | The landing page associated with the order. |
| `attributed_order_linear_weight` | Attributed Order Linear Weight | `NUMERIC` | The linear attribution credit assigned to the touch. |
| `attributed_order_name` | Attributed Order Name | `TEXT` | The display name of the attributed order. |
| `attributed_order_revenue` | Attributed Order Revenue | `NUMERIC` | Revenue of the attributed order. |
| `attributed_order_source_name` | Attributed Order Source Name | `TEXT` | The attributed source of the order. |
| `attributed_order_utm_medium` | Attributed Order UTM Medium | `TEXT` | The UTM medium of the order. |
| `attributed_order_utm_source` | Attributed Order UTM Source | `TEXT` | The UTM source of the order. |

## Attribution

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `attribution_ad` | Attribution Ad | `TEXT` | The name of the ad. |
| `attribution_ad_id` | Attribution Ad ID | `TEXT` | The unique identifier of the ad. |
| `attribution_adset` | Attribution Ad Set | `TEXT` | The name of the ad set. |
| `attribution_adset_id` | Attribution Ad Set ID | `TEXT` | The unique identifier of the ad set. |
| `attribution_campaign` | Attribution Campaign | `TEXT` | The name of the campaign. |
| `attribution_campaign_id` | Attribution Campaign ID | `TEXT` | The unique identifier of the campaign. |
| `attribution_channel` | Attribution Channel | `TEXT` | The marketing channel of the attributed performance. |
| `attribution_clicks` | Attribution Clicks | `NUMERIC` | The number of clicks for the attributed ads. |
| `attribution_cost_of_goods` | Attribution Cost Of Goods | `NUMERIC` | Cost of goods for the attributed orders. |
| `attribution_creative_format` | Attribution Creative Format | `TEXT` | The format of the creative (e.g. video, image). |
| `attribution_creative_id` | Attribution Creative ID | `TEXT` | The unique identifier of the creative. |
| `attribution_ctr` | Attribution CTR | `PERCENT` | Click-through rate: clicks divided by impressions. |
| `attribution_gross_sales` | Attribution Gross Sales | `NUMERIC` | Gross sales attributed to the ads. |
| `attribution_impressions` | Attribution Impressions | `NUMERIC` | The number of impressions for the attributed ads. |
| `attribution_model` | Attribution Model | `TEXT` | The attribution model applied to the performance. |
| `attribution_new_customer_orders` | Attribution New Customer Orders | `NUMERIC` | Number of new customer orders attributed to the ads. |
| `attribution_new_customer_revenue` | Attribution New Customer Revenue | `NUMERIC` | New customer order revenue attributed to the ads. |
| `attribution_orders` | Attribution Orders | `NUMERIC` | Number of orders attributed to the ads. |
| `attribution_revenue` | Attribution Revenue | `NUMERIC` | Order revenue attributed to the ads. |
| `attribution_roas` | Attribution ROAS | `NUMERIC` | Attributed return on ad spend: revenue divided by spend. |
| `attribution_sessions` | Attribution Sessions | `NUMERIC` | Number of sessions attributed to the ads. |
| `attribution_spend` | Attribution Spend | `NUMERIC` | The amount spent on the attributed ads. |

## Blended Stats

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `blended_cost_of_goods` | Blended Cost Of Goods | `NUMERIC` | Cost of goods sold. |
| `blended_cpa` | Blended CPA | `NUMERIC` | Blended cost per acquisition: ad spend divided by orders with revenue over zero. |
| `blended_discounts` | Blended Discounts | `NUMERIC` | Total discounts applied to orders. |
| `blended_gross_product_sales` | Blended Gross Product Sales | `NUMERIC` | Gross product sales before adjustments. |
| `blended_handling_fees` | Blended Handling Fees | `NUMERIC` | Handling fees applied to orders. |
| `blended_mer` | Blended MER | `NUMERIC` | Marketing efficiency ratio: ad spend divided by order revenue (Triple Whale's inverse-of-ROAS definition). |
| `blended_ncpa` | Blended NCPA | `NUMERIC` | New customer cost per acquisition: ad spend divided by new customer orders. |
| `blended_net_margin` | Blended Net Margin | `PERCENT` | Net profit as a share of order revenue. |
| `blended_net_profit` | Blended Net Profit | `NUMERIC` | Order revenue minus refunds, ad spend and total costs. |
| `blended_new_customer_orders` | Blended New Customer Orders | `NUMERIC` | Number of orders placed by new customers. |
| `blended_new_customer_revenue` | Blended New Customer Revenue | `NUMERIC` | Order revenue from new customers. |
| `blended_new_customer_roas` | Blended New Customer ROAS | `NUMERIC` | New customer revenue divided by ad spend. |
| `blended_order_revenue` | Blended Order Revenue | `NUMERIC` | Revenue from orders after discounts, shipping, fees and taxes. |
| `blended_orders` | Blended Orders | `NUMERIC` | Total number of orders. |
| `blended_orders_over_zero` | Blended Orders Over Zero | `NUMERIC` | Number of orders with revenue greater than zero. |
| `blended_payment_gateway_costs` | Blended Payment Gateway Costs | `NUMERIC` | Costs charged by payment gateways. |
| `blended_poas` | Blended POAS | `NUMERIC` | Profit on ad spend: total sales minus total costs, divided by ad spend. |
| `blended_refunded_orders` | Blended Refunded Orders | `NUMERIC` | Number of orders that were refunded. |
| `blended_refunds` | Blended Refunds | `NUMERIC` | Total amount refunded. |
| `blended_roas` | Blended ROAS | `NUMERIC` | Blended return on ad spend: order revenue divided by ad spend. |
| `blended_sessions` | Blended Sessions | `NUMERIC` | Number of website sessions. |
| `blended_shipping_costs` | Blended Shipping Costs | `NUMERIC` | Costs incurred for shipping orders. |
| `blended_shipping_price` | Blended Shipping Price | `NUMERIC` | Shipping amount charged to customers. |
| `blended_spend` | Blended Ad Spend | `NUMERIC` | Channel ad spend across all marketing platforms. |
| `blended_taxes` | Blended Taxes | `NUMERIC` | Taxes on orders. |
| `blended_total_costs` | Blended Total Costs | `NUMERIC` | Sum of cost of goods, shipping, payment gateway, handling fees and taxes. |
| `blended_total_sales` | Blended Total Sales | `NUMERIC` | Order revenue minus refunds. |
| `date` | Date | `DATE` | The date of the record. |

## Customer Journey

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `journey_attribution_model` | Journey Attribution Model | `TEXT` | The attribution model applied to the touch. |
| `journey_campaign_id` | Journey Campaign ID | `TEXT` | The campaign associated with the touch. |
| `journey_customer_id` | Journey Customer ID | `TEXT` | The unique identifier of the customer. |
| `journey_device` | Journey Device | `TEXT` | The device used during the touch. |
| `journey_event_name` | Journey Event Name | `TEXT` | The name of the journey event. |
| `journey_event_time` | Journey Event Time | `TIMESTAMP` | The timestamp of the journey event. |
| `journey_event_type` | Journey Event Type | `TEXT` | The type of the journey event (e.g. checkout, page view). |
| `journey_order_id` | Journey Order ID | `TEXT` | The unique identifier of the order, when the touch is an order. |
| `journey_order_name` | Journey Order Name | `TEXT` | The display name of the order, when the touch is an order. |
| `journey_order_revenue` | Journey Order Revenue | `NUMERIC` | Order revenue associated with the touch, when an order. |
| `journey_source` | Journey Source | `TEXT` | The source of the journey touch. |
| `journey_subscription_id` | Journey Subscription ID | `TEXT` | The subscription associated with the touch, if any. |
| `journey_total_price` | Journey Total Price | `NUMERIC` | Total price associated with the touch, when an order. |
| `journey_url` | Journey URL | `TEXT` | The URL associated with the touch. |

## Customers

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `customer_country` | Customer Country | `COUNTRY` | The country of the customer. |
| `customer_created_at` | Customer Created At | `TIMESTAMP` | The timestamp when the customer was created. |
| `customer_id` | Customer ID | `TEXT` | The unique identifier of the customer. |
| `customer_last_order_id` | Customer Last Order ID | `TEXT` | The unique identifier of the customer's last order. |
| `customer_platform` | Customer Platform | `TEXT` | The platform the customer record originates from. |
| `customer_status` | Customer Status | `TEXT` | The marketing subscription status of the customer. |
| `customer_total_orders` | Customer Total Orders | `NUMERIC` | The lifetime number of orders placed by the customer. |
| `customer_total_spent` | Customer Total Spent | `NUMERIC` | The lifetime amount spent by the customer. |

## Orders

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `order_cost_of_goods` | Order Cost Of Goods | `NUMERIC` | Cost of goods sold for the order. |
| `order_customer_email` | Order Customer Email | `TEXT` | The email of the customer who placed the order. |
| `order_customer_id` | Order Customer ID | `TEXT` | The unique identifier of the customer who placed the order. |
| `order_discount_amount` | Order Discount Amount | `NUMERIC` | Total discount amount applied to the order. |
| `order_discount_code` | Order Discount Code | `TEXT` | The discount code applied to the order. |
| `order_gross_product_sales` | Order Gross Product Sales | `NUMERIC` | Gross product sales for the order before adjustments. |
| `order_id` | Order ID | `TEXT` | The unique identifier of the order. |
| `order_is_new_customer` | Order Is New Customer | `BOOLEAN` | Whether the order was placed by a new customer. |
| `order_is_subscription` | Order Is Subscription | `BOOLEAN` | Whether the order is a subscription order. |
| `order_name` | Order Name | `TEXT` | The display name of the order. |
| `order_net_revenue` | Order Net Revenue | `NUMERIC` | Net revenue for the order. |
| `order_refunded_amount` | Order Refunded Amount | `NUMERIC` | Amount refunded for the order. |
| `order_revenue` | Order Revenue | `NUMERIC` | Revenue for the order after adjustments. |
| `order_shipping_price` | Order Shipping Price | `NUMERIC` | Shipping amount charged for the order. |
| `order_source_name` | Order Source Name | `TEXT` | The attributed source of the order. |
| `order_taxes` | Order Taxes | `NUMERIC` | Taxes charged on the order. |

## Other

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `data_fetched_at` | Data fetched at | `TIMESTAMP` | UTC timestamp (second precision) of when the connector request that pulled the row started. Freshly pulled rows show this request's start time; cache hits keep the start time of the request that filled the cache. Selecting this field disables aggregation, so rows are returned individually (each kee… |
| `datasource` | Data Source | `TEXT` | The name of the Windsor connector returning the row |
| `day_of_month` | Day of month | `TEXT` | Day of the month |
| `month` | Month | `TEXT` | Number of the month |
| `now` | Now | `TIMESTAMP` | Current timestamp |
| `source` | Source | `TEXT` | The name of the Windsor connector returning the row |
| `today` | Today | `DATE` | Today's date |
| `week` | Week | `TEXT` | Week (Sun-Sat). |
| `week_day` | Day of week and day number | `TEXT` | Weekday number and name combined (Sun-Sat).Numbered from 0 Sunday to 6 Saturday. |
| `week_day_iso` | Day of week and day number, ISO | `TEXT` | Weekday number and name combined, ISO format (Mon-Sun).Numbered from 1 Monday to 7 |
| `week_iso` | Week ISO | `TEXT` | Week, ISO format (Mon-Sun). |
| `year` | Year | `TEXT` | Year |
| `year_month` | Yearmonth | `TEXT` | Year and month, e.g. 2024\|3 |
| `year_month_name` | Year month name | `TEXT` | Year and month with the month name written out, e.g. "Jan 2025". |
| `year_of_week` | Year of week | `TEXT` | The year that contains first day of the week (Sun-Sat). |
| `year_of_week_iso` | Year of week, ISO | `TEXT` | The year that contains first day of the ISO week (Mon-Sun). |
| `year_week` | Year week | `TEXT` | Year and week for US weeks (Sun-Sat), e.g. 2024\|15 |
| `year_week_iso` | Year week ISO | `TEXT` | Year and week for ISO weeks (Mon-Sun), e.g. 2024\|20 |
