---
title: "/2026-01/marketing-solutions/ad-sets/{ad-set-id}/audience"
method: PUT
path: "/2026-01/marketing-solutions/ad-sets/{ad-set-id}/audience"
tags: ["Campaign"]
---

# /2026-01/marketing-solutions/ad-sets/{ad-set-id}/audience

`PUT /2026-01/marketing-solutions/ad-sets/{ad-set-id}/audience`

## Request

- Base URL: `https://api.criteo.com`
- URL: `https://api.criteo.com/2026-01/marketing-solutions/ad-sets/{ad-set-id}/audience`
- Auth: OAuth 2
  - Authorization code: `https://api.criteo.com/oauth2`
  - Client credentials
  - Token URL: `https://api.criteo.com/oauth2/token` scopes: `MarketingSolutions_Campaign_Manage`
- TypeScript: <https://skmtc.dev/criteo/apis/criteo-api/docs/2026-01/marketing-solutions/ad-sets/:ad-set-id/audience/put.ts> (a function with typed inputs; its response is checked against the schema)

Link or unlink an audience with an ad set

## Path parameters

- `ad-set-id` string, required

## Request body

- AdSetAudienceLinkInputEntityV1: Input to set audience ad set link.
  - `data` AdSetAudienceLinkEntityV1Resource, nullable: A class that represents a domain entity exposed by an API
    - `attributes` AdSetAudienceLinkEntityV1, nullable: Link Audience with an ad set
      - `audienceId` string, nullable
    - `id` string, nullable: Id of the entity
    - `type` string, nullable

## Response `200`

Success

- AdSetAudienceLinkEntityV1Response: A top-level object that encapsulates a Criteo API response for a single entity
  - `data` AdSetAudienceLinkEntityV1Resource, nullable: A class that represents a domain entity exposed by an API
    - `attributes` AdSetAudienceLinkEntityV1, nullable: Link Audience with an ad set
      - `audienceId` string, nullable
    - `id` string, nullable: Id of the entity
    - `type` string, nullable
  - `errors` CommonProblem[], 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
    - `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[], 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
    - `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)
