---
title: "Preview one ad from a Meta specification"
method: POST
path: "/v1/workspaces/{workspaceId}/ads/meta/{accountId}/preview"
tags: ["Ads"]
---

# Preview one ad from a Meta specification

`POST /v1/workspaces/{workspaceId}/ads/meta/{accountId}/preview`

## Request

- Base URL: `https://api.maevesocial.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.maevesocial.com/v1/workspaces/{workspaceId}/ads/meta/{accountId}/preview`
- Auth: HTTP bearer

Render a preview of one ad from a Meta campaign specification in a feed or story format, using media that has finished uploading. Returns a Meta-hosted preview URL, never raw HTML. It creates nothing. The account must be a Meta account. Read-only.

## Path parameters

- `accountId` string, required
- `workspaceId` string, uuid, required

## Request body

- object
  - `specification` object, required: A Meta campaign specification in the shape ads.meta.drafts.save describes, whose media has finished uploading.
  - `adKey` string, required: The key of the ad inside the specification to preview.
  - `format` 'DESKTOP_FEED_STANDARD' | 'MOBILE_FEED_STANDARD' | 'FACEBOOK_STORY_MOBILE'

## Response `200`

Preview one ad from a Meta specification

- object
  - `data` object, required
    - `account` object, required
      - `id` string, required
      - `platform` 'meta' | 'tiktok' | 'linkedin' | 'google' | 'pinterest', required
      - `providerAccountId` string, required: The account ID the platform uses.
      - `name` string, nullable, required
      - `currency` string, nullable, required
      - `timezone` string, nullable, required: IANA timezone the platform reports this account in.
      - `isEnabled` boolean, required
      - `credentialStatus` 'active' | 'revoked', required
    - `money` object, required
      - `unit` 'micros', required
      - `microsPerCurrencyUnit` 1000000, required
      - `currency` string, nullable, required: ISO currency of the ad account.
    - `preview` object, required: format and the preview URL.
  - `meta` unknown, required

---

[API](https://skmtc.dev/maevesocial/apis/maeve-social-api.md) · [All operations](https://skmtc.dev/maevesocial/apis/maeve-social-api/llms.txt) · [OpenAPI document](https://skmtc.dev/maevesocial/apis/maeve-social-api/revisions/1b00fd7e4b15?raw)
