---
title: "Add assignees to Online Ads"
method: PUT
path: "/business/v2/online-ads/{onlineAdId}/addAssignees"
tags: ["Online Ads"]
---

# Add assignees to Online Ads

`PUT /business/v2/online-ads/{onlineAdId}/addAssignees`

## Request

- Base URL: `https://api.soldo.com`
- URL: `https://api.soldo.com/business/v2/online-ads/{onlineAdId}/addAssignees`
- Auth: OAuth 2
  - Client credentials
  - Token URL: `https://api.soldo.com/oauth/authorize` scopes: `online_ads_write`

Endpoint to add assignees to an `OnlineAd`.

## Path parameters

- `onlineAdId` string, required: The `OnlineAd` ID.

## Headers

- `X-Soldo-Fingerprint` string, required: [Advanced authentication](ref:advanced-authentication): `SHA512SUM` of the fingerprint values listed in the fingerprint order for this endpoint.
- `X-Soldo-Fingerprint-Signature` string, required: [Advanced authentication](ref:advanced-authentication): Signature of the `X-Soldo-Fingerprint`.

## Request body

- AddAssignees: Add `Subscription` assignees JSON parameters.
  - `add_assignees` string[], required: List of new `User` IDs to add as assignees.

## Response `200`

The returned resource is a single `OnlineAd`.

- OnlineAds
  - `id` string: The `OnlineAds` ID.
  - `name` string: The name of the `OnlineAds`.
  - `description` string: A custom description of the `OnlineAds`.
  - `platform` 'GOOGLE' | 'TWITTER' | 'TABOOLA' | 'PINTEREST' | 'MICROSOFT' | 'FACEBOOK' | 'AMAZON' | 'APPLE' | 'TIKTOK' | 'LINKEDIN' | 'INSTAGRAM' | 'OTHER'
  - `assignees` string[]: List of `User` IDs currently assigned to the `OnlineAds` and its `Cards`.
  - `status` 'ACTIVE' | 'ASSIGNED' | 'CANCELLED'
  - `wallet_id` string: The `Wallet` ID the `OnlineAds` and its `Card` are linked to.
  - `last_spent_date` string: The date and time of the last `Transaction` made with the `Card`.
  - `last_spent` number: The amount of the last `Transaction` made with the `Card`.
  - `total_spent` number: The overall amount spent with the `Card`.
  - `card_id` string: The ID of the `Card` reserved for this `OnlineAds` (only available after the `OnlineAds` has been activated).
  - `creation_time` string: The date and time when the `OnlineAds` was created.
  - `last_update_time` string: The date and time when the `OnlineAds` was last updated.

## Other responses

- `400`: Your request has missing arguments or is malformed.

---

[API](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0.md) - [All operations](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/llms.txt) - [OpenAPI document](https://skmtc.dev/soldo/apis/soldo-business-api-v2-0/revisions/23fc5d07b367?raw)
