AdnovaDocs
Ad Launcher

Preview a launched ad

Returns a shareable Meta preview link for a launched ad. The adId is the Meta ad id surfaced by Get launch on each ad's launchedAdDetails[].adId. The link is generated live from Meta at request time, so it always reflects the ad's current state.

GET
/meta/ad-accounts/{adAccountId}/ads/{adId}/preview

Authentication

authentication
api-key<token>

Create an API key from the Adnova dashboard (Account integrations). Pass the key value in the api-key request header on every call.

In: header

Path Parameters

adAccountId*string

Adnova internal ad-account id the ad was launched under.

Length1 <= length
adId*string

Meta ad id (from Get launch → ads[].launchedAdDetails[].adId).

Length1 <= length

Header Parameters

x-workspace-id*string

Workspace the request operates in. Get it from List workspaces.

Length1 <= length
x-org-id*string

Organization context (required on every endpoint). For lookup endpoints the org is derived from the ad account in the URL, so any org id you have access to is accepted.

Length1 <= length

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://api.adnova.ai/ad-launcher/v1/meta/ad-accounts/string/ads/string/preview" \  -H "x-workspace-id: string" \  -H "x-org-id: string"
{
  "previewUrl": "https://www.facebook.com/ads/api/preview_iframe.php?d=AQL...&t=AQ"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}