---
title: "/2026-01/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket"
method: GET
path: "/2026-01/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket"
tags: ["Campaign"]
---

# /2026-01/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket

`GET /2026-01/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket`

## Request

- Base URL: `https://api.criteo.com`
- URL: `https://api.criteo.com/2026-01/retail-media/preferred-line-items/{line-item-id}/targeting/add-to-basket`
- Auth: OAuth 2
  - Authorization code: `https://api.criteo.com/oauth2`
  - Client credentials
  - Token URL: `https://api.criteo.com/oauth2/token` scopes: `RetailMedia_Campaign_Read`

This endpoint gets the add to basket target on the specified line item.

## Path parameters

- `line-item-id` string, required

## Response `200`

Success

- AddToBasketTarget202110Response: Data model for a value type resource outcome
  - `data` ValueTypeResourceOfAddToBasketTarget202110: Data model for a value type resource
    - `attributes` AddToBasketTarget202110: Identifies add to basket targeting for a line item
      - `categoryIds` string[]: Category ids that add to basket should target
      - `productIds` string[]: Product ids that add to basket should target
      - `scope` 'unknown' | 'include' | 'exclude', required: Scope of the add to basket target
    - `type` string
  - `errors` CommonProblem[]
    - `code` string, nullable: A machine-readable error code, expressed as a string value.
    - `detail` string, nullable: A human-readable explanation specific to this occurrence of the problem
    - `instance` string, nullable: A URI that identifies the specific occurrence of the problem.
    - `source` object, nullable: A machine-readable structure to reference to the exact location(s) causing the error(s)
    - `stackTrace` string, nullable
    - `title` string, nullable: A short human-readable description of the problem type
    - `traceId` string, nullable: The request correlation ID this problem comes from.
    - `traceIdentifier` string, nullable: The request correlation ID this problem comes from. (deprecated, use traceId instead)
    - `type` 'unknown' | 'access-control' | 'authentication' | 'authorization' | 'availability' | 'deprecation' | 'quota' | 'validation', nullable: The problem's category.
  - `warnings` CommonProblem[]
    - `code` string, nullable: A machine-readable error code, expressed as a string value.
    - `detail` string, nullable: A human-readable explanation specific to this occurrence of the problem
    - `instance` string, nullable: A URI that identifies the specific occurrence of the problem.
    - `source` object, nullable: A machine-readable structure to reference to the exact location(s) causing the error(s)
    - `stackTrace` string, nullable
    - `title` string, nullable: A short human-readable description of the problem type
    - `traceId` string, nullable: The request correlation ID this problem comes from.
    - `traceIdentifier` string, nullable: The request correlation ID this problem comes from. (deprecated, use traceId instead)
    - `type` 'unknown' | 'access-control' | 'authentication' | 'authorization' | 'availability' | 'deprecation' | 'quota' | 'validation', nullable: The problem's category.

---

[API](https://skmtc.dev/criteo/apis/criteo-api.md) - [All operations](https://skmtc.dev/criteo/apis/criteo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/criteo/apis/criteo-api/revisions/c1721589426a?raw)
