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

# /2026-01/retail-media/campaigns/{campaignId}/auction-line-items

> Creates new auction line item with the specified settings



## OpenAPI

````yaml https://api.criteo.com/2026-01/retailmedia/open-api-specifications.json post /2026-01/retail-media/campaigns/{campaignId}/auction-line-items
openapi: 3.0.1
info:
  title: Criteo API
  description: Criteo API - RetailMedia
  version: 2026-01
servers:
  - url: https://api.criteo.com
security:
  - oauth: []
tags:
  - name: Accounts
  - name: Analytics
  - name: Audience
  - name: Balance
  - name: Billing
  - name: Campaign
  - name: Gateway
paths:
  /2026-01/retail-media/campaigns/{campaignId}/auction-line-items:
    post:
      tags:
        - Campaign
      summary: /2026-01/retail-media/campaigns/{campaignId}/auction-line-items
      description: Creates new auction line item with the specified settings
      operationId: CreateAuctionLineItem
      parameters:
        - name: campaignId
          in: path
          description: The given campaign id
          required: true
          schema:
            type: string
      requestBody:
        description: The line item settings to create a line item with
        content:
          application/json:
            schema:
              $ref: >-
                #/components/schemas/ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel
        required: true
      responses:
        '201':
          description: Success
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/EntityResourceOutcomeOfSponsoredProductsLineItem
      security:
        - oauth:
            - RetailMedia_Campaign_Manage
components:
  schemas:
    ValueResourceInputOfSponsoredProductsLineItemCreateRequestModel:
      type: object
      properties:
        data:
          $ref: >-
            #/components/schemas/ValueResourceOfSponsoredProductsLineItemCreateRequestModel
      additionalProperties: false
      description: >-
        A top-level object that encapsulates a Criteo API request for a single
        value object.
    EntityResourceOutcomeOfSponsoredProductsLineItem:
      type: object
      properties:
        data:
          $ref: '#/components/schemas/EntityResourceOfSponsoredProductsLineItem'
        errors:
          type: array
          items:
            $ref: '#/components/schemas/SdkApiRestCommonProblem'
          description: Errors that occured during this call.
          nullable: true
          readOnly: true
        warnings:
          type: array
          items:
            $ref: '#/components/schemas/SdkApiRestCommonProblem'
          description: Warnings that occured during this call.
          nullable: true
          readOnly: true
      additionalProperties: false
      description: >-
        A top-level object that encapsulates a Criteo API response for a single
        entity.
    ValueResourceOfSponsoredProductsLineItemCreateRequestModel:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/SponsoredProductsLineItemCreateRequestModel'
        type:
          type: string
          description: Type of the resource.
          nullable: true
      additionalProperties: false
      description: A value resource exposed by the API.
    EntityResourceOfSponsoredProductsLineItem:
      type: object
      properties:
        attributes:
          $ref: '#/components/schemas/SponsoredProductsLineItem'
        id:
          type: string
          description: Unique id of the entity.
          nullable: true
        type:
          type: string
          description: Type of the resource.
          nullable: true
      additionalProperties: false
      description: A domain entity exposed by the API, identified by a unique id.
      nullable: true
    SdkApiRestCommonProblem:
      type: object
      properties:
        code:
          type: string
          description: A machine-readable error code, expressed as a string value.
          nullable: true
        detail:
          type: string
          description: >-
            A human-readable explanation specific to this occurrence of the
            problem.
          nullable: true
        instance:
          type: string
          description: A URI that identifies the specific occurrence of the problem.
          nullable: true
        source:
          type: object
          additionalProperties:
            type: string
          description: >-
            A machine-readable structure to reference to the exact location(s)
            causing the error(s).
          nullable: true
        stackTrace:
          type: string
          description: ''
          nullable: true
        title:
          type: string
          description: A short human-readable description of the problem type.
          nullable: true
        traceId:
          type: string
          description: The request correlation ID this problem comes from.
          nullable: true
        type:
          enum:
            - unknown
            - access-control
            - authentication
            - authorization
            - availability
            - deprecation
            - quota
            - validation
          type: string
          description: The problem's category.
          nullable: true
      additionalProperties: false
      description: Common problem object.
    SponsoredProductsLineItemCreateRequestModel:
      required:
        - name
        - startDate
        - targetRetailerId
      type: object
      properties:
        bidStrategy:
          enum:
            - manual
            - automated
          type: string
          description: "The bidding strategy for this line item.\r\nDefault value is manual."
          default: manual
        budget:
          type: number
          description: The total budget allocated for this line item.
          format: double
          nullable: true
        dailyPacing:
          type: number
          description: The daily pacing limit for budget spending.
          format: double
          nullable: true
        endDate:
          type: string
          description: The date and time when the line item stops running.
          format: date-time
          nullable: true
        flightSchedule:
          $ref: '#/components/schemas/FlightSchedule'
        isAutoDailyPacing:
          type: boolean
          description: "Indicates whether automatic daily pacing is enabled.\r\nDefault value is false."
          default: false
        keywordStrategy:
          enum:
            - conquesting
            - genericAndBranded
            - genericBrandedAndConquesting
          type: string
          description: The keyword targeting strategy for this line item.
          nullable: true
        maxBid:
          type: number
          description: The maximum bid amount allowed for this line item.
          format: double
          nullable: true
        monthlyPacing:
          type: number
          description: The monthly pacing limit for budget spending.
          format: double
          nullable: true
        name:
          maxLength: 255
          minLength: 0
          type: string
          description: The name of the line item.
        optimizationStrategy:
          enum:
            - conversion
            - clicks
            - revenue
          type: string
          description: "The optimization strategy to use for this line item.\r\nDefault value is Conversion."
          default: conversion
        startDate:
          type: string
          description: The date and time when the line item starts running.
          format: date-time
        targetBid:
          type: number
          description: The target bid amount for the line item.
          format: double
          nullable: true
        targetRetailerId:
          type: string
          description: The ID of the retailer to target for this line item.
          format: long-id
      additionalProperties: false
      description: Model to create a retail media auction line item
    SponsoredProductsLineItem:
      required:
        - budgetRemaining
        - campaignId
        - createdAt
        - name
        - startDate
        - targetRetailerId
        - updatedAt
      type: object
      properties:
        bidStrategy:
          enum:
            - manual
            - automated
            - unknown
          type: string
          description: Bid strategy for the line item.
          nullable: true
        budget:
          type: number
          description: The total budget allocated for this line item.
          format: double
          nullable: true
        budgetRemaining:
          type: number
          description: The amount of the budget that remains available.
          format: double
          nullable: true
        budgetSpent:
          type: number
          description: The amount of the budget that has been spent so far.
          format: double
          nullable: true
        campaignId:
          type: string
          description: The ID of the campaign this line item belongs to.
          format: long-id
        createdAt:
          type: string
          description: The date and time when the line item was created.
          format: date-time
        dailyPacing:
          type: number
          description: The daily pacing limit for budget spending.
          format: double
          nullable: true
        endDate:
          type: string
          description: The date and time when the line item stops running.
          format: date-time
          nullable: true
        flightSchedule:
          $ref: '#/components/schemas/FlightSchedule'
        isAutoDailyPacing:
          type: boolean
          description: Indicates whether automatic daily pacing is enabled.
          nullable: true
        keywordStrategy:
          enum:
            - unknown
            - conquesting
            - genericAndBranded
            - genericBrandedAndConquesting
          type: string
          description: The keyword targeting strategy for this line item.
          nullable: true
        maxBid:
          type: number
          description: The maximum bid amount allowed for this line item.
          format: double
          nullable: true
        monthlyPacing:
          type: number
          description: The monthly pacing limit for budget spending.
          format: double
          nullable: true
        name:
          maxLength: 255
          minLength: 0
          type: string
          description: The name of the line item.
        optimizationStrategy:
          enum:
            - conversion
            - clicks
            - revenue
            - unknown
          type: string
          description: The optimization strategy for this line item.
          nullable: true
        startDate:
          type: string
          description: The date and time when the line item starts running.
          format: date-time
        status:
          enum:
            - unknown
            - active
            - scheduled
            - draft
            - paused
            - budgetHit
            - ended
            - archived
            - noFunds
          type: string
          description: The current status of the line item.
          nullable: true
        targetBid:
          type: number
          description: The target bid amount for the line item.
          format: double
          nullable: true
        targetRetailerId:
          type: string
          description: The ID of the retailer targeted by this line item.
          format: long-id
        updatedAt:
          type: string
          description: The date and time when the line item was last updated.
          format: date-time
      additionalProperties: false
      description: Model of a retail media auction line item.
      nullable: true
    FlightSchedule:
      type: object
      properties:
        legs:
          type: array
          items:
            $ref: '#/components/schemas/FlightLeg'
          description: A list of flight legs on which the line item will run.
          nullable: true
      additionalProperties: false
      description: A flight schedule for a line item.
      nullable: true
    FlightLeg:
      required:
        - dayOfWeek
        - endTime
        - startTime
      type: object
      properties:
        dayOfWeek:
          enum:
            - sunday
            - monday
            - tuesday
            - wednesday
            - thursday
            - friday
            - saturday
            - everyday
            - weekdays
            - weekends
          type: string
          description: Enum for the days of the week.
        endTime:
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]$
          type: string
          description: Wall-clock time of day in HH:mm, 24-hour. No timezone.
        startTime:
          pattern: ^([01][0-9]|2[0-3]):[0-5][0-9]$
          type: string
          description: Wall-clock time of day in HH:mm, 24-hour. No timezone.
      additionalProperties: false
      description: >-
        A leg of a flight schedule outlining which days and times the line item
        will run.
  securitySchemes:
    oauth:
      type: oauth2
      flows:
        clientCredentials:
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes: {}
        authorizationCode:
          authorizationUrl: https://api.criteo.com/oauth2
          tokenUrl: https://api.criteo.com/oauth2/token
          scopes: {}

````