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

# Update Online Ads

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

Endpoint to update a specific `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

- UpdateOnlineAds — Update `OnlineAd` JSON parameters.
  - `name` string — The name of the `OnlineAds`.
  - `description` string — The description `OnlineAds`.
  - `wallet_id` string — The `Wallet` ID associated to the `OnlineAds`.

## 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.net/soldo/apis/soldo-business-api-v2-0.md) · [All operations](https://skmtc.net/soldo/apis/soldo-business-api-v2-0/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/soldo/soldo-business-api-v2-0/revisions/7be21448a2b3/schema)
