# lazada fields

> The 61 fields of the lazada connector: field ID, name, type and description.

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

## AdCampaigns

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `campaign_end_date` | Campaign End Date | `DATE` | The end date of the campaign. |
| `campaign_id` | Campaign ID | `TEXT` | The unique identifier of the Sponsored Discovery campaign. |
| `campaign_name` | Campaign Name | `TEXT` | The name of the Sponsored Discovery campaign. |
| `campaign_start_date` | Campaign Start Date | `DATE` | The start date of the campaign. |
| `campaign_status` | Campaign Status | `TEXT` | The online status of the campaign (online, offline, deleted). |
| `clicks` | Clicks | `NUMERIC` | The number of ad clicks. |
| `cpc` | CPC | `NUMERIC` | Cost per click, spend divided by clicks. |
| `ctr` | CTR | `PERCENT` | Click-through rate, clicks divided by impressions. |
| `daily_budget` | Daily Budget | `NUMERIC` | The daily budget of the campaign. |
| `impressions` | Impressions | `NUMERIC` | The number of ad impressions. |
| `spend` | Spend | `NUMERIC` | The Sponsored Discovery ad spend. |

## AdProducts

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `ad_group_id` | Ad Group ID | `TEXT` | The unique identifier of the ad group. |
| `ad_group_name` | Ad Group Name | `TEXT` | The name of the ad group. |
| `ad_image_url` | Ad Product Image | `IMAGE_URL` | The image URL of the advertised product. |
| `ad_product_id` | Ad Product ID | `TEXT` | The item ID of the advertised product. |
| `ad_status` | Ad Status | `TEXT` | The online status of the ad group (online, offline, deleted). |
| `bid_price` | Bid Price | `NUMERIC` | The bid price set for the ad group. |
| `revenue` | Revenue | `NUMERIC` | The revenue attributed to the ads. |
| `roas` | ROAS | `PERCENT` | Return on ad spend, revenue divided by spend. |
| `units_sold` | Units Sold | `NUMERIC` | The number of units sold attributed to the ads. |

## Categories

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `category_id` | Category ID | `TEXT` | The unique identifier of the category. |
| `category_leaf` | Category Leaf | `BOOLEAN` | Whether the category is a leaf category. |
| `category_name` | Category Name | `TEXT` | The name of the category. |
| `category_path` | Category Path | `TEXT` | The full path of the category in the tree. |
| `parent_category_id` | Parent Category ID | `TEXT` | The identifier of the parent category. |

## General

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `account_id` | Account ID | `TEXT` | The seller ID of the connected Lazada account. |
| `account_name` | Account Name | `TEXT` | The name of the connected Lazada account. |
| `date` | Date | `DATE` | The date of the record. |

## Products

| Field ID | Name | Type | Description |
| --- | --- | --- | --- |
| `brand` | Brand | `TEXT` | The brand of the product. |
| `created_time` | Product Created Time | `TIMESTAMP` | The date and time the product was created. |
| `primary_category` | Primary Category | `TEXT` | The primary category ID of the product. |
| `product_available` | Product Available | `NUMERIC` | The available quantity of the SKU. |
| `product_id` | Product ID | `TEXT` | The unique identifier of the product. |
| `product_name` | Product Name | `TEXT` | The name of the product. |
| `product_price` | Product Price | `NUMERIC` | The price of the SKU. |
| `product_quantity` | Product Quantity | `NUMERIC` | The stock quantity of the SKU. |
| `product_special_price` | Product Special Price | `NUMERIC` | The special (discounted) price of the SKU. |
| `product_status` | Product Status | `TEXT` | The status of the product. |
| `seller_sku` | Seller SKU | `TEXT` | The seller-defined SKU code. |
| `shop_sku` | Shop SKU | `TEXT` | The Lazada shop SKU code. |
| `sku_id` | SKU ID | `TEXT` | The unique identifier of the SKU. |
| `sku_status` | SKU Status | `TEXT` | The status of the SKU. |
| `updated_time` | Product Updated Time | `TIMESTAMP` | The date and time the product was last updated. |

## 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 |
