---
title: "Preview Ad"
method: POST
path: "/api/v1/openai-ads/ads/{ad_id}/preview"
tags: ["openaiAds"]
---

# Preview Ad

`POST /api/v1/openai-ads/ads/{ad_id}/preview`

## Request

- Base URL: `https://api.brandbooster.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.brandbooster.ai/api/v1/openai-ads/ads/{ad_id}/preview`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `ad_id` string, required

## Query parameters

- `account_id` string, nullable

## Response `200`

Successful Response

- OpenAIAdsResponseDTOPreviewDTO
  - `code` integer
  - `message` string
  - `data` PreviewDTO, required
    - `image_url` string, nullable
    - `preview_html` string, nullable
    - `preview_url` string, nullable
    - `expires_at` string, required
  - `error_code` string, nullable

## Other responses

- `422`: Validation Error

## Changes

> 35 revisions in range; 1 not diffed.

- **2026-10-22** `23eb62d854e6`: 1 info
  - added the optional property `data/image_url` to the response with the `200` status
- **2026-10-13** `c7202552278d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/brandbooster/apis/fastapi/changes/api/v1/openai-ads/ads/:ad_id/preview/post.md)

---

[API](https://skmtc.dev/brandbooster/apis/fastapi.md) - [All operations](https://skmtc.dev/brandbooster/apis/fastapi/llms.txt) - [OpenAPI document](https://skmtc.dev/brandbooster/apis/fastapi/revisions/8e8c18c2dc35?raw)
