---
title: "GET /v1/campaigns/{campaign_id}/line_items/{id}"
method: GET
path: "/v1/campaigns/{campaign_id}/line_items/{id}"
tags: ["Analytics"]
---

# GET /v1/campaigns/{campaign_id}/line_items/{id}

`GET /v1/campaigns/{campaign_id}/line_items/{id}`

Returns details for a single line item.

## Path parameters

- `campaign_id` string, required
- `id` string, required

## Response `200`

Successful Response

- object — Successful Response
  - `data` object
    - `id` string — Identifies a single line item.
    - `lineage` string
    - `campaign_id` string — Identifies a single campaign.
    - `property_id` unknown
    - `vendor_id` unknown
    - `name` string — The name of the line item.
    - `type` 'direct' | 'dsp'
    - `media_plan` string
    - `start_date` string — The first day impressions can be delivered for the line item.
    - `end_date` string — The last day impressions can be delivered for the line item.
    - `ad_sizes` string[] — An array of eligible creative dimensions.
    - `formats` string[] — An array of eligible creative formats (audio, display, interstitial, video).
    - `platforms` string[] — An array of eligible platforms (web browser, mobile, tablet).
    - `rate_type` string — Determines how cost is measured for the line item (CPM, CPC, flat, etc.).
    - `total_spend_contracted` number — The agreed on gross spend.
    - `amount_gain_loss_contracted` number — The agreed on gain or loss, gross cost - media cost - ad serving cost.
    - `margin_pct_contracted` number — The agreed margin percentage.
    - `media_rate` number
    - `media_contracted_units` number — The agreed-on units (impressions, clicks, video plays, etc.) to be delivered.
    - `media_spend_contracted` number — The agreed-on amount to spend on media.
    - `ad_serving_rate_type` string — Determines how ad serving costs are is measured.
    - `ad_server` unknown
    - `ad_serving_cost` number
    - `ad_serving_rate` number
    - `ad_serving_estimated_clicks` number
    - `ad_serving_estimated_impressions` number
    - `ad_serving_spend_contracted` number
    - `kpi_id` unknown
    - `kpi_goal` number — The goal set for the Key Performance Indicator (KPI).
    - `advertising_channel` string — Identifies the advertising channel a Planning User associated to the line item.
  - `included` object
    - `media_plans` object[]
      - `id` string — Identifies a single media plan.
      - `name` string
      - `approval_version` number
      - `approved_at` string

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `404` — Campaign or line item not found

---

[API](https://skmtc.net/basis/apis/basis-platform-api.md) · [All operations](https://skmtc.net/basis/apis/basis-platform-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/basis/basis-platform-api/revisions/6e0eb87d51e6/schema)
