---
title: "/2026-01/retail-media/line-items/{id}/keywords/set-bid"
method: POST
path: "/2026-01/retail-media/line-items/{id}/keywords/set-bid"
tags: ["Campaign"]
---

# /2026-01/retail-media/line-items/{id}/keywords/set-bid

`POST /2026-01/retail-media/line-items/{id}/keywords/set-bid`

## Request

- Base URL: `https://api.criteo.com`
- URL: `https://api.criteo.com/2026-01/retail-media/line-items/{id}/keywords/set-bid`
- Auth: OAuth 2
  - Authorization code: `https://api.criteo.com/oauth2`
  - Client credentials
  - Token URL: `https://api.criteo.com/oauth2/token` scopes: `RetailMedia_Campaign_Manage`
- TypeScript: <https://skmtc.dev/criteo/apis/criteo-api/docs/2026-01/retail-media/line-items/:id/keywords/set-bid/post.ts> (a function with typed inputs; its response is checked against the schema)

Set bid overrides for associated keywords to the given line item in bulk

## Path parameters

- `id` string, required

## Request body

- SetBidsModelRequest: Request object to set bid overrides for keywords associated with a line item
  - `data` SetBidsModelResource: Resource object containing keywords and their associated bid overrides
    - `attributes` SetBidsModel: Data model containing keywords and their associated bid overrides
      - `keywords` SetBidModel[], nullable
        - `bid` number, double, nullable
        - `phrase` string, nullable
    - `id` string, nullable
    - `type` string, nullable

## Response `200`

Success

- ResourceOutcome: Outcome object containing errors and warnings.
  - `errors` RmcaCommonProblem[], nullable
    - `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
    - `status` integer, nullable: The problem's HTTP Status code.
    - `title` string, nullable: A short human-readable description of the problem type
    - `traceId` string, nullable: The request correlation ID this problem comes from.
    - `type` 'unknown' | 'access-control' | 'authentication' | 'authorization' | 'availability' | 'deprecation' | 'quota' | 'validation', nullable: The problem's category.
  - `warnings` RmcaCommonProblem[], nullable
    - `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
    - `status` integer, nullable: The problem's HTTP Status code.
    - `title` string, nullable: A short human-readable description of the problem type
    - `traceId` string, nullable: The request correlation ID this problem comes from.
    - `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)
