---
title: "Add Online Ads"
method: POST
path: "/business/v2/online-ads"
tags: ["Online Ads"]
---

# Add Online Ads

`POST /business/v2/online-ads`

Endpoint to add a new `OnlineAd`.

## 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

- CreateOnlineAds — Add `OnlineAd` JSON parameters.
  - `name` string, required — The name of the `OnlineAds`.
  - `description` string, required — The description of the `OnlineAds`.
  - `platform` 'GOOGLE' | 'TWITTER' | 'TABOOLA' | 'PINTEREST' | 'MICROSOFT' | 'FACEBOOK' | 'AMAZON' | 'APPLE' | 'TIKTOK' | 'LINKEDIN' | 'INSTAGRAM' | 'OTHER', required
  - `assignees` string[], required — List of `User` IDs to be assigned to the `OnlineAds` and its `Cards`.
  - `wallet_id` string, required — The `Wallet` ID associated to the `OnlineAds`.

## Response `200`

The result is an `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)
