Skip to main content
GET
Render previews of an existing ad

Request contract

  • Method and path: GET /apis/v1/ads/{adId}/preview
  • Availability: enabled
  • Request URL template: https://api.aisa.one/apis/v1/ads/{adId}/preview
  • adId: path; required
  • connectionId: query; required
  • formats: query; optional
Complete OpenAPI definition Effective request declaration (including authentication and referenced schemas):

Cost and request rules

No additional charge for this operation. Ad spend is billed separately by the ad platform to your connected ad account.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

adId
string
required

Query Parameters

connectionId
string
required

The ads connection (adc_...) the request runs on: one of yours, from GET /apis/v1/ads/connections. On a request with a JSON body it may be sent as a top-level body member instead.

Pattern: ^adc_[0-9A-Za-z]+$
formats
string

Comma-separated Meta ad_format values (max 10), one preview per format. Defaults to DESKTOP_FEED_STANDARD.

Response

Rendered previews

adId
string
previews
object[]
synced
boolean